Re: SOLVED: Daemon Programming

2005-01-13 Thread Shyamal Prasad
"Sergio" == Sergio Cuéllar Valdés <[EMAIL PROTECTED]> writes: Sergio> sprintf(message, "/usr/local/bin/say -s 4 -a \"%s\"", buffer); Note that this is a classic security problem since both message and buffer are exactly the same size (BUFSIZE == 1024). Use snprintf or otherwise validate t

Re: SOLVED: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Yep, thats a good point, that I havent realized. The security stuff is very very important. I have to change the code to be able to manage this problems. This is the next step. Thanks for your advice ;-) Sergio Cuellar Valdes On Fri, 14 Jan 2005 03:58:44 +, Steve Kemp <[EMAIL PROTECTED]> w

Re: SOLVED: Daemon Programming

2005-01-13 Thread Steve Kemp
On Thu, Jan 13, 2005 at 09:41:29PM -0600, Sergio Cu?llar Vald?s wrote: > Marc, thanks that was the problem !!! > > sprintf(message, "say -s 4 -a \"%s\"", buffer); < this was the big > big big mistake It certainly was. > I added the hole path to the instructions: > > sprintf(message, "/usr/lo

Re: SOLVED: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Marc, thanks that was the problem !!! sprintf(message, "say -s 4 -a \"%s\"", buffer); < this was the big big big mistake I added the hole path to the instructions: sprintf(message, "/usr/local/bin/say -s 4 -a \"%s\"", buffer); Thanks to all of you who helped me !! :-) Sincerely, Sergio Cuéll

Re: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Yes Marc !! I use the system() instruction !! But how can I avoid using this instruction ? In line 153 (http://rafb.net/paste/results/vkgCRD46.html) is where is use system(), Maybe if I use the complete path to that instruction can help. Thanks again for your help On Thu, 13 Jan 2005 21:44:39

Re: Daemon Programming

2005-01-13 Thread Sergio Cuéllar Valdés
Hans-Georg Bork: I have already tried the S99my_serverd change, but it doesnt work. J.A. Bezemer: I have tried the ./yourprog /dev/null 2>/dev/null and the program dies, I cant see with a ps ax Clare Jarvis: The program should listen to a port, and a client program will send a string, and this

Re: Output of dpkg-scanpackages as XML

2005-01-13 Thread William Ballard
On Thu, Jan 13, 2005 at 10:06:25PM +0100, Frank S. Thomas wrote: > Using Python's DOM is (as far as I can see) the easiest and robust way to > accomplish the task. It is working but slow if it processes a file with more > than 8000 package records. But this was never my goal, I only wanted to >

Re: Output of dpkg-scanpackages as XML

2005-01-13 Thread Frank S. Thomas
On Thursday 13 January 2005 20:42, William Ballard wrote: > On Thu, Jan 13, 2005 at 08:14:31PM +0100, Frank S. Thomas wrote: > > I could successfully convert sid's binary-i386/source package files into > > XML. However, because dctrl2xml builds up a dom tree of all packages in > > these files, this

Daemon Programming

2005-01-13 Thread Sergio Cuéllar
Hi, I hope you can help me. I have made a program that will be listening to a port. I want to start the program every time the machine boots, so I created the script to use in init.d and Ive also created the symlinks. The machine boots, and the programs starts. I use ps ax and I can see that the p

Re: Output of dpkg-scanpackages as XML

2005-01-13 Thread William Ballard
On Thu, Jan 13, 2005 at 08:14:31PM +0100, Frank S. Thomas wrote: > I could successfully convert sid's binary-i386/source package files into XML. > However, because dctrl2xml builds up a dom tree of all packages in these > files, this is horribly slow. There may also be some cases where dctrl2xml

Re: Output of dpkg-scanpackages as XML

2005-01-13 Thread Frank S. Thomas
On Thursday 06 January 2005 02:14, Sven Mueller wrote: > I would appreciate it if you could make your scripts available once they > are (nearly;-)) finished. Ok, I nearly finished it :) It is written in Python and is called "dctrl2xml". Binary and source packages are apt-getable from my private r

Re: new maintainership

2005-01-13 Thread Nico Golde
Hello Martin, * Martin Michlmayr <[EMAIL PROTECTED]> [2005-01-13 20:03]: > * Nico Golde <[EMAIL PROTECTED]> [2005-01-13 16:46]: > > if it is a german am, is it allowed to answer in german or is it > > necessary to answer in english because of a documentation of the > > maintainership? > > It alwa

Re: new maintainership

2005-01-13 Thread Frank Küster
Nico Golde <[EMAIL PROTECTED]> schrieb: > hi, > i hope i can begin my new maintainership in the next time. > i have one question before i start. > the questions of the application manager are in english. > > if it is a german am, is it allowed to answer in german or > is it necessary to answer in

Re: new maintainership

2005-01-13 Thread Martin Michlmayr
* Nico Golde <[EMAIL PROTECTED]> [2005-01-13 16:46]: > if it is a german am, is it allowed to answer in german or is it > necessary to answer in english because of a documentation of the > maintainership? It always has to be in English regardless of your AM. This is because not everyone involved

new maintainership

2005-01-13 Thread Nico Golde
hi, i hope i can begin my new maintainership in the next time. i have one question before i start. the questions of the application manager are in english. if it is a german am, is it allowed to answer in german or is it necessary to answer in english because of a documentation of the maintainersh

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Justin Pryzby
On Thu, Jan 13, 2005 at 11:08:57PM +0800, Cameron Patrick wrote: > Frank Küster wrote: > > > , > > | %% Any modified versions of this file must be renamed > > | %% with new filenames distinct from svninfo.cfg. > > ` > > > Furthermore, this sentense renders the package non-free. > > Accor

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Cameron Patrick
Frank Küster wrote: > , > | %% Any modified versions of this file must be renamed > | %% with new filenames distinct from svninfo.cfg. > ` > Furthermore, this sentense renders the package non-free. According to DFSG (4): 4. Integrity of The Author's Source Code [...]

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Frank Küster
Frank Küster <[EMAIL PROTECTED]> wrote: > , > | %% Any modified versions of this file must be renamed > | %% with new filenames distinct from svninfo.cfg. > ` [...] > Furthermore, this sentense renders the package non-free. Formally, this is not correct, as it seems - the LPPL 1.3 only

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Frank Küster
Frank Küster <[EMAIL PROTECTED]> schrieb: > Adrian von Bidder <[EMAIL PROTECTED]> schrieb: > >> On Tuesday 11 January 2005 16.26, you wrote: >>> [not subscribed to tetex-maint, so please cc: me if replying there.] >> >>> I created a quick package of Achim Brucker's svninfo latex Package. >>>

RFS2: leafpad - GTK+ based simple text editor

2005-01-13 Thread Carlos Liu
Hello, This is my second try for looking for a sponsor to check and upload leafpad, a GTK+ based simple text editor, one of the best rated application on GnomeFiles.org. It's quite simple and fast, just like Notepad in Windows. All files were put in http://chinese.alioth.debian.org/leafpad/ or ht

Re: rfc:ratpoison

2005-01-13 Thread Mike O'Connor
yeah, it sounds great to me. This dependency has now been completely removed. Its building fine without it. thanks, stew > > On Wed, Jan 12, 2005 at 12:45:52PM -0500, Mike O'Connor wrote: > > > * changed Build-depends from automaken to automake1.4 (Closes: > > > #289743) > [...] > > Isn't

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Frank Küster
Adrian von Bidder <[EMAIL PROTECTED]> wrote: > >> - you don't install any files in /usr/share/doc... > > dh_installdocs does. > > $ dpkg -S /usr/share/doc/latex-svninfo/README-0.1 > latex-svninfo: /usr/share/doc/latex-svninfo/README-0.1 Excuse me, I missed that call. But you should also install t

Re: Question about packaging documentation

2005-01-13 Thread Frank Küster
Magnus Therning <[EMAIL PROTECTED]> schrieb: > Frank Küster wrote: >> <[EMAIL PROTECTED]> schrieb: >> >>>So is there any documenation about building non binary packages from scratch? >> Just as any architecture-independent package. Why not have a look at >> one >> existing example (apt-cache --nam

Re: rfc:ratpoison

2005-01-13 Thread Adrian von Bidder
> On Wed, Jan 12, 2005 at 12:45:52PM -0500, Mike O'Connor wrote: > > * changed Build-depends from automaken to automake1.4 (Closes: > > #289743) [...] Isn't running automake at build time frowned upon anyway? I think the recommended way to do it is running automake at source package creation t

Re: RFC and RFS: latex-svninfo

2005-01-13 Thread Adrian von Bidder
On Wednesday 12 January 2005 11.25, Frank Küster wrote: > Adrian von Bidder <[EMAIL PROTECTED]> schrieb: > > On Tuesday 11 January 2005 16.26, you wrote: > >> [not subscribed to tetex-maint, so please cc: me if replying there.] > >> > >> I created a quick package of Achim Brucker's svninfo latex Pa