summaryrefslogtreecommitdiff
path: root/dh_builddeb
AgeCommit message (Collapse)AuthorFilesLines
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-06-14dh_builddeb: Let dpkg choose the filename of the ddebNiels Thykier1-2/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-20Update documentation of dh_builddeb and dh_gencontrolNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-20dh_builddeb: Skip ddebs without control filesNiels Thykier1-8/+16
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-02dh_builddeb: Use explicit -Z arg for ddebs to avoid FTBFSNiels Thykier1-3/+18
When maintainer passes (e.g.) -Zgzip to dpkg-deb via dh_builddeb, then we cannot pass that AND -Sextreme to dpkg-deb as gzip does not support the "extreme" compression strategy. For now, simply use the compression parameters given by the maintainer for the .ddeb as well. It is not clear to me that this is truly the best long term solution. The maintainer probably only wanted the -Z to apply for the actual deb and not the ddeb. Reported-by: Reiner Herrmann <reiner@reiner-h.de> Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-02dh_builddeb: Also build ddebs for udebsNiels Thykier1-6/+6
As dh_gencontrol creates a control file for it and adds it to d/files, dh_builddeb needs to build it as well. Otherwise, post-build tools might be confused by the absence of a (d)deb listed in d/files. Reported-by: Reiner Herrmann <reiner@reiner-h.de> Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-02Add experimental .ddeb supportNiels Thykier1-0/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2012-05-13document parallel buildsJoey Hess1-0/+3
2012-05-13dh_builddeb: Build udebs with xz compression, level 1, extreme strategy.Joey Hess1-1/+2
* dh_builddeb: Build udebs with xz compression, level 1, extreme strategy. This has been chosen to not need any more memory or cpu when uncompressing, while yeilding the best compressions for udebs. Thanks, Philipp Kern. * Depend on a new enough dpkg for above features. Backporters will need to revert these changes.
2011-09-09Tighten parsing of DEB_BUILD_OPTIONS.Joey Hess1-4/+1
A future nostripexceptonfullmoon option seems unlikely, but sure, let's be strict. More importantly, let's reuse good code.
2011-07-17tweakJoey Hess1-1/+1
2011-07-17fix exit status propigationJoey Hess1-34/+40
Also simplified a lot by not special-casing the base case, at the cost of always forking once.
2011-07-17no need to wait when parallel is disabledJoey Hess1-1/+1
2011-07-17minorJoey Hess1-2/+3
2011-07-17dh_builddeb: support for parallel builds of debsGergely Nagy1-17/+42
Implement support for parallel deb builds, when DEB_BUILD_OPTIONS has parallels=N - limiting the number of forked processes to N. Requested-By: Kari Pahula <kaol@debian.org> Signed-Off-By: Gergely Nagy <algernon@madhouse-project.org>
2010-11-02Apply manual pages conventionsDavid Prévot1-4/+4
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.
2009-11-04Add deprecation warnings for -u to the documentation, since putting options ↵Joey Hess1-2/+5
after -- is much more sane. (However, -u will not go away any time soon.) Closes: #554509
2009-08-04dh_builddeb: Fix man page typo. Closes: #539976Joey Hess1-1/+1
2009-06-28clean up --sourcedir/--sourcedirectory conflictJoey Hess1-0/+1
* Move two move command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir * If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). This was done because of a conflict with the --sourcedirectory options used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install both use --sourcedir, but that didn't work out.
2008-10-21Move many command-specific options to only be accepted by the command that ↵Joey Hess1-1/+3
uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later.
2008-06-16Typo fix. Closes: #486464Joey Hess1-1/+1
2008-04-23initial version of dh, with option parsing and sequences in placeJoey Hess1-1/+1
2007-04-09r1980: * prerm and postrm scripts are now generated in a reverse order thanjoeyh1-2/+9
preinst and postinst scripts. For example, if a package uses dh_pysupport before dh_installinit, the prerm will first stop the init script and then remove the python files. * Introducing beginning of v6 mode. * dh_installwm: In v6 mode, install a slave manpage link for x-window-manager.1.gz. Done in v6 mode because some window managers probably work around this longstanding debhelper bug by registering the slave on their own. This bug was only fixable once programs moved out of /usr/X11R6. Closes: #85963 * dh_builddeb: In v6 mode, fix bug in DH_ALWAYS_EXCLUDE handling, to work the same as all the other code in debhelper. This could only be fixed in v6 mode because packages may potentially legitimately rely on the old buggy behavior. Closes: #242834 * dh_installman: In v6 mode, overwrite exsiting man pages. Closes: #288250
2004-02-09r1655: * Added udeb support, as pioneered by di-packages-build. Understandsversion_4.2.0joey1-1/+10
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for details. * Dh_Lib: add and export is_udeb and udeb_filename * dh_builddeb: name udebs with proper extension * dh_gencontrol: pass -n and filename to dpkg-gencontrol * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, dh_installexamples, dh_installman, dh_installmanpages: skip udebs * dh_shlibdeps: skip udebs. This may be temporary. * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, or prerms for udebs. Do not substiture #DEBHELPER# tokens in postinst scripts for udebs. * dh_installdebconf: skip config script for udebs, still do templates
2003-04-06r582: * Fix build with 077 umask. Closes: #187757joey1-1/+2
* Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2002-11-24r567: * dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass ↵joey1-3/+3
extra params to dpkg-deb. Closes: #170330
2002-09-09r546: * dh_builddeb(1): It's --filename, not --name. Closes: #160151joey1-2/+2
2002-05-19r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directoriesjoey1-0/+3
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.
2002-01-10r502: * Fixed programmer's documentation of DOINDEP and DOARCH, Closes: ↵joey1-1/+1
#128546 * Fixed dh_builddeb SYNOPSIS, Closes: #128548
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-2/+1
2001-02-09r431: pod over for the nightjoey1-0/+1
2001-02-09r426: updatejoey1-2/+2
2001-02-09r423: podized man pagejoey1-2/+53
2001-02-09r420: big monsta changesjoey1-3/+4
2000-11-06r381: * dh_builddeb: Ok, it is cosmetic, but it annoyed me.joey1-1/+4
2000-10-28r380: * dh_builddeb: added a --filename option to specify the output ↵joey1-1/+5
filename. This is intended to be used when building .udebs for the debian installer.
2000-03-02r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey1-2/+1
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.
1999-10-26r296: * dh_builddeb: -u can be passed to this command now, followed byjoey1-5/+15
any extra parameters you want to pass to dpkg-deb (Closes: #48394)
1999-08-17r1: Initial revisionjoey1-0/+7