joey [Mon, 9 Dec 2002 17:21:33 +0000 (17:21 +0000)]
r568: * Fixed dh_python ordering in example rules files. Closes: #172283
* Make python postinst fragment only run python if it is installed, useful
for packages that include python modules but do not depend on python.
joey [Thu, 14 Nov 2002 16:00:08 +0000 (16:00 +0000)]
r562: * Make dh_install --list-missing honor -X excludes. Closes: #168739
* As a special case, if --sourcedir is not set (so is "."), make
--list-missing look only at what is in debian/tmp. This is gross, but
people have come to depend on that behavior, and that combination has no
other sane meaning. Closes: #168751
joey [Mon, 28 Oct 2002 16:28:35 +0000 (16:28 +0000)]
r559: * Added note to dh_installdebconf(1) about postinst sourcing debconf
confmodule. (Cf #106070)
* Added an example to dh_install(1). Closes: #166402
joey [Thu, 17 Oct 2002 00:41:45 +0000 (00:41 +0000)]
r558: * Use dpkg-architecture instead of dpkg --print-architecture (again?)
See #164863
* typo fix Closes: #164958 The rest seems clear enough from context, so
omitted.
joey [Mon, 7 Oct 2002 15:47:50 +0000 (15:47 +0000)]
r556: * Depend on po-debconf, and I hope I can drop the debconf-utils dep soon. Closes: #163569
* Removed debconf-utils build-dep. Have no idea why that was there.
* dh_installman: Don't use extended section as section name for translated
man pages, use only the numeric section as is done for regular man pages. Closes: #163534
joey [Sat, 5 Oct 2002 18:57:34 +0000 (18:57 +0000)]
r555: * dh_compress: Exclude .css files, to prevent broken links from html files,
and since they are generally small, and since this matches existing
practice. Closes: #163303
r552: * The "reverse hangover" release.
* dh_strip: better documentation, removed extraneous "item" from SYNOPSIS. Closes: #162493
* dh_strip: detect and don't strip debug/*.so files.
* Note that 4.1.11 changelog entry was incorrect, dh_perl worked fine
without that change, but the new behavior is less likely to break things
if dpkg-gencontrol changes.
* Various improvements to debhelper(1).
r551: * Make addsubstvars remove old instances of line before adding new. This
will make dh_perl get deps right for packages that have perl modules and
XS in them.
r547: * Use invoke-rc.d always now that it is in policy. Fall back to old behavior
if invoke-rc.d is not present, so versioned deps on sysvinit are not
needed.
joey [Sun, 4 Aug 2002 22:53:01 +0000 (22:53 +0000)]
r542: * dh_installinit: Always start daemon on upgraded even if
--no-restart-on-upgrade is given; since the daemon is not stopped
with that parameter starting it again is a no-op, unless the daemon was
not running for some reason. This makes transtions to using the flag
easier. Closes: #90976 and sorry it took me so long to verify you were
right.
r538: * Make dh_installchangelogs install debian/NEWS files as well, as
NEWS.Debian. Make dh_compress always compress them. The idea is to make
these files be in a machine parsable form, like the debian changelog, but
only put newsworthy info into them. Automated tools can then display new
news on upgrade. It is hoped that if this catches on it will reduce the
abuse of debconf notes. See discussion on debian-devel for details.
r536: * Patch from doogie to make dh_movefiles support -X. Closes: #150978
* Pound home in dh_installman's man page that yet, it really does do the
right thing. Closes: #150644
joey [Thu, 20 Jun 2002 01:31:47 +0000 (01:31 +0000)]
r532: * Added --mainpackage= option, of use in some kernel modules packages.
* dh_gencontrol only needs to pass -p to dpkg-gencontrol if there is more
than one package in debian/control. This makes it a bit more flexible in
some cases.
joey [Sun, 26 May 2002 05:06:51 +0000 (05:06 +0000)]
r528: * Consistently use the which command instead of command -v or hardcoded
paths in autoscripts. Neither is in posix, but which is in debianutils, so
will always be available. command -v is not available in zsh. Closes: #148172
joey [Thu, 23 May 2002 00:48:47 +0000 (00:48 +0000)]
r525: * dh_strip: If a file is an ELF shared binary, does not have a .so.* in its
name, stirp it as a ELF binary. It seems that GNUstep has files of this
sort. See bug #35733 (not sufficient to close all of it).
joey [Sun, 19 May 2002 03:06:41 +0000 (03:06 +0000)]
r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directories
from processing by any command that takes a -X option, and dh_builddeb
will also go in and rm -rf any that still sneak into the build tree.
* dh_install: A patch from Eric Dorland <eric@debian.org> adds support for
--sourcedir, which allows debian/package.files files to be moved over to
debian/package.install, and just work. Closes: #146847
* dh_movefiles: don't do file tests in no-act mode. Closes: #144573
* dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate.
Means debhelper has to depend on debconf-utils 1.1.1.
r519: * dh_installdebconf: allow parameters after -- to go to
debconf-mergetemplate.
* dh_installman: don't whine about zero-length man pages in .so conversion.
* Forgot to export filedoublearray, Closes: #142784
r518: * dh_movefiles has long been a sore point in debhelper. Inherited
from debstd, its interface and implementation suck, and I have maintained
it while never really deigning to use it. Now there is a remplacment:
dh_install, which ...
- copies files, doesn't move them. Closes: #75360, #82649
- doesn't have that whole annoying debian/package.files vs. debian/files
mess, as it uses debian/install.
- supports copying empty subdirs. Closes: #133037
- doesn't use tar, thus no error reproting problems. Closes: #112538
- files are listed relative to the pwd, debian/tmp need not be used at
all, so no globbing issues. Closes: #100404
- supports -X. Closes: #116902
- the whole concept of moving files out of a directory is gone, so this
bug doesn't really apply. Closes: #120026
- This is exactly what Bill Allombert asked for in #117383, even though I
designed it seemingly independantly. Thank you Bill! Closes: #117383
* Made debhelper's debian/rules a lot simpler by means of the above.
* Updated example rules file to use dh_install. Also some reordering and
other minor changes.
* dh_movefiles is lightly deprecated, and when you run into its bugs and
bad design, you are incouraged to just use dh_install instead.
* dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039
* dh_fixperms: in v4 only, make all files in etc/init.d executable (of
course there's -X ..)
* dh_link: in v4 only, finds existing, non-policy-conformant symlinks
and corrects them. This has the side effect of making dh_link idempotent.
* Added a -h/--help option. This seems very obvious, but it never occured to
me before..
* use v4 for building debhelper itself
* v4 mode is done, you may now use it without fear of it changing.
(This idea of this upload is to get v4 into woody so people won't run into
many issues backporting from sarge to woody later on. Packages targeted
for woody should continue to use whatever compatability level they are
using.)
joey [Sun, 17 Feb 2002 17:52:47 +0000 (17:52 +0000)]
r510: * Thanks to Benjamin Drieu <benj@debian.org>, dh_installdocs -X now works.
I had to modify his patch to use cp --parents, since -P spews warnings
now. Also, I made it continue to use cp -a if nothing is excluded,
which is both faster, and means this patch is less likely to break
anything if it turns out to be buggy. Also, stylistic changes. Closes: #40649
* Implemented -X for dh_installexamples as well.
* dh_clean -X substvars will also work now. Closes: #66890
joey [Sun, 27 Jan 2002 06:34:33 +0000 (06:34 +0000)]
r506: * Introduced the debian/compat file. This is the new, preferred way to say
what debhelper compatability level your package uses. It has the big
advantage of being available to debhelper when you run it at the command
line, as well as in debian/rules.
* A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d.
This is in v4 for testing, but I may well roll it back into v3 (and
earlier) once woody is released and I don't have to worry about breaking
things (and, presumably, once invoke-rc.d enters policy).
* Some debhelper commands will now build up a new substvars variable,
${misc:Depends}, based on things they know your package needs to depend
on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to
that dep list, and dh_installxfonts adds a dep on xutils. This variable
should make it easier to keep track of what your package needs to depends
on, supplimenting the ${shlibs:Depends} and ${perl:Depends} substvars.
Hmm, this appears to be based loosely on an idea by Masato Taruishi
<taru@debian.org>, filtered through a long period of mulling it over. Closes: #76352
* Use the addsubstvar function I wrote for the above in dh_perl too.
joey [Sun, 27 Jan 2002 00:49:02 +0000 (00:49 +0000)]
r504: * dh_installman: more documentation about the .TH line. Closes: #129205
* dh_installxfonts:
- Packages that use this should depend on xutils. See man page.
- However, if you really want to, you can skip the dep, and the
postinst will avoid running program that arn't available. Closes: #131053
- Use update-fonts-dir instead of handling encodings ourselves. Yay!
- Pass only the last component of the directory name to
update-fonts-*, since that's what they perfer now.
- Other changes, chould fully comply with Debian X font policy now.
joey [Sun, 27 Jan 2002 00:25:37 +0000 (00:25 +0000)]
r503: * dh_installman: more documentation about the .TH line. Closes: #129205
* dh_installxfonts:
- Packages that use this should depend on xutils. See man page.
- However, if you really want to, you can skip the dep, and the
postinst will avoid running program that arn't available. Closes: #131053
- Use update-fonts-dir instead of handling encodings ourselves. Yay!
- Pass only the last component of the directory name to
update-fonts-*, since that's what they perfer now.
- Other changes, chould fully comply with Debian X font policy now.
joey [Sun, 6 Jan 2002 04:58:07 +0000 (04:58 +0000)]
r501: * Began work on v4 support (and thus the large version number jump), and it
is only for the very brave right now since I will unhesitatingly break
compatability in v4 mode as I'm developing it. Currently, updating to v4
mode will only make dh_makeshlibs -V generate shared library deps that
omit the debian part of the version number. The reasoning behind this
change is that the debian revision should not typically break binary
compatability, that existing use of -V is causing too tight versioned
deps, and that if you do need to include the debian revision for some
reason, you can always write it out by hand. Closes: #101497
* dh_testversion is deprecated -- use build deps instead. A warning message
is now output when it runs. Currently used by: 381 packages.
* dh_installxaw is deprecated -- xaw-wrappers in no longer in the
distribution. A warning message is now output when it runs. Currently used
by: 3 packages (bugs filed).
* Added referneces to menufile in dh_installmenu man page. Closes: #127978
(dh_make is not a part of debhelper, if you want it changed, file a bug on
dh-make.)
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