Joey Hess [Mon, 25 Apr 2011 23:29:59 +0000 (19:29 -0400)]
update for dh_ucf
Joey Hess [Mon, 25 Apr 2011 23:29:22 +0000 (19:29 -0400)]
docs
Joey Hess [Mon, 25 Apr 2011 23:27:09 +0000 (19:27 -0400)]
fix synopsis
does not process files from ARGV
Joey Hess [Mon, 25 Apr 2011 23:26:48 +0000 (19:26 -0400)]
rename to dh_ucf
does not actually install stuff
Jeroen Schot [Fri, 22 Apr 2011 10:15:10 +0000 (12:15 +0200)]
Bug#213078: debhelper: please consider providing dh_ucf
Here is a patch against the master branch that adds such a command
called dh_installucf. It also registers the conffiles with ucfr and
removes stray ucf-{new,old,dist} files on purge.
Joey Hess [Fri, 22 Apr 2011 20:27:24 +0000 (16:27 -0400)]
releasing version 8.1.4
Joey Hess [Fri, 22 Apr 2011 20:13:53 +0000 (16:13 -0400)]
changelog
Jeroen Schot [Fri, 22 Apr 2011 12:05:42 +0000 (14:05 +0200)]
Typo's in documentation regarding {pre,post}{inst,rm}
Joey Hess [Thu, 21 Apr 2011 18:12:03 +0000 (14:12 -0400)]
dh_clean: Remove debhelper logs for all packages, including packages not being acted on. dh can sometimes produce such logs by accident when passed bundled options (like "-Nfoo" instead of "-N foo") that it does not understand; and it was not possible to fix that for any compat level before v8. But also, such logs can occur for other reasons, like interrupted builds during development, and it should be safe to clean them all. Closes: #623446
Joey Hess [Tue, 5 Apr 2011 17:25:35 +0000 (13:25 -0400)]
releasing version 8.1.3
Joey Hess [Tue, 5 Apr 2011 17:16:59 +0000 (13:16 -0400)]
reorder v9 section and add missing =back
Joey Hess [Sun, 3 Apr 2011 17:23:14 +0000 (13:23 -0400)]
bugfix
Joey Hess [Sun, 3 Apr 2011 17:23:08 +0000 (13:23 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Joey Hess [Sun, 3 Apr 2011 17:21:06 +0000 (13:21 -0400)]
fix name of program
Valery Perrin [Sun, 3 Apr 2011 15:44:59 +0000 (17:44 +0200)]
French translation update
Joey Hess [Fri, 1 Apr 2011 18:54:32 +0000 (14:54 -0400)]
dh_installgsettings: New command to handle gsettings schema files. Closes: #604727
Joey Hess [Fri, 1 Apr 2011 18:48:33 +0000 (14:48 -0400)]
Removed old example rules files.
Joey Hess [Sat, 12 Mar 2011 18:20:53 +0000 (14:20 -0400)]
Depend on dpkg-dev (>= 1.16.0) for multiarch support.
Note to backporters: If you remove that dependency, debhelper will fall
back to not doing multiarch stuff in v9 mode, which is probably what you
want.
Joey Hess [Sat, 12 Mar 2011 18:16:55 +0000 (14:16 -0400)]
documentation
Joey Hess [Sat, 12 Mar 2011 18:04:55 +0000 (14:04 -0400)]
avoid depending on a dpkg that has DEB_HOST_MULTIARCH
Joey Hess [Sat, 12 Mar 2011 18:00:18 +0000 (14:00 -0400)]
layout
Steve Langasek [Fri, 11 Mar 2011 06:28:24 +0000 (22:28 -0800)]
Add support for multiarch.
Open compat level 9, which incompatibly changes dh_auto_configure behavior
to set --libdir and --libexecdir to the multiarch directory path. This
requires dpkg-dev 1.16.0 (not yet released) for the multiarch directory
variable, so bump the dependency to this version.
Also set a new substvar, misc:Pre-Depends, to multiarch-support, a virtual
package provided by versions of eglibc that support the multiarch library
paths at runtime; this needs to be a pre-dependency to ensure unpacked but
not-yet-configured libraries can still be found during upgrades, so library
packages converting to multiarch (i.e., switching to compat 9) will need to
add this substitution by hand to debian/control.
Joey Hess [Sun, 27 Feb 2011 19:44:10 +0000 (15:44 -0400)]
dh_auto_clean: Inhibit logging, so that, if dh_auto_clean is used in some rule other than clean, perhaps to clean up an intermediate build before a second build is run, debian/rules clean still runs it. Closes: #615553
Joey Hess [Sat, 26 Feb 2011 19:26:31 +0000 (15:26 -0400)]
typo
Joey Hess [Mon, 14 Feb 2011 18:30:35 +0000 (14:30 -0400)]
releasing version 8.1.2
Joey Hess [Mon, 14 Feb 2011 18:22:14 +0000 (14:22 -0400)]
Fix logging at end of an override target that never actually runs the overridden command. Closes: #613418
Joey Hess [Sun, 13 Feb 2011 20:55:07 +0000 (16:55 -0400)]
typo
Joey Hess [Fri, 11 Feb 2011 00:21:49 +0000 (20:21 -0400)]
releasing version 8.1.1
Joey Hess [Fri, 11 Feb 2011 00:21:27 +0000 (20:21 -0400)]
fix unterminated S<..> in spanish po
Joey Hess [Thu, 10 Feb 2011 23:56:44 +0000 (19:56 -0400)]
Improve handling of logging in override targets
Changes in
76ef1cbd64829ee4a5156a5fc4b887bcba6b974f broke
--remaining-packages in override target.
Now all debhelper commands run in the override target are marked as running
as part of the override, and when the whole target is run, the log is
updated to indicate that commands run during the override have finished.
So, inside the override target, --remaining-packages will see the commands
run as part of the target as having been run. Outside, if the target
fails, dh won't see the commands run it it as having been run.
Closes: #612828
Joey Hess [Tue, 8 Feb 2011 19:33:04 +0000 (15:33 -0400)]
changelog
Joey Hess [Tue, 8 Feb 2011 19:32:22 +0000 (15:32 -0400)]
refactor cross command generation
Joey Hess [Tue, 8 Feb 2011 19:26:28 +0000 (15:26 -0400)]
merge
Loïc Minier [Tue, 20 Apr 2010 08:22:57 +0000 (10:22 +0200)]
Use cross-binutils helpers when cross-compiling
dh_strip, dh_makeshlibs: use triplet-objdump, triplet-objcopy and
triplet-strip from cross-binutils when cross-compiling; closes: #412118.
Joey Hess [Sun, 6 Feb 2011 01:29:31 +0000 (21:29 -0400)]
releasing version 8.1.0
Joey Hess [Tue, 25 Jan 2011 21:13:21 +0000 (17:13 -0400)]
remove MODULEBUILDRC override
This doesn't work reliably, see #607313.
Probably that is caused by the perl_build buildsystem not being detected
for a package that has a Makefile.PL, and so MODULEBUILDRC is not
overridden. So, I could add it there too, but then it's also possible for
it to be run from a Makefile.. so I could add it to dh_auto_*. But
then there are packages that don't use those. So I conclude that dealing
with this in debhelper is out of its scope, and this needs to be fixed
at a higher level, probably dpkg-dev.
Joey Hess [Tue, 25 Jan 2011 20:01:08 +0000 (16:01 -0400)]
changelog
Steve Langasek [Mon, 17 Jan 2011 09:52:12 +0000 (01:52 -0800)]
dh_installinit: never call init scripts directly, only through invoke-rc.d
Joey Hess [Thu, 13 Jan 2011 22:10:50 +0000 (18:10 -0400)]
update to DEP-5
Joey Hess [Tue, 4 Jan 2011 16:54:03 +0000 (12:54 -0400)]
dh_compress: Ignore objects.inv files, generated by Sphinx documentation. Closes: #608907
Josselin Mouette [Tue, 4 Jan 2011 13:04:41 +0000 (14:04 +0100)]
Ignore objects.inv files, generated by Sphinx documentation
Joey Hess [Wed, 22 Dec 2010 18:49:18 +0000 (14:49 -0400)]
dh_compress: Javascript files are not compressed, as these go with (uncompressed) html files. Closes: #603553
Joey Hess [Tue, 7 Dec 2010 19:53:28 +0000 (15:53 -0400)]
Revert "changelog"
This reverts commit
c91178b5e6d02a057eec471eab4837db1e3a2f6c.
Joey Hess [Tue, 7 Dec 2010 19:53:12 +0000 (15:53 -0400)]
Revert "dh: Add sequence dependencies and satisfy dependencies prior to running sequence"
This reverts commit
c685546d18606fafee2ad9d3a1cb3d90dd7e9d5e.
Caused extra work, and possible FTBFS conditions.
Joey Hess [Tue, 7 Dec 2010 17:50:50 +0000 (13:50 -0400)]
changelog
Roger Leigh [Tue, 23 Nov 2010 18:00:06 +0000 (18:00 +0000)]
dh: Add sequence dependencies and satisfy dependencies prior to running sequence
Add %sequence_deps and invoke recursively prior to examining logs and
running commands in sequence. The supplied dependencies are equivalent
to the following make rules:
build: build-arch build-indep
install: install-arch install-indep
install-arch: build-arch
install-indep: build-indep
binary: binary-arch binary-indep
binary-arch: install-arch
binary-indep: install-indep
In the existing dh command sequences, the binary sequences all included
the corresponding install sequence commands, and in turn the install
sequences all included the corresponding build commands. While this
works, it has a major deficiency. If the "binary" sequence is run, it
will not run the "build" target in debian/rules. This leads to a
situation where building with dpkg-buildpackge, which would typically
invoke "debian/rules build" followed by "debian/rules binary-arch"
and/or "debian/rules debian-indep" may do something different than
just invoking "debian/rules binary" or "dh binary" because the build
target in debian/rules is effectively bypassed. This applies equally
to the -arch and -indep sequence variants.
This change eliminates the duplicated sequence commands, and instead
invokes the appropriate target(s) in debian/rules, as specified in the
%sequence_deps hash. In the common case, the dh sequence by the same
name will be called, so the behaviour is identical. However, this
provides a means to utilise all of the policy-specified targets, plus
the install targets and extend them with additional dependencies and
commands, while still allowing full use of dh and giving identical
behaviour whether dh or debian/rules targets are used.
Signed-off-by: Roger Leigh <rleigh@debian.org>
Roger Leigh [Sat, 27 Nov 2010 11:43:32 +0000 (11:43 +0000)]
dh: Use "architecture independent" rather than "binary independent" for consistency
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Sun, 5 Dec 2010 20:31:06 +0000 (16:31 -0400)]
dh_installdocs: Clarify that debian/README.Debian and debian/TODO are only installed into the first package listed in debian/control. Closes: #606036
Joey Hess [Mon, 22 Nov 2010 23:23:29 +0000 (19:23 -0400)]
dh_listpackages: Do not display warnings if options cause no packages to be listed.
Joey Hess [Mon, 22 Nov 2010 23:03:12 +0000 (19:03 -0400)]
changelog
Roger Leigh [Mon, 22 Nov 2010 20:58:20 +0000 (20:58 +0000)]
dh: Add support for build-arch, build-indep, install-arch and install-indep sequences
The existing binary-arch and binary-indep sequences depend upon these
new sequences, leading to the following possible orders:
binary → install → build
binary-arch → install-arch → build-arch
binary-indep → install-indep → build-indep
This is the logical dependency ordering of the sequences; the actual
order is of course in reverse so that build is followed by install
and binary.
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Mon, 22 Nov 2010 21:54:35 +0000 (17:54 -0400)]
reorder
Joey Hess [Mon, 22 Nov 2010 21:53:22 +0000 (17:53 -0400)]
dh: Improve filtering in dh_listpackages example. Closes: #604561
Roger Leigh [Mon, 22 Nov 2010 21:03:24 +0000 (21:03 +0000)]
dh: Use $(filter) rather than $(findstring)
$(findstring) can match partial strings and so is unreliable when a
package builds several binary packages and one package contains the
name of another package within its name. In these cases,
$(findstring) can return a partial match which leads to problems
(performing unwanted actions which could lead to build failure, for
example).
$(filter) matches the entire string in the wordlist, so is a
reliable replacement for $(findstring).
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Thu, 11 Nov 2010 22:32:58 +0000 (18:32 -0400)]
updated spanish translation after large typography change
Valéry Perrin [Sun, 7 Nov 2010 17:30:24 +0000 (18:30 +0100)]
French translation update after massive man page typography
Signed-off-by: Valéry Perrin <valery.perrin.debian@free.fr>
Joey Hess [Wed, 3 Nov 2010 03:02:16 +0000 (23:02 -0400)]
Fix deprecated command list on translated debhelper(7) man pages. Closes: #601204
Joey Hess [Wed, 3 Nov 2010 02:48:01 +0000 (22:48 -0400)]
dh: Inhibit logging for commands run inside override targets
Note that only the overridden command is inhibited. I wanted to avoid a
behavior change if a rules file runs other debhelper commands inside the
target, and relies on the logging preventing them being run later on in
the sequence.
Joey Hess [Wed, 3 Nov 2010 02:25:18 +0000 (22:25 -0400)]
Explicitly build-depend on a new enough perl-base. Closes: #601188
Joey Hess [Wed, 3 Nov 2010 02:24:24 +0000 (22:24 -0400)]
bugclose
Joey Hess [Wed, 3 Nov 2010 02:24:09 +0000 (22:24 -0400)]
typo
David Prévot [Tue, 19 Oct 2010 22:54:32 +0000 (18:54 -0400)]
Apply manual pages conventions
As advised in man(1), always use: B<bold text> type exactly as shown.
I<italic text> replace with appropriate argument.
s/debian/Debian/ if needed. s/ / / also.
s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
Joey Hess [Wed, 3 Nov 2010 00:10:20 +0000 (20:10 -0400)]
typo
Joey Hess [Tue, 2 Nov 2010 20:24:04 +0000 (16:24 -0400)]
maintscript files
dh_installdeb: Support debian/package.maintscript files, which can contain
dpkg-maintscript-helper commands. This can be used to automate moving or
removing conffiles, or anything added to dpkg-maintscript-helper later on.
Closes: #574443 (Thanks, Colin Watson)
Joey Hess [Wed, 27 Oct 2010 16:49:39 +0000 (12:49 -0400)]
note that the hardcoded arg_max here is obsolete
Joey Hess [Tue, 26 Oct 2010 15:43:22 +0000 (11:43 -0400)]
add file added by recent spanish update
Joey Hess [Thu, 21 Oct 2010 15:10:13 +0000 (11:10 -0400)]
Large update to Spanish man page translations by Omar Campagne. Closes: #600913
Joey Hess [Sun, 17 Oct 2010 23:16:14 +0000 (19:16 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Valéry Perrin [Fri, 15 Oct 2010 15:25:25 +0000 (17:25 +0200)]
Fix french misspelling and strings lenght
Joey Hess [Wed, 29 Sep 2010 20:36:13 +0000 (16:36 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Joey Hess [Wed, 29 Sep 2010 20:33:04 +0000 (16:33 -0400)]
stop testing jobserver availability code
Testing this is sensative to what FDs are inherited by the test script.
After the recent fix, it started breaking another way.
Valery Perrin [Sun, 26 Sep 2010 16:40:05 +0000 (18:40 +0200)]
update french translation.
Joey Hess [Mon, 13 Sep 2010 17:04:45 +0000 (13:04 -0400)]
Avoid open fd 5 or 6 breaking buildsystem test suite. Closes: #596679
Joey Hess [Tue, 17 Aug 2010 20:39:28 +0000 (16:39 -0400)]
Man page fixes about what program -u passes params to. Closes: #593342
Joey Hess [Fri, 13 Aug 2010 15:58:25 +0000 (11:58 -0400)]
correct license of dh_installinit
It was GPL 2+ ; Steve added some code and chose to bump the license to GPL 3,
which is his right (and I don't mind), but that code is still mixed with
2+ code, which is now 3+.
Joey Hess [Sat, 7 Aug 2010 15:51:39 +0000 (11:51 -0400)]
python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
(cherry picked from commit
865e6266a5eaae81004bf530bc23da1c3fdc10b1)
Conflicts:
debian/changelog
Joey Hess [Sat, 7 Aug 2010 15:50:07 +0000 (11:50 -0400)]
update
Joey Hess [Sat, 7 Aug 2010 15:49:14 +0000 (11:49 -0400)]
releasing version 8.0.0
Joey Hess [Sat, 7 Aug 2010 15:26:42 +0000 (11:26 -0400)]
Revert "python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759"
This reverts commit
865e6266a5eaae81004bf530bc23da1c3fdc10b1.
Conflicts:
debian/changelog
Too late for 8.0.0 since testing is frozen. Will put back in later.
Joey Hess [Sat, 7 Aug 2010 11:20:20 +0000 (07:20 -0400)]
Finalized v8 mode, which is the new recommended default.
Joey Hess [Sun, 25 Jul 2010 17:40:39 +0000 (13:40 -0400)]
python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
Carsten Hey [Sun, 18 Jul 2010 20:36:11 +0000 (22:36 +0200)]
Bug#589574: [PATCH] dh_fixperms: Ensure files in /etc/sudoers.d/ are mode 440. Closes: #589574
Signed-off-by: Carsten Hey <carsten@debian.org>
Joey Hess [Wed, 30 Jun 2010 18:44:16 +0000 (14:44 -0400)]
releasing version 7.9.3
Joey Hess [Wed, 30 Jun 2010 18:37:50 +0000 (14:37 -0400)]
perl_makemaker: import compat(). Closes: #587654
Joey Hess [Tue, 29 Jun 2010 21:44:23 +0000 (17:44 -0400)]
releasing version 7.9.2
Joey Hess [Thu, 24 Jun 2010 00:40:16 +0000 (20:40 -0400)]
In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, since perl_build is tried first. Avoids the makemaker warning message introduced by the fix to #527990.
Joey Hess [Wed, 16 Jun 2010 17:51:56 +0000 (13:51 -0400)]
releasing version 7.9.1
Joey Hess [Wed, 16 Jun 2010 16:47:08 +0000 (12:47 -0400)]
postrm-init: Avoid calling the error handler if update-rc.d fails. Closes: #586065
Joey Hess [Sun, 6 Jun 2010 22:21:51 +0000 (18:21 -0400)]
add autotools_dev example
Joey Hess [Fri, 28 May 2010 19:17:50 +0000 (15:17 -0400)]
Joey Hess [Fri, 28 May 2010 19:16:52 +0000 (15:16 -0400)]
Revert "In v8 mode, debhelper only ever acts on packages that can be built for the given architecture, even if -N or -p are used to specify packages specific to other architectures."
This reverts commit
653fb43cfa731d047deaf19b61aef2ebbeb00990.
Oops, I meant to not make this change.. -N was already fixed, and fixing -p
does not seem important.
Joey Hess [Fri, 28 May 2010 19:11:32 +0000 (15:11 -0400)]
update
Joey Hess [Fri, 28 May 2010 19:04:22 +0000 (15:04 -0400)]
In v8 mode, prefer the perl_build buildsystem over perl_makemaker. Closes: #578805
Joey Hess [Fri, 28 May 2010 18:41:58 +0000 (14:41 -0400)]
In v8 mode, debhelper only ever acts on packages that can be built for the given architecture, even if -N or -p are used to specify packages specific to other architectures.
Joey Hess [Fri, 28 May 2010 05:27:31 +0000 (01:27 -0400)]
dh_installchangelogs: Also look for changelog files in doc(s) subdirectories. Closes: #521258
Joey Hess [Fri, 28 May 2010 05:20:49 +0000 (01:20 -0400)]
dh_installchangelogs: Support packages placing their changelog in a file with a name like HISTORY. Closes: #582749
Joey Hess [Fri, 28 May 2010 01:31:21 +0000 (21:31 -0400)]
example
Joey Hess [Fri, 28 May 2010 01:24:09 +0000 (21:24 -0400)]
wording
Joey Hess [Fri, 28 May 2010 01:18:51 +0000 (21:18 -0400)]
consistently use v7 not V7 (etc)
Joey Hess [Fri, 28 May 2010 01:16:26 +0000 (21:16 -0400)]
In v8 mode, dh expects the sequence to run is always its first parameter.
This avoids ambiguities when parsing options to be passed on to debhelper
commands. (See #570039)
In the end, the idea of putting the debhelper command options after --
seemed to need too much knowledge about whether an option like
--buildsystem is a dh option or a command option.
I did consider making no change.. The ambiguities this eliminates are
small. But it seemed worth simplifying dh's option parser, and only about
1/6th of calls to dh in the archive don't put the sequence first already.
(Docs have shown that as the right thing to do for some time.)