summaryrefslogtreecommitdiff
path: root/dh_installdeb
AgeCommit message (Collapse)AuthorFilesLines
2017-11-25dh_installdeb: Basic validation of {rm,mv}_conffileNiels Thykier1-0/+49
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-08-13dh_installdeb: Remove unnecessary version dpkg Pre-DependsNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-12reset_perm_and_owner: Use perl functions instead of fork+execNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-07Dh_Lib: Embed tool versions into auto-generated snippetsNiels Thykier1-0/+2
Use $main::VERSION to determine the version of the tool and embed that into auto-generated snippets (e.g. via autoscript). This enables lintian to extract the tool + version and display it on: https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-03Set Emacs file variables directory-wideSven Joachim1-6/+0
Set the local variables for Emacs in the central placed intended for it, rather than in (currently) 95 individual files. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Avoid fork+exec for rm -f and ln -s in non-deprecated toolsNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Dh_Lib: Add a reset_perm_and_owner functionNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Refactor install_dir usage to avoid the "if -d " testsNiels Thykier1-3/+1
They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
2016-02-27dh_installdeb: Clarify what goes in maintscript config fileNiels Thykier1-2/+10
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-02-22dh_installdeb: Fix maintscript shell-escape bugNiels Thykier1-14/+48
At the same time, also avoid admitting 2 comments per line in the maintscript config file (when 2 comment lines in total will do). Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-21Remove some compat(2) guardsNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-09-10dh_makeshlibs: Use ldconfig trigger instead of maintscriptsNiels Thykier1-1/+28
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-03-28Let dh_makeshlibs install shlibs files (instead of dh_installdeb)Niels Thykier1-1/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-08Add leading 0 to "mode" parametersMartin Koeppe1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-08Migrate some calls to use the new install_X subsMartin Koeppe1-4/+3
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>
2014-11-21dh_installdeb: Bump dpkg-dev Pre-Depends for dir_to_symlinkNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-11-20dh_installdeb: Raise required dpkg version for symlink_to_dir to 1.17.14Axel Beckert1-1/+1
It is needed in case of relative symlinks. Closes: #770245
2014-10-22dh_installdeb: register conffiles in a stable orderJérémy Bobbio1-1/+1
conffiles were automatically registered by dh_installdeb depending on the order they were found on the filesystem. For build reproducibility, we now sort them in order to have a stable order accross multiple builds.
2013-12-13dh_installdeb: add support for d-m-h commands symlink_to_dir, dir_to_symlinkAndreas Beckmann1-0/+2
these two new dpkg-maintscript-helper commands were added in dpkg 1.17.2 (and fixed in 1.17.5, therefore using this version for Pre-Depends)
2013-12-13Revert "dh_installdeb: add support for d-m-h commands symlink_to_dir, ↵Joey Hess1-2/+0
dir_to_symlink" This reverts commit 1e42d7e017cc36ec10e029abac78a1ffceea72f9.
2013-12-09dh_installdeb: add support for d-m-h commands symlink_to_dir, dir_to_symlinkAndreas Beckmann1-0/+2
these two new dpkg-maintscript-helper commands were added in dpkg 1.17.2
2013-05-05dh_installdeb: Drop pre-dependency on dpkg for dpkg-maintscript-helper. ↵Joey Hess1-8/+4
Closes: #703264
2012-10-25dh_installdeb: Avoid unnecessary is_udeb tests. Closes: #691398Joey Hess1-9/+9
2010-11-02Apply manual pages conventionsDavid Prévot1-6/+6
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.
2010-11-02typoJoey Hess1-1/+1
2010-11-02maintscript filesJoey Hess1-0/+36
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)
2010-05-27consistently use v7 not V7 (etc)Joey Hess1-1/+1
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-18/+29
2009-08-05dh_installdeb: In udeb mode, support the menutest and isinstallable ↵Joey Hess1-4/+7
maintainer scripts. Closes: #540079 Thanks, Colin Watson.
2007-10-22r2041: * dh_installdeb: Add support for dpkg triggers, by installingjoeyh1-1/+2
debian/package.triggers files.
2005-10-02r1793: releasing version 4.9.124.9.12joey1-6/+8
2005-03-27r1743: releasing version 4.2.324.2.32joey1-29/+3
2004-02-09r1655: * Added udeb support, as pioneered by di-packages-build. Understandsversion_4.2.0joey1-0/+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-08-18r1590: * Converted several chown 0.0 to chown 0:0 for POSIX 200112.version_4.1.65joey1-2/+2
* dh_python: patch from Josselin to support packages only shipping binary (.so) modules, and removal of any already byte-compiled .py[co] found.
2003-07-07r595: * dh_clean: Clean the *.debhelper temp files on a per-package basis, injoey1-5/+5
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
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-2/+2
* Typo, Closes: #183267
2002-11-15r564: * Still run potodebconf after warning about templates.ll files.joey1-1/+0
2002-01-27r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey1-1/+1
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.
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1
2001-11-17r495: * dh_undocumented: check for existing uncompressed man pages. ↵joey1-2/+2
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
2001-02-09r428: the never ending podizationjoey1-2/+52
2001-02-09r420: big monsta changesjoey1-25/+26
2000-11-27r393: * DH_COMPAT=3 now enables the following new features which I can't justjoey1-0/+3
turn on by default for fear of breaking backwards compatability: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi <taru@debian.org> (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead.
2000-11-27r392: * DH_COMPAT=3 now enables the following new features which I can't justjoey1-0/+10
turn on by default for fear of breaking backwards compatability: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi <taru@debian.org> (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead.
2000-07-21r360: * Never refer to root, always uid/gid "0". Closes: #67508joey1-4/+4
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-09-29r284: * Enhanced debconf support -- the database is now cleaned up on packagejoey1-2/+2
purge. * Broke all debconf support off into a dh_installdebconf script. This seems conceptually a little cleaner.
1999-09-17r279: * dh_shlibdeps: detect statically linked binaries and don't pass ↵joey1-34/+43
them to dpkg-shlibdeps. * dh_installdeb: debconf support.