joey [Mon, 6 Nov 2000 23:57:58 +0000 (23:57 +0000)]
r383: * dh_movefiles: no longer does the symlink ordering hack, as
this is supported by dpkg itself now. Added a dependancy on
dpkg-dev >= 1.7.0 to make sure this doesn't break anything.
* While I'm updating for dpkg 1.7.0, I removed the -ldirectory hack
from dh_shlibdeps; dpkg-shlibdeps has its own much more brutal hack to
make this work. The switch is ignored now for backwards compatability.
* dh_suidregister will be deprecated soon -- dpkg-statoverride is a
much better way.
joey [Sat, 28 Oct 2000 18:44:02 +0000 (18:44 +0000)]
r380: * dh_builddeb: added a --filename option to specify the output filename.
This is intended to be used when building .udebs for the debian
installer.
joey [Sat, 28 Oct 2000 06:13:50 +0000 (06:13 +0000)]
r379: * dh_movefiles.1: well I thought it was quite obvious why it always used
debian/tmp, but it's a faq. Added some explanation. By the way, since
there now exists a documented way to use dh_movefiles that does not
have problems with empty directories that get left behind and so on, I
think this Closes: #17111, #51985
joey [Mon, 23 Oct 2000 22:36:18 +0000 (22:36 +0000)]
r378: * dh_movefiles: fixed a regexp quoting problem with --sourcedir. Closes: #75434
* Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those
in:
.
debhelper (2.1.14-0.1) unstable; urgency=low
.
* Non-maintainer upload (thanks Joey).
* dh_installchangelogs, dh_installdocs: allow dangling symlinks for
$TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages). Closes: #53381
.
-- Brendan O'Dea <bod@debian.org> Fri, 20 Oct 2000 18:11:59 +1100
.
I also added some documentation to debhelper.1 about this, and removed
the TODO entry about it.
joey [Tue, 3 Oct 2000 19:35:32 +0000 (19:35 +0000)]
r376: * Rats, the previous change makes duplicate lines be created in the
shlibs file, and lintian conplains. Added some hackery that should
prevent that. Closes: #73052
joey [Mon, 2 Oct 2000 01:29:14 +0000 (01:29 +0000)]
r375: * Typo, Closes: #72932
* dh_makeshlibs: follow symlinks to files when looking for files that are
shared libraries. This allows it to catch files like
"liballeg-3.9.33.so" that are not in the *.so.* form it looks for, but
that doe have links to them that are in the right form. Closes: #72938
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.