joey [Tue, 28 Nov 2000 05:12:23 +0000 (05:12 +0000)]
r398: * If DH_COMPAT=3 is set, the following happens:
- Various debian/foo files like debian/docs, debian/examples, etc,
begin to support filename globbing. use \* to escape the wildcards of
course. I doubt this will bite anyone (Debian doesn't seem to contain
files with "*" or "?" in their names..), but it is guarded by v3 just
to be sure. Closes: #34120, #37694, #39846, #46249
joey [Mon, 27 Nov 2000 20:22:59 +0000 (20:22 +0000)]
r395: * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on
data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so". Closes: #78139
joey [Mon, 27 Nov 2000 20:06:04 +0000 (20:06 +0000)]
r394: * Reverted the change to make debian/README be treated as README.Debian,
after I learned people use it for eg, documenting the source package
itself. Closes: #34628, since it seems this is not such an "incredibly
minor" change after all. Never underetimate the annoyance of
backwards-compatability.
joey [Mon, 27 Nov 2000 04:06:39 +0000 (04:06 +0000)]
r393: * DH_COMPAT=3 now enables the following new features which I can't just
turn on by default for fear of breaking backwards compatability:
- dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154
Patch from Masato Taruishi <taru@debian.org> (modified). If you
use this, be sure dh_makeshlibs runs before dh_installdeb; many
old rules files have the ordering backwards.
- dh_installdeb now causes all files in /etc to be registered as
conffiles.
- debian/README is now supported: it is treated exactly like
debian/README.Debian. Either file is installed as README.Debian in
non-native packages, and now as just README in native packages. Closes: #34628
* This is really only the start of the changes for v3, so use with
caution..
* dh_du has finally been removed. It has been deprecated for ages, and
a grep of the archive shows that nothing is using it except biss-awt
and scsh. I filed bugs on both almost exactly a year ago. Those bugs
should now be raised to severity important..
* --number option (to dh_installemacsen) is removed. It has been
deprecated for a while and nothing uses it. Use --priority instead.
joey [Mon, 27 Nov 2000 03:56:52 +0000 (03:56 +0000)]
r392: * DH_COMPAT=3 now enables the following new features which I can't just
turn on by default for fear of breaking backwards compatability:
- dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154
Patch from Masato Taruishi <taru@debian.org> (modified). If you
use this, be sure dh_makeshlibs runs before dh_installdeb; many
old rules files have the ordering backwards.
- dh_installdeb now causes all files in /etc to be registered as
conffiles.
- debian/README is now supported: it is treated exactly like
debian/README.Debian. Either file is installed as README.Debian in
non-native packages, and now as just README in native packages. Closes: #34628
* This is really only the start of the changes for v3, so use with
caution..
* dh_du has finally been removed. It has been deprecated for ages, and
a grep of the archive shows that nothing is using it except biss-awt
and scsh. I filed bugs on both almost exactly a year ago. Those bugs
should now be raised to severity important..
* --number option (to dh_installemacsen) is removed. It has been
deprecated for a while and nothing uses it. Use --priority instead.
joey [Sun, 12 Nov 2000 01:26:42 +0000 (01:26 +0000)]
r386: * dh_makeshlibs: Also scan files named "*.so*", not just "*.so.*",
but only if they are files. This should make it more usable with
rather stupidly broken libraries like db3, which do not encode the
major version in their filenames. However, it cannot guess the major
version of such libraries, so -m must be used.
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.