joey [Thu, 27 Dec 2001 02:22:58 +0000 (02:22 +0000)]
r499: * dh_strip: run file using a safe pipe open, that will not expose any weird
characters in filenames to a shell. Closes: #126491
* fixed dh_testdir man page
joey [Sat, 17 Nov 2001 21:01:33 +0000 (21:01 +0000)]
r495: * dh_undocumented: check for existing uncompressed man pages. Closes: #87972
* Optimized dh_installdeb conffile finding. Closes: #119035
* dh_installdeb: changed the #!/bin/sh -e to set -e on a new line. Whether
this additional bloat is worth it to make it easier for people to sh -x
a script by hand is debatable either way, I guess. Closes: #119046
* Added a check for duplicated package stanzas in debian/control, Closes: #118805
joey [Tue, 9 Oct 2001 19:26:10 +0000 (19:26 +0000)]
r493: * dh_installman: documented translated man page support, and made it work
properly. It was not stripping the language part from the installed
filenames.
joey [Thu, 23 Aug 2001 19:52:25 +0000 (19:52 +0000)]
r487: * dh_movefiles: Typo, Closes: #106532
* Use -x to test for existance of init scripts, rather then -e since
we'll be running them, Closes: #109692
* dh_clean: remove debian/*.debhelper. No need to name files
specifically; any file matching that is a debhelper temp file. Closes: #106514, #85520
r486: * Clean up old substvars.debhelper files, although debhelper doesn't
generate them now, it used to and they may still be lurking in build
trees. Closes: #106514
* Fixed a typo. Closes: #106532
joey [Sun, 3 Jun 2001 22:25:07 +0000 (22:25 +0000)]
r475: * dh_gencontrol: Added a documented interface for specifying substvars
data in a file. Substvars data may be put in debian/package.substvars.
(Those files used to be used by debhelper for automatically generated
data, but it uses a different internal filename now). It will be merged
with any automatically determined substvars data. See bug #98819
* I want to stress that no one should ever rely in internal, undocumented
debhelper workings. Just because debhelper uses a certian name for some
internally used file does not mean that you should feel free to modify
that file to your own ends in a debian package. If you do use it, don't
be at all suprised when it breaks. If you find that debhelper is lacking
a documented interface for something that you need, ask for it!
(debhelper's undocumented, internal use only files should now all be
prefixed with ".debhelper")
joey [Tue, 29 May 2001 22:24:20 +0000 (22:24 +0000)]
r472: * Fixed issues with extended parameters to dh_gencontrol including spaces
and quotes. This was some histirical cruft that deals with splitting up
the string specified by -u, and it should not have applied to the set
of options after --. Now that it's fixed, any and all programs that
support a -- and options after it, do not require any special quoting
of the succeeding options. Quote just like you would in whatever
program those options go to. So, for example,
dh_gencontrol -Vblah:Depends='foo, bar (>= 1.2)' will work just as you
would hope. This fix does NOT apply to -u; don't use -u if you must do
something complex. Closes: #89311
* Made escape_shell output a lot better.
joey [Thu, 24 May 2001 20:33:49 +0000 (20:33 +0000)]
r471: * Always include package name in maintainer script fragment filenames
and generated shlibs files (except for in DH_COMPAT=1 mode). This is a
purely cosmetic change, and if it breaks anything, you were using an
undocumented interface. Closes: #95387
joey [Tue, 15 May 2001 02:35:09 +0000 (02:35 +0000)]
r468: * dh_shlibdeps: the -l switch now just adds to LD_LIBRARY_PATH, if it is
already set. Newer fakeroots set it, and clobbering their settings
breaks things since they LD_PRELOAD a library that is specified in the
LD_LIBRARY_PATH. (blah) Closes: #97494
joey [Tue, 15 May 2001 01:28:29 +0000 (01:28 +0000)]
r467: * dh_installinfo: doc enchancement, Closes: #97515
* dh_md5sums: don't fail if pwd has spaces in it (must be scraping the
bottom of the bug barrel here). Closes: #97404
joey [Fri, 11 May 2001 17:44:02 +0000 (17:44 +0000)]
r465: * Modified the postrm fragment for dh_installxfonts to not try to delete
any files. The responsibility for doing so devolves onto update-fonts-*
(which don't yet, but will). See bug #94752
joey [Tue, 8 May 2001 01:26:39 +0000 (01:26 +0000)]
r464: * Now uses html2text rather than lynx for converting html changelogs.
The program generates better results, and won't annoy the people who
were oddly annoyed at having to install lynx. Instead, it will annoy a
whole other set of people, I'm sure. Closes: #93747
r463: * dh_perl: updates from bod:
- Provide minimum version for arch-indep module dependencies
(perl-policy 1,18, section 3.4.1).
- Always update substvars, even if Perl:Depends is empty.
joey [Wed, 14 Mar 2001 23:10:45 +0000 (23:10 +0000)]
r454: * dh_makeshlibs: don't follow links to .so files. Instead, we will look
for *.so* files. This should work for the variously broken db3,
liballeg, and it will fix the problem with console-tools-dev, which
contained (arguably broken) absolute symlinks to real files, which were
followed. Closes: #85483
joey [Tue, 13 Mar 2001 21:24:47 +0000 (21:24 +0000)]
r453: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code.
Arrgh. All packages built with the old code (that is, all daemon
packages built with debhelper 3.0.9!) are broken. Closes: #89472
joey [Tue, 13 Mar 2001 11:13:51 +0000 (11:13 +0000)]
r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code.
Arrgh. All packages built with the old code (that is, all daemon
packages built with debhelper 3.0.9!) are broken. Closes: #89472
joey [Mon, 5 Mar 2001 00:36:29 +0000 (00:36 +0000)]
r450: * Modified to use dpkg-architecture instead of dpkg --print-architecture.
I hate this, and wish it wasn't necessary to make cross compiles for
the hurd work. Closes: #88494
* Now depends on debconf-utils for debconf-mergetemplates. Closes: #87321
* Continues to depend on lynx for html changelog conversions. Yes, these
and packages with translated debconf templates are rather rare, but
it makes more sense for debhelper to consistently depend on all utilities
it uses internally rather than force people to keep their dependancies
up to date with debhelper internals. If I decide tomorrow that w3m is
the better program to use to format html changelogs, I can make the
change and packages don't need to update their build dependancies. Closes: #88464, #77743
* Test for init scripts before running them, since they are conffiles and
the admin may have removed them for some reason, and policy wants
us to deal with that gracefully.
* dh_makeshlibs: now uses objdump, should be more accurate. Closes:
#88426
* Wildcards have been supported for a while, Closes: #54197
* dh_installdocs and dh_link have been able to make doc-dir symlinks for
a while, Closes: #51225
joey [Sat, 17 Feb 2001 03:45:51 +0000 (03:45 +0000)]
r447: * Corrected some uninitialized value stuff in dh_suidregister (actually
quite a bad bug).
* dh_installman: fixed variable socoping error, so file conversions
should work now.
joey [Wed, 14 Feb 2001 23:18:29 +0000 (23:18 +0000)]
r445: * Updated dh_perl to a new version for the new perl organization and
policy. The -k flag has been done away with, as the new perl packages
don't make packlist files.
* Fixed some bugs in the new dh_perl and updated it to my current
debhelper coding standards.
* Use dh_perl to generate debhelper's own deps.
* Version number increase to meet perl policy.
joey [Sat, 10 Feb 2001 01:22:32 +0000 (01:22 +0000)]
r441: * Added dh_installman, a new program that replaces dh_installmanpages.
It is not DWIM. You tell it what to install and it figures out where
based on .TH section field and filename extention. I reccommend everyone
begin using it, since this is much better then dh_installmanpages's
evilness. I've been meaning to do this for a very long time.. Closes: #38673, #53964, #64297, #16933, #17061, #54059, #54373, #61816
* dh_installmanpages remains in the package for backwards compatability,
but is mildly deprecated.
* dh_testversion is deprecated; use build dependancies instead.
* dh_suidregister: re-enabled. Aj thinks that requiring people to stop
using it is unacceptable. Who am I to disagree with a rc bug report? Closes: #84910 It is still deprecated, and it will still whine at you
if you use it. I appreciate the job everyone has been doing at
switching to statoverrides..
* Since dh_debstd requires dh_installmanpages (where do you think the
latter's evil interface came from?), I have removed it. It was a nice
thought-toy, but nobody really used it, right?
* Since the from-debstd document walks the maintainer through running
dh_debstd to get a list of debhelper commands, and since that document
has really outlives its usefullness, I removed it too. Use dh-make
instead.
* dh_installman installs only into /usr/share/man, not the X11R6
directory. Policy says "files must not be installed into
`/usr/X11R6/bin/', `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this
is necessary for the package to operate properly", and I really doubt
a man page being in /usr/share/man is going to break many programs. Closes: #81853 (I hope the bug submitter doesn't care that
dh_installmanpages still puts stuff in the X11R6/man directory.)
* dh_undocumented now the same too now.
* dh_installinit: installs debian/package.default files as /etc/default/
files.
* Updated to current perl coding standards (use strict, lower-case
variable names, pod man pages).
* Since with the fixing of the man page installer issue, my checklist for
debhelper v3 is complete, I pronounce debhelper v3 done! Revved the
version number appropriatly (a large jump; v3 changes less than I had
planned). Note that I have no plans for a v4 at this time. :-)
* Testing: I have used this new version of debhelper to build a large
number of my own packages, and it seems to work. But this release
touches every file in this package, so be careful out there..
joey [Wed, 31 Jan 2001 06:42:25 +0000 (06:42 +0000)]
r414: * Added a suggests to debconf-utils, Closes: #83643
I may chenge this to a dependancy at some point in the future,
since one debconf command needs the package to work.
joey [Thu, 25 Jan 2001 02:04:03 +0000 (02:04 +0000)]
r410: * Added the ability to make debhelper read a different file than
debian/control as the control file. This is very useful for various and
sundry things, all Evil, most involving kernel packages.
joey [Wed, 10 Jan 2001 22:21:55 +0000 (22:21 +0000)]
r407: * suidmanager is obsolete now, and so is dh_suidmanager. Instead,
packages that contain suid binaries should include the binaries suid in
the .deb, and dpkg-statoverride can override this. If this is done
to a program that previously used suidmanager, though, you need to
conflict with suidmanager (<< 0.50).
* Made dh_suidmanager check to see if it would have done anything before.
If so, it states that it is obsolete, and refer users to the man
page, which now explains the situation, and then aborts the build.
If it would have done nothing before, it just outputs a warning that
it is an obsolete program.