r370: * dh_installmodules: corrected the code added to maintainer scripts so it
does not call depmod -a. update-modules (which it always called)_
handles calling depmod if doing so is appropriate. Packages built with
proir versions probably have issues on systems with non-modular
kernels, and should be rebuilt. Closes: #71841
joey [Mon, 21 Aug 2000 02:04:06 +0000 (02:04 +0000)]
r367: * debian/package.filename.arch is now checked for first, before
debian/package.filename. Closes: #69453
* Added a section to debhelper(1) about files in debian/ used by
debhelper, which documents this. Removed scattered references to
debian/filename from all over the man pages.
r359: * I started work on debhelper v2 over a year ago, with a long list of
changes I hoped to get in that broke backwards compatability. That
development stalled after only the most important change was made,
although I did get out over 100 releases in the debhelper 2.0.x tree.
In the meantime, lots of packages have switched to using v2, despite my
warnings that doing so leaves packages open to being broken without
notice until v2 is complete.
* Therefore, I am calling v2 complete, as it is. Future non-compatabile
changes will happen in v3, which will be started soon. This means that
by using debhelper v2, one major thing changes: debhelper uses
debian/<package> as the temporary directory for *all* packages;
debian/tmp is no longer used to build binary packages out of. This is
very useful for multi-binary packages, and I reccommend everyone
switch to v2.
* Updated example rules files to use v2 by default.
* Updated all documentation to assume that v2 is being used.
* Added a few notes for people still using v1.
* Moved all of the README into debhelper(1).
r353: * Modified all postinst script fragments to only run when called with
"configure". I looked at the other possibilities, and I don't think any
of the supported stuff should be called if the postist is called for
error unwinds. Closes: #66673
* Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670
joey [Mon, 26 Jun 2000 21:31:48 +0000 (21:31 +0000)]
r352: * dh_installmodules will now install modiles even if etc/modutils already
exists (wasn't because of a logic error). Closes: #66289
* dh_movefiles now uses debian/movelist, rather than just movelist. This
is to fix an unlikely edge case involving a symlinked debian directory. Closes: #66278
joey [Fri, 19 May 2000 22:01:35 +0000 (22:01 +0000)]
r351: * dh_installdebconf: Automatically merge localized template
files. If you use this feature, you should build-depend on
debconf-utils to get debconf-mergetemplate.
joey [Fri, 3 Mar 2000 03:44:42 +0000 (03:44 +0000)]
r340: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (much
modified)to make dh_installwm use new window manager registration method,
update-alternatives. Closes: #52156, #34684 (latter bug is obsolete)
* Fixed $dh{flavor} to be upper-case.
* Deprecated dh_installemavcsen --number; use --priority instead. Also,
the option parser requires the parameter be a number now. And,
dh_installwm now accepts --priority, and window manager packages should
start using it.
* dh_installwm now behaves like a proper debhelper command, and reads
debian/<package>.wm too. This is a small behavior change; filenames
specified on the command line no longer apply to all packages it acts
on. I can't belive this program existed for 2 years with such a glaring
problem; I guess most people don't need ot register 5 wm's in 3
sub-packages. Anyway, it can handle such things now. :-)
* Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
joey [Thu, 2 Mar 2000 21:23:22 +0000 (21:23 +0000)]
r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (much
modified)to make dh_installwm use new window manager registration method,
update-alternatives. Closes: #52156, #34684 (latter bug is obsolete)
* Fixed $dh{flavor} to be upper-case.
* Deprecated dh_installemavcsen --number; use --priority instead. Also,
the option parser requires the parameter be a number now. And,
dh_installwm now accepts --priority, and window manager packages should
start using it.
* dh_installwm now behaves like a proper debhelper command, and reads
debian/<package>.wm too. This is a small behavior change; filenames
specified on the command line no longer apply to all packages it acts
on. I can't belive this program existed for 2 years with such a glaring
problem; I guess most people don't need ot register 5 wm's in 3
sub-packages. Anyway, it can handle such things now. :-)
* Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
joey [Wed, 5 Jan 2000 22:25:24 +0000 (22:25 +0000)]
r329: * Depend on the current unstable fileutils, because I have to use chown
--no-dereference. I'm not sure when it started working, but it didn't work
in slink.
joey [Tue, 30 Nov 1999 08:28:52 +0000 (08:28 +0000)]
r321: * dh_suidregister: Fixed a rather esoteric bug: If a file had multiple
hard links, and was suid, suidregister detected all the hard links as
files that need to be registered. It looped, registering the first
link, and then removing its suid bit. This messed up the registration
of the other had links, since their permissions were now changed,
leading to unpredictable results. The fix is to just not remove suid
bits until all files have been registered.
joey [Tue, 30 Nov 1999 08:26:30 +0000 (08:26 +0000)]
r320: Fixed a rather esoteric bug: If a file had multiple hard links, and was
suid, suidregister detected all the hard links as files that need to be
registered. It looped, registering the first link, and then removing its
suid bit. This messed up the registration of the other had links, since
their permissions were now changed, leading to unpredictable results. The
fix is to just not remove suid bits until all files have been registered.
joey [Mon, 29 Nov 1999 06:05:43 +0000 (06:05 +0000)]
r319: * dh_installmanpages:
- Added support for translated man pages, with a patch from Kis Gergely
<kisg@lme.linux.hu>. Closes: #51268
- Fixed the undefined value problem in Kis's patch.
- This also Closes: #37092 come to think of it.
* dh_shlibdeps, dh_shlibdeps.1:
- Added -X option, which makes it not examine some files. This is
useful in rare cases. Closes: #51100
- Always pass "-dDepends" before the list of files, which makes it
easier to specify other -d parameters in the uparams, and doesn't
otherwise change the result at all.
* doc/TODO:
- dh_installdebfiles is no longer a part of debhelper. This affects
exactly one package in unstable, biss-awt, which has had a bug filed
against it for 200+ days now asking that it stop using the program.
dh_installdebfiles has been depreacted for nearly 2 years now..
* This changelog was automatically generated from CVS commit information.
Fear makechangelog.
joey [Mon, 29 Nov 1999 05:56:08 +0000 (05:56 +0000)]
r317: * Added -X option, which makes it not examine some files. This is useful in
rare cases. Closes: #51100
* Always pass "-dDepends" before the list of files, which makes it easier to
specify other -d parameters in the uparams, and doesn't otherwise change the
result at all.
joey [Mon, 29 Nov 1999 05:46:46 +0000 (05:46 +0000)]
r316: dh_installdebfiles is no longer a part of debhelper. This affects exactly
one package in unstable, biss-awt, which has had a bug filed against it for
200+ days now asking that it stop using the program. dh_installdebfiles has
been depreacted for nearly 2 years now..
joey [Mon, 29 Nov 1999 05:16:29 +0000 (05:16 +0000)]
r314: * Added support for translated man pages, with a patch from
Kis Gergely <kisg@lme.linux.hu>. Closes: #51268
* Fixed the undefined value problem in Kis's patch.
joey [Tue, 23 Nov 1999 21:56:41 +0000 (21:56 +0000)]
r308: * dh_suidregister: Die with understandable error message if asked to
act on files that don't exist.
* dh_installchangelogs: to comply with policy, if it's told to act on a
html changelog, it installs it as changelog.html.gz and dumps a plain
text version to changelog.gz. The dumping is done with lynx.
(Closes: #51099)
* Dh_Getopt.pm: Modified it so any options specified after -- are added to
U_PARAMS. This means that instead of passing '-u"something nasty"' to
dh_gencontrol and the like, you can pass '-- something nasty' without
fiddling to get the quoting right, etc.
joey [Fri, 5 Nov 1999 05:36:58 +0000 (05:36 +0000)]
r303: * Added build dependancies to this package. That was easy; it just uses
perl5 for regression testing, the rest of its build-deps are things
in base.
* dh_version.1: Added note that this program is quickly becoming obsolete.
* doc/README, doc/from-debstd: Added reminders that if you use debhelper,
you need to add debhelper to your Build-Depends line.
joey [Thu, 4 Nov 1999 23:51:29 +0000 (23:51 +0000)]
r302: * dh_shlibdeps: added -l option, which lets you specify a path that
LD_LIBRARY_PATH is then set to when dpkg-shlibdeps is run. This
should make it easier for library packages that also build binary
packages to be built with correct dependancies. Closes: #36751
* In honor of Burn all GIFs Day (hi Don!), I added alternative
image formats .png, .jpg (and .jpeg) to the list of extentions dh_compress
does not compress. Closes: #41733
* Also, made all extentions dh_compress skips be looked at case
insensitively.
* dh_movefiles: force owner and group of installed files to be root. Closes: #46039
* Closes: #42650, #47175 -- they've been fixed forever.
joey [Sun, 24 Oct 1999 23:19:28 +0000 (23:19 +0000)]
r294: * Fixed problem with dh_installemacsen options not working, patch from
Rafael Laboissiere <rafael@icp.inpg.fr>, Closes: #47738
* Added new dh_installxfonts script by Changwoo Ryu
<cwryu@dor17988.kaist.ac.kr>. Closes: #46684
I made some changes, though:
- I rewrote lots of this script to be more my style of perl.
- I removed all the verbisity from the postinst script fragment, since
that is a clear violation of policy.
- I made the postinst fail if the mkfontdir, etc commands fail, because
this really makes more sense. Consider idempotency.
- I moved the test to see if the font dir is really a directory into the
dh_ script and out of the snippet. If the maintainer plays tricks on
us, mkfontdir will blow up satisfactorally anyway.
- So, the snippet is 9 lines long now, down from 20-some.
- I realize this isn't following the reccommendations made in Brandon's
font policy. I'll fight it out with him. :-)
- In postrm fragment, used rmdir -p to remove as many parent directories
as I can.
- s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g
joey [Mon, 4 Oct 1999 23:35:09 +0000 (23:35 +0000)]
r291: * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink,
leaves it alone, assumming that the maintainer knows what they're doing
and is probably linking to the doc dir of another package.
(Closes: #46183)
r287: * Fiddlesticks. The neat make trick I was using in rules.multi2 failed if
you try to build binary-indep and binary-arch targets in the same make
run. Make tries to be too smart. Modified the file so it will work,
though it's now uglier. Closes: 46287
* examples/*: It's important that one -not- use a install-stamp target.
Install should run every time binary-* calls it. Otherwise if a binary-*
target is called twice by hand, you get duplicate entries in the
maintainer script fragment files. Closes: #46313
r286: * Fiddlesticks. The neat make trick I was using in rules.multi2 failed if
you try to build binary-indep and binary-arch targets in the same make
run. Make tries to be too smart. Modified the file so it will work,
though it's now uglier. Closes: 46287
* examples/*: It's important that one -not- use a install-stamp target.
Install should run every time binary-* calls it. Otherwise if a binary-*
target is called twice by hand, you get duplicate entries in the
maintainer script fragment files. Closes: #46313
r284: * Enhanced debconf support -- the database is now cleaned up on package
purge.
* Broke all debconf support off into a dh_installdebconf script. This
seems conceptually a little cleaner.
r281: * dh_installdocs: create the compatability symlink before calling
install-docs. I'm told this is better in some cases. (Closes: #45608)
* examples/rules.multi2: clarified what you have to comment/uncomment.
r277: * 4 whole days without a debhelper upload! Can't let that happen. Let's see..
* dh_installperl.1: explain what you have to put in your control file
for the dependancies to be generated.
r274: * dh_installemacsen: the script fragments it generates now test for the
existance of emacs-package-install/remove before calling them. Though
a strict reading of the emacsen policy indicates that such a test
shouldn't be needed, there may be edge cases (cf bug 44924), where it
is.
r273: * dh_installdocs.1: clarified how the doc-id is determined. Closes: #44864
* dh_makeshlibs: will now overwrite existing debian/tmp/DEBIAN/shlibs
files, instead of erroring out. (Closes: #44828)