Re: keeping files from one version to the other.

2001-02-25 Thread Michael Beattie
On Sun, Feb 25, 2001 at 09:26:55PM -0500, Matt Zimmerman wrote: > In the current crafty (17.13-3) these files are conffiles (look in > debian/conffiles or debian/crafty.conffiles), which means that they will only > overwrite the existing versions if they have not been modified or the user > request

Re: keeping files from one version to the other.

2001-02-25 Thread Michael Beattie
On Sun, Feb 25, 2001 at 09:26:55PM -0500, Matt Zimmerman wrote: > In the current crafty (17.13-3) these files are conffiles (look in > debian/conffiles or debian/crafty.conffiles), which means that they will only > overwrite the existing versions if they have not been modified or the user > reques

Re: keeping files from one version to the other.

2001-02-25 Thread Matt Zimmerman
On Mon, Feb 26, 2001 at 01:29:00AM +0100, Eric Van Buggenhaut wrote: > My problem is : when upgrading the package, the files in /var/lib/crafty are > overwritten by the original files coming with the new version package. How can > I preserve these files from being overwritten ? The files are norma

Re: /etc/ question

2001-02-25 Thread Henrique M Holschuh
On Sun, 25 Feb 2001, Eric Van Buggenhaut wrote: > > > Perhaps better: copy it in the postinst, remove the old version in the > > > postinst. Then if any problems arise, the original version will still > > > be present. > > > > BAD idea. This will defeat the conffile change detection engine in dpkg

Re: /etc/ question

2001-02-25 Thread Eric Van Buggenhaut
On Sun, Feb 25, 2001 at 09:34:19AM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 05:15:37AM +0100, Eric Van Buggenhaut wrote: > > > Remember to correctly unwind, moving the conffile back to its original > > > place > > > (as long as the original file does not exist) in the abort-install an

keeping files from one version to the other.

2001-02-25 Thread Eric Van Buggenhaut
Hi, I'm in NM and I have adopted and packaged crafty, a chess engine. Now, crafty keeps its opening books files in /var/lib/crafty and these files are updated whenever a new position is played. Crafty 'learns' :-) My problem is : when upgrading the package, the files in /var/lib/crafty are overw

Re: keeping files from one version to the other.

2001-02-25 Thread Matt Zimmerman
On Mon, Feb 26, 2001 at 01:29:00AM +0100, Eric Van Buggenhaut wrote: > My problem is : when upgrading the package, the files in /var/lib/crafty are > overwritten by the original files coming with the new version package. How can > I preserve these files from being overwritten ? The files are norm

Re: Policy and conffile editing

2001-02-25 Thread Britton
The 'edited by you or by a script line' which currently gets served up to users is apparently not quite in line with policy. It would probably be more appropriate to say somethine like 'The configuration file for this package has been modified since the package was installed' or something like t

Re: /etc/ question

2001-02-25 Thread Henrique M Holschuh
On Sun, 25 Feb 2001, Eric Van Buggenhaut wrote: > > > Perhaps better: copy it in the postinst, remove the old version in the > > > postinst. Then if any problems arise, the original version will still > > > be present. > > > > BAD idea. This will defeat the conffile change detection engine in dpk

Re: /etc/ question

2001-02-25 Thread Eric Van Buggenhaut
On Sun, Feb 25, 2001 at 09:34:19AM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 05:15:37AM +0100, Eric Van Buggenhaut wrote: > > > Remember to correctly unwind, moving the conffile back to its original place > > > (as long as the original file does not exist) in the abort-install and > >

keeping files from one version to the other.

2001-02-25 Thread Eric Van Buggenhaut
Hi, I'm in NM and I have adopted and packaged crafty, a chess engine. Now, crafty keeps its opening books files in /var/lib/crafty and these files are updated whenever a new position is played. Crafty 'learns' :-) My problem is : when upgrading the package, the files in /var/lib/crafty are over

Re: Policy and conffile editing

2001-02-25 Thread Britton
The 'edited by you or by a script line' which currently gets served up to users is apparently not quite in line with policy. It would probably be more appropriate to say somethine like 'The configuration file for this package has been modified since the package was installed' or something like

Re: dh_installdeb & postrm

2001-02-25 Thread Drew Parsons
On Sun, Feb 25, 2001 at 01:14:57PM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 11:27:32PM +1100, Drew Parsons wrote: > > Nice theory. But when I create meschach.postinst and meschach-dev.postint, > > I find that meschach.postinst finds its way into the meschach-dev deb file! > > This in

Re: Package checking

2001-02-25 Thread Sam TH
On Sun, Feb 25, 2001 at 01:04:18PM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 05:56:16AM -0600, Sam TH wrote: > > > >From current policy: > > > > > > When specifying the set of build-time dependencies, one should list > > > only those packages explicitly required by the build.

Re: dh_installdeb & postrm

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 11:27:32PM +1100, Drew Parsons wrote: > Nice theory. But when I create meschach.postinst and meschach-dev.postint, > I find that meschach.postinst finds its way into the meschach-dev deb file! > This in spite of the fact that the ./debian directory has a meschach-dev > subd

Re: Package checking

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 05:56:16AM -0600, Sam TH wrote: > > >From current policy: > > > > When specifying the set of build-time dependencies, one should list > > only those packages explicitly required by the build. It is not > > necessary to list packages which are required merely

Re: /etc/ question

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 05:15:37AM +0100, Eric Van Buggenhaut wrote: > > Remember to correctly unwind, moving the conffile back to its original place > > (as long as the original file does not exist) in the abort-install and > > abort-upgrade targets of preinst, postrm and postinst. [never tried th

Re: dh_installdeb & postrm

2001-02-25 Thread Drew Parsons
On Sat, Feb 24, 2001 at 01:22:03PM -0600, Gordon Sadler wrote: > > Create files named debian/post{rm,inst} and debian/pre{rm,inst} if you > need to add specific code for one package. For multiple debs from same > source create debian/$package.post{rm,inst} debian/$package.pre{rm,inst} > Nice th

Re: Package checking

2001-02-25 Thread Henrique M Holschuh
On Sun, 25 Feb 2001, Sam TH wrote: > Well, sort of. For the packe in question, it does. But say there was > a package that depended on both GLib and GNOME (say, by including If your package directly depends on another, declare it. The depends that are to be left 'implicit' are those of the packa

Re: Package checking

2001-02-25 Thread Sam TH
On Sun, Feb 25, 2001 at 12:32:06AM +, Julian Gilbey wrote: > On Fri, Feb 23, 2001 at 11:16:16PM -0600, Sam TH wrote: > > > $ lintian --version > > > Lintian v1.20.6 > > > $ lintian uf-view_1.2-2_i386.changes > > > E: uf-view source: package-uses-debhelper-but-lacks-build-depends > > > > Fixed,

Re: dh_installdeb & postrm

2001-02-25 Thread Drew Parsons
On Sun, Feb 25, 2001 at 01:14:57PM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 11:27:32PM +1100, Drew Parsons wrote: > > Nice theory. But when I create meschach.postinst and meschach-dev.postint, > > I find that meschach.postinst finds its way into the meschach-dev deb file! > > This in

Re: Still looking for a gnome-utils sponsor

2001-02-25 Thread Jochen Voss
Ok, now I found someone. Adam McKenna <[EMAIL PROTECTED]> agreed to sponsor me. Thank you, Jochen -- Omm (0)-(0) http://www.mathematik.uni-kl.de/~wwwstoch/voss/privat.html pgpuwQI3QAXs8.pgp Description: PGP signat

Re: Package checking

2001-02-25 Thread Sam TH
On Sun, Feb 25, 2001 at 01:04:18PM +, Julian Gilbey wrote: > On Sun, Feb 25, 2001 at 05:56:16AM -0600, Sam TH wrote: > > > >From current policy: > > > > > > When specifying the set of build-time dependencies, one should list > > > only those packages explicitly required by the build

Re: dh_installdeb & postrm

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 11:27:32PM +1100, Drew Parsons wrote: > Nice theory. But when I create meschach.postinst and meschach-dev.postint, > I find that meschach.postinst finds its way into the meschach-dev deb file! > This in spite of the fact that the ./debian directory has a meschach-dev > sub

Re: Package checking

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 05:56:16AM -0600, Sam TH wrote: > > >From current policy: > > > > When specifying the set of build-time dependencies, one should list > > only those packages explicitly required by the build. It is not > > necessary to list packages which are required merel

Re: /etc/ question

2001-02-25 Thread Julian Gilbey
On Sun, Feb 25, 2001 at 05:15:37AM +0100, Eric Van Buggenhaut wrote: > > Remember to correctly unwind, moving the conffile back to its original place > > (as long as the original file does not exist) in the abort-install and > > abort-upgrade targets of preinst, postrm and postinst. [never tried t

Re: dh_installdeb & postrm

2001-02-25 Thread Drew Parsons
On Sat, Feb 24, 2001 at 01:22:03PM -0600, Gordon Sadler wrote: > > Create files named debian/post{rm,inst} and debian/pre{rm,inst} if you > need to add specific code for one package. For multiple debs from same > source create debian/$package.post{rm,inst} debian/$package.pre{rm,inst} > Nice t

Re: Package checking

2001-02-25 Thread Henrique M Holschuh
On Sun, 25 Feb 2001, Sam TH wrote: > Well, sort of. For the packe in question, it does. But say there was > a package that depended on both GLib and GNOME (say, by including If your package directly depends on another, declare it. The depends that are to be left 'implicit' are those of the pack

Re: Package checking

2001-02-25 Thread Jochen Voss
On Sun, Feb 25, 2001 at 12:32:06AM +, Julian Gilbey wrote: > >From current policy: > > When specifying the set of build-time dependencies, one should list > only those packages explicitly required by the build. It is not > necessary to list packages which are required merely be

Still looking for a gnome-utils sponsor

2001-02-25 Thread Jochen Voss
Hi, I'm still looking for a sponsor for the gnome-utils package. My version is at http://www.mathematik.uni-kl.de/~wwwstoch/voss/gnome-utils/ If nobody volunteers, how could I increase the probability of finding a sponsor? Jochen -- Omm

Re: Package checking

2001-02-25 Thread Sam TH
On Sun, Feb 25, 2001 at 12:32:06AM +, Julian Gilbey wrote: > On Fri, Feb 23, 2001 at 11:16:16PM -0600, Sam TH wrote: > > > $ lintian --version > > > Lintian v1.20.6 > > > $ lintian uf-view_1.2-2_i386.changes > > > E: uf-view source: package-uses-debhelper-but-lacks-build-depends > > > > Fixed

Re: Still looking for a gnome-utils sponsor

2001-02-25 Thread Jochen Voss
Ok, now I found someone. Adam McKenna <[EMAIL PROTECTED]> agreed to sponsor me. Thank you, Jochen -- Omm (0)-(0) http://www.mathematik.uni-kl.de/~wwwstoch/voss/privat.html PGP signature

Re: Package checking

2001-02-25 Thread Jochen Voss
On Sun, Feb 25, 2001 at 12:32:06AM +, Julian Gilbey wrote: > >From current policy: > > When specifying the set of build-time dependencies, one should list > only those packages explicitly required by the build. It is not > necessary to list packages which are required merely b

Still looking for a gnome-utils sponsor

2001-02-25 Thread Jochen Voss
Hi, I'm still looking for a sponsor for the gnome-utils package. My version is at http://www.mathematik.uni-kl.de/~wwwstoch/voss/gnome-utils/ If nobody volunteers, how could I increase the probability of finding a sponsor? Jochen -- Omm