Script in /usr/lib/package-name

2004-04-06 Thread Tom Huckstep
I'm packaging polipo, the web proxy. To help with starting, stopping etc. I wrote a helper script "polipo-control" that I put in /usr/lib/polipo/. It is called by /etc/init.d/polipo. How can I make this script executable? Can I get dh_install or another debhelper script to do it somehow or shal

Re: How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
I provide to align the "Section" tag... but the bad behaviour persist : Gianluca Ciarcelluti > On Wed, Apr 07, 2004 at 12:26:57AM +0200, Gianluca Ciarcelluti wrote: > >> If coul'd help here is my control file: >> --- >> Sourc

Re: How to flag an upgrade?

2004-04-06 Thread Matt Zimmerman
On Wed, Apr 07, 2004 at 12:26:57AM +0200, Gianluca Ciarcelluti wrote: > If coul'd help here is my control file: > --- > Source: alga > Section: unknown > Priority: optional > Maintainer: Gianluca Ciarcelluti <[EMAIL PROTECTED]> >

Re: How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
If coul'd help here is my control file: --- Source: alga Section: unknown Priority: optional Maintainer: Gianluca Ciarcelluti <[EMAIL PROTECTED]> Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 Package: alga Architect

Re: How to flag an upgrade?

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 10:57:27PM +0200, Gianluca Ciarcelluti wrote: > I developed a package under debian. > When I try to install it trough "apt-get update && apt-get upgrade" it > continue to reinstall it instead of display the message > "Sorry, hexedit is already the newest version.". > > I w

Script in /usr/lib/package-name

2004-04-06 Thread Tom Huckstep
I'm packaging polipo, the web proxy. To help with starting, stopping etc. I wrote a helper script "polipo-control" that I put in /usr/lib/polipo/. It is called by /etc/init.d/polipo. How can I make this script executable? Can I get dh_install or another debhelper script to do it somehow or shal

Re: How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
I provide to align the "Section" tag... but the bad behaviour persist : Gianluca Ciarcelluti > On Wed, Apr 07, 2004 at 12:26:57AM +0200, Gianluca Ciarcelluti wrote: > >> If coul'd help here is my control file: >> --- >> Sourc

Re: package adding users

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 03:45:46PM +0200, Francesco P. Lovergine wrote: > On Tue, Apr 06, 2004 at 09:18:20AM -0400, Erik Bourget wrote: > > What's the best/accepted way to have a package add users to a Debian system? > > I have a daemon that has no need to run as root (but a need to store its own

How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
Hi there! I developed a package under debian. When I try to install it trough "apt-get update && apt-get upgrade" it continue to reinstall it instead of display the message "Sorry, hexedit is already the newest version.". I whoud pleasent who can help me to undertand the right way to do it... tha

Re: How to flag an upgrade?

2004-04-06 Thread Matt Zimmerman
On Wed, Apr 07, 2004 at 12:26:57AM +0200, Gianluca Ciarcelluti wrote: > If coul'd help here is my control file: > --- > Source: alga > Section: unknown > Priority: optional > Maintainer: Gianluca Ciarcelluti <[EMAIL PROTECTED]> >

Re: How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
If coul'd help here is my control file: --- Source: alga Section: unknown Priority: optional Maintainer: Gianluca Ciarcelluti <[EMAIL PROTECTED]> Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 Package: alga Architect

Re: How to flag an upgrade?

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 10:57:27PM +0200, Gianluca Ciarcelluti wrote: > I developed a package under debian. > When I try to install it trough "apt-get update && apt-get upgrade" it > continue to reinstall it instead of display the message > "Sorry, hexedit is already the newest version.". > > I w

Re: package adding users

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 03:45:46PM +0200, Francesco P. Lovergine wrote: > On Tue, Apr 06, 2004 at 09:18:20AM -0400, Erik Bourget wrote: > > What's the best/accepted way to have a package add users to a Debian system? > > I have a daemon that has no need to run as root (but a need to store its own

How to flag an upgrade?

2004-04-06 Thread Gianluca Ciarcelluti
Hi there! I developed a package under debian. When I try to install it trough "apt-get update && apt-get upgrade" it continue to reinstall it instead of display the message "Sorry, hexedit is already the newest version.". I whoud pleasent who can help me to undertand the right way to do it... tha

Re: Separating packages.

2004-04-06 Thread Arvind Autar
On Tue, 2004-04-06 at 07:42, Matt Zimmerman wrote: > On Mon, Apr 05, 2004 at 09:24:10AM +, n.v.t n.v.t wrote: > > > Hello all. > > > > I have simple question which I could not find in the debian policy, maybe > > someone could point me out to that section or the right documentation? Or a >

Re: Separating packages.

2004-04-06 Thread Arvind Autar
On Tue, 2004-04-06 at 07:42, Matt Zimmerman wrote: > On Mon, Apr 05, 2004 at 09:24:10AM +, n.v.t n.v.t wrote: > > > Hello all. > > > > I have simple question which I could not find in the debian policy, maybe > > someone could point me out to that section or the right documentation? Or a >

Re: Separating packages.

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 11:29:54AM +0300, Fabian Fagerholm wrote: > Of course, with the current version of dpkg, your point is very good and > entirely valid. > > Thinking ahead, wouldn't it be a good idea to fix dpkg and the package > list to support a larger number of packages? The problem wit

Re: Separating packages.

2004-04-06 Thread Jeroen van Wolffelaar
On Tue, Apr 06, 2004 at 08:18:55AM -0400, Erik Bourget wrote: > Fabian Fagerholm <[EMAIL PROTECTED]> writes: > > > > > Thanks! (to you and everyone who pitched in). d-m is really friendly. Because Fabian wrote: > This is perhaps the most difficult thing to understand about Debian > packaging.

Re: package adding users

2004-04-06 Thread Andreas Metzler
On 2004-04-06 Erik Bourget <[EMAIL PROTECTED]> wrote: > What's the best/accepted way to have a package add users to a Debian > system? Policy 9.2. | Packages which need a user or group, but can have this user or | group allocated dynamically and differently on each system, should | use adduser --s

Re: package adding users

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 16:18, Erik Bourget wrote: > What's the best/accepted way to have a package add users to a Debian system? > I have a daemon that has no need to run as root (but a need to store its own > datafiles, etc, so nobody is out) and would like to have it run under a user > account. G

Re: Separating packages.

2004-04-06 Thread Matt Zimmerman
On Tue, Apr 06, 2004 at 11:29:54AM +0300, Fabian Fagerholm wrote: > Of course, with the current version of dpkg, your point is very good and > entirely valid. > > Thinking ahead, wouldn't it be a good idea to fix dpkg and the package > list to support a larger number of packages? The problem wit

Re: package adding users

2004-04-06 Thread Francesco P. Lovergine
On Tue, Apr 06, 2004 at 09:18:20AM -0400, Erik Bourget wrote: > > > What's the best/accepted way to have a package add users to a Debian system? > I have a daemon that has no need to run as root (but a need to store its own > datafiles, etc, so nobody is out) and would like to have it run under a

Re: Separating packages.

2004-04-06 Thread Jeroen van Wolffelaar
On Tue, Apr 06, 2004 at 08:18:55AM -0400, Erik Bourget wrote: > Fabian Fagerholm <[EMAIL PROTECTED]> writes: > > > > > Thanks! (to you and everyone who pitched in). d-m is really friendly. Because Fabian wrote: > This is perhaps the most difficult thing to understand about Debian > packaging.

Re: package adding users

2004-04-06 Thread Andreas Metzler
On 2004-04-06 Erik Bourget <[EMAIL PROTECTED]> wrote: > What's the best/accepted way to have a package add users to a Debian > system? Policy 9.2. | Packages which need a user or group, but can have this user or | group allocated dynamically and differently on each system, should | use adduser --s

Re: package adding users

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 16:18, Erik Bourget wrote: > What's the best/accepted way to have a package add users to a Debian system? > I have a daemon that has no need to run as root (but a need to store its own > datafiles, etc, so nobody is out) and would like to have it run under a user > account. G

Re: package adding users

2004-04-06 Thread Francesco P. Lovergine
On Tue, Apr 06, 2004 at 09:18:20AM -0400, Erik Bourget wrote: > > > What's the best/accepted way to have a package add users to a Debian system? > I have a daemon that has no need to run as root (but a need to store its own > datafiles, etc, so nobody is out) and would like to have it run under a

package adding users

2004-04-06 Thread Erik Bourget
Hello; What's the best/accepted way to have a package add users to a Debian system? I have a daemon that has no need to run as root (but a need to store its own datafiles, etc, so nobody is out) and would like to have it run under a user account. Gerrit Pape's qmail package does an ugly hit-cont

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 11:49, Bernhard R. Link wrote: > > package > > * Contains all the files not in the other packages. > > * Depends on -backgrounds, -icons, and -examples (or only those > > required, you may want to leave out -examples from the > > dependency list). >

Re: Separating packages.

2004-04-06 Thread Bernhard R. Link
* Fabian Fagerholm <[EMAIL PROTECTED]> [040405 12:10]: > I don't think you need a meta package. I would do this to allow > flexibility and save space: > > package > * Contains all the files not in the other packages. > * Depends on -backgrounds, -icons, and -examples (or only those >

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 08:45, Matt Zimmerman wrote: > This alone is not sufficient reason for producing four packages instead of > one. This wastes resources in many places (the Debian package list, the > dpkg database, etc.). You must consider whether the benefit is worth the > cost. Of course,

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Mon, 2004-04-05 at 20:16, n.v.t n.v.t wrote: > Ok, that seems to be all clear to me, what about the rules file? How do I > separate packages, the example that Andreas Metzler told me to check out, > doesn't clear things entirely. Is this the way we should learn it, by > examples? So I move fi

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 11:49, Bernhard R. Link wrote: > > package > > * Contains all the files not in the other packages. > > * Depends on -backgrounds, -icons, and -examples (or only those > > required, you may want to leave out -examples from the > > dependency list). >

Re: How to deal with Python script

2004-04-06 Thread Frank Küster
Tom Huckstep <[EMAIL PROTECTED]> schrieb: > On Mon, Apr 05, 2004 at 03:43:51PM +0200, Frank Küster wrote: >> > 1. Add a Depends: on Python >> > 2. Remove 'teepeedee-share' from the .deb >> > 3. Put teepeedee-share in a separate package >> > 4. Replace the 'teepeedee-share' with a shell wrapper, wh

Re: Separating packages.

2004-04-06 Thread Bernhard R. Link
* Fabian Fagerholm <[EMAIL PROTECTED]> [040405 12:10]: > I don't think you need a meta package. I would do this to allow > flexibility and save space: > > package > * Contains all the files not in the other packages. > * Depends on -backgrounds, -icons, and -examples (or only those >

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Tue, 2004-04-06 at 08:45, Matt Zimmerman wrote: > This alone is not sufficient reason for producing four packages instead of > one. This wastes resources in many places (the Debian package list, the > dpkg database, etc.). You must consider whether the benefit is worth the > cost. Of course,

Re: Separating packages.

2004-04-06 Thread Fabian Fagerholm
On Mon, 2004-04-05 at 20:16, n.v.t n.v.t wrote: > Ok, that seems to be all clear to me, what about the rules file? How do I > separate packages, the example that Andreas Metzler told me to check out, > doesn't clear things entirely. Is this the way we should learn it, by > examples? So I move fi

Re: How to deal with Python script

2004-04-06 Thread Matt Zimmerman
On Mon, Apr 05, 2004 at 04:12:30PM +0100, Tom Huckstep wrote: > On Mon, Apr 05, 2004 at 03:43:51PM +0200, Frank K?ster wrote: > > > 1. Add a Depends: on Python > > > 2. Remove 'teepeedee-share' from the .deb > > > 3. Put teepeedee-share in a separate package > > > 4. Replace the 'teepeedee-share'

Re: Separating packages.

2004-04-06 Thread Matt Zimmerman
On Mon, Apr 05, 2004 at 12:57:55PM +, n.v.t n.v.t wrote: > >Why? How big are the components? Would somebdy e.g install package-name > >without package-icons or the other way round? > > It was a example. The person might only want the backgrounds or only the > icons. This alone is not suffic

Re: Separating packages.

2004-04-06 Thread Matt Zimmerman
On Mon, Apr 05, 2004 at 09:24:10AM +, n.v.t n.v.t wrote: > Hello all. > > I have simple question which I could not find in the debian policy, maybe > someone could point me out to that section or the right documentation? Or a > explanation would be nice. I'm debianizing a package that I wou

Re: Iuusues when packaging libraries..

2004-04-06 Thread Matt Zimmerman
On Sun, Apr 04, 2004 at 01:24:59PM +0200, Robert Ribnitz wrote: > I am responsible for the package htdig. Htdig is a full-text indexer for > (local) sites, ie. will generate a full-text (searchable) index of that > site. > The thing is written in C++, and comes with loads of libraries. While >

Re: How to deal with Python script

2004-04-06 Thread Frank Küster
Tom Huckstep <[EMAIL PROTECTED]> schrieb: > On Mon, Apr 05, 2004 at 03:43:51PM +0200, Frank Küster wrote: >> > 1. Add a Depends: on Python >> > 2. Remove 'teepeedee-share' from the .deb >> > 3. Put teepeedee-share in a separate package >> > 4. Replace the 'teepeedee-share' with a shell wrapper, wh