r595: * dh_clean: Clean the *.debhelper temp files on a per-package basis, in
case dh_clean is run on one package at a time.
* Removed the debian/substvars removal code entirely. It was only there to
deal with half-built trees built with debhelper << 3.0.30
r594: * dh_installchangelogs: Install debian/NEWS as NEWS.Debian, even for native
packages. This doesn't follow the lead of the changelog for native
packages for the reasons discussed in bug #192089
joey [Thu, 12 Jun 2003 14:04:11 +0000 (14:04 +0000)]
r589: * Added dh_scrollkeeper, by Ross Burton.
* Added dh_userlocal, by Andrew Stribblehill. (With root.root special case
added by me.)
* Added dh_installlogcheck, by Jon Middleton. Closes: #184021
* Add aph's name to copyright file too.
joey [Mon, 24 Mar 2003 05:17:47 +0000 (05:17 +0000)]
r580: * Fixed dh_installcatalog's references to itself on man page. Closes: #184411
* dh_installdebconf: Set umask to sane before running po2debconf or
debconf-mergetemplates
joey [Sat, 22 Feb 2003 19:45:01 +0000 (19:45 +0000)]
r574: * wiggy didn't take my hint about making update-modules send warnings to
stderr, so its overly verbose stdout is now directed to /dev/null to
prevent conflicts with debconf. Closes: #150804
* dh_fixperms: only skip examples directories which in a parent of
usr/share/doc, not in a deeper tree. Closes: #152602
* dh_compress: stop even looking at usr/doc
joey [Wed, 19 Feb 2003 19:03:09 +0000 (19:03 +0000)]
r573: * dh_md5sums: note that it's used by debsums. Closes: #181521
* Make addsubstvars() escape the value of the variable before passing it to
the shell. Closes: #178524
* Fixed escape_shell()'s escaping of a few things.
joey [Thu, 19 Dec 2002 02:27:35 +0000 (02:27 +0000)]
r570: * List binary-common in .PHONY in rules.multi2. Closes: #173278
* Cleaned up error message if python is not installed. Closes: #173524
* dh_python: Bug fix from Josselin Mouette for case of building an arch
indep python package depending on a arch dependent package. However, I
used GetPackages() rather than add yet another control file parser.
Untested.
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.)