Modifying a file from another package (rather than replacing it)

2010-12-25 Thread Malte Forkel
Hi (and happy hollidays)! I've written a couple of extensions to pbuilder. When my package gets installed, a file from the pbuilder package (/usr/sbin/pbuilder) must be modified for my extension to work. I'm looking for the "proper" way to apply a patch to that file. I would like to patch rather

Re: Modifying a file from another package (rather than replacing it)

2010-12-25 Thread Ben Hutchings
On Sat, 2010-12-25 at 13:19 +0100, Malte Forkel wrote: > Hi (and happy hollidays)! > > I've written a couple of extensions to pbuilder. When my package gets > installed, a file from the pbuilder package (/usr/sbin/pbuilder) must be > modified for my extension to work. I'm looking for the "proper"

Re: Modifying a file from another package (rather than replacing it)

2010-12-25 Thread Malte Forkel
Am 25.12.2010 13:25, schrieb Ben Hutchings: >> I've written a couple of extensions to pbuilder. When my package gets >> installed, a file from the pbuilder package (/usr/sbin/pbuilder) must be >> modified for my extension to work. I'm looking for the "proper" way to >> apply a patch to that file. >

Re: Modifying a file from another package (rather than replacing it)

2010-12-25 Thread Michael Banck
On Sat, Dec 25, 2010 at 07:53:41PM +0100, Malte Forkel wrote: > Am 25.12.2010 13:25, schrieb Ben Hutchings: > > If you cannot accomplish what you want using an existing hook then > > perhaps you should ask the pbuilder maintainer to add a new hook. > > Well, a new hook probably won't do. I've writ

Re: Modifying a file from another package (rather than replacing it)

2010-12-26 Thread Malte Forkel
Am 25.12.2010 20:18, schrieb Michael Banck: > > Why can't this be part of pbuilder itself? Did your patches got > rejected by the pbuilder author and if so, what was his rationale? > Maybe if he thinks they should not be part of pbuilder, they shouldn't > be part of another package either. > I

Re: Modifying a file from another package (rather than replacing it)

2010-12-26 Thread Neil Williams
On Sun, 26 Dec 2010 14:10:08 +0100 Malte Forkel wrote: > But, aside from the pbuilder specifics: Is there any policy, best > practice, or LSB scheme for extending an existing package? Are there > any hooks to re-apply changes to an existing package after it has > been updated? Only if that packa

Re: Modifying a file from another package (rather than replacing it)

2010-12-26 Thread Luk Claes
On 12/26/2010 02:10 PM, Malte Forkel wrote: > Am 25.12.2010 20:18, schrieb Michael Banck: >> >> Why can't this be part of pbuilder itself? Did your patches got >> rejected by the pbuilder author and if so, what was his rationale? >> Maybe if he thinks they should not be part of pbuilder, they shou

Re: Modifying a file from another package (rather than replacing it)

2010-12-27 Thread Francesco P. Lovergine
On Sun, Dec 26, 2010 at 02:10:08PM +0100, Malte Forkel wrote: > But, aside from the pbuilder specifics: Is there any policy, best > practice, or LSB scheme for extending an existing package? Are there any > hooks to re-apply changes to an existing package after it has been updated? > It definitiv