summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-17Rewrite special-casing of ELF tools (dh_strip etc.) via an elf-tools sequenceNiels Thykier5-19/+60
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Fix logic for arch-only commands to make it testable againNiels Thykier4-20/+47
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Update documentation and changelog to cover new sequence/addon featuresNiels Thykier3-6/+47
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Dh_Lib: Only parse dh-sequence-X in dhNiels Thykier2-1/+7
We do not want to pay a non-trivial cost of loading Dpkg::Deps in every helper (for cases where that is needed to parse th dh-sequence clause). Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Dh_lib.pm: Extract d/control parse logic from getpackagesNiels Thykier1-6/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Generalize and move logic for filtering out arch-only helpersNiels Thykier2-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Support build-profiles and architecture restrictions for dh-sequence-X ↵Niels Thykier1-1/+9
build-depends Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Rewrite sequence handling to ensure add-on commands are ordered correctlyNiels Thykier4-125/+456
Previously, we relied on a command being inserted in the -arch sequence to be ordered correctly. With this rewrite, a command added only to the -indep sequence will still appear in the right order. Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh: Implement conditional sequence add-onsNiels Thykier2-31/+196
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh: Drop code only used for obsolete parametersNiels Thykier1-57/+10
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh_makeshlibs: Avoid including omitted libraries in the udeb on auto-detectionNiels Thykier2-4/+38
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh_makeshlibs: Move objdump logic into _all_so_filesNiels Thykier1-18/+23
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh_makeshlibs: Avoid shelling out to locate all SO filesNiels Thykier1-10/+23
Also, remove undocumented and useless compat code. Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16Add Closes for dh_makeshlibs bugNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh_makeshlibs: Fix bug in --no-add-udebNiels Thykier2-2/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15Dh_Lib: Add hint to resolve double-specified compat levelNiels Thykier2-0/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15dh_builddeb: Remove support for --destdirNiels Thykier2-10/+4
It is not useful as the packager cannot set it to anything as it is the builder that has an expectation of where the debs are produced. It would have been a lot more useful if the builder could have specified this value some how (but it would have to be aligned with dpkg with e.g. for the .changes). Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15Disable auto-abbrev of cli options in c13 to enable dh optimizationsNiels Thykier4-3/+24
Disable auto-abbreviation of command-line options in compat 13 and re-enable dh's optimization for skipping redundant commands when passed long options. Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15dh_auto_*: Officially adopt --sourcedir/--builddirNiels Thykier4-3/+9
Since the beginning, debhelper has accepted abbrevated command line parameters. Anyone that has been using (e.g.): dh $@ --sourcedir=foo To pass --sourcedir to dh_install has *also* implicitly passed it to the dh_auto_* helpers. Due to auto-abbrevation being enabled, they have considered it a short form of --sourcedirectory. This is trivially confirmable by comparing: dh_auto_configure --bar foo Unknown option: bar dh_auto_configure: unknown option or error during option parsing; aborting with dh_auto_configure --sourcedir foo dh_auto_configure: invalid or non-existing path to the source directory: foo Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15Lintian override: package-does-not-use-debhelper-or-cdbsAdam Borowski2-0/+5
It uses the freshest possible version of debhelper! Closes: debian/debhelper!22
2019-08-15CONTRIBUTING.md: Clarify that it is Debian's norms/rules that applyNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15CONTRIBUTING.md: Typo fix (ìn -> in)Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15CONTRIBUTING.md: Fixup a linkNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15Rewrite CONTRIBUTING.md in markdown as salsa does not render ReSTNiels Thykier1-77/+70
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15d/changelog: Describe Frank Schaefer's changesNiels Thykier1-1/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15dh_installmodules: Style fix for the regexNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-15look for .ko.(xz|bz2|gz) in addition to .koFrank Schaefer1-1/+1
2019-08-14d/changelog: Move dh_strip remark to a UNRELEASED versionNiels Thykier1-3/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-14dh_strip: Skip stripping of guile-2.2 filesNiels Thykier2-1/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-13dh: Remove dead variableNiels Thykier1-1/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-13CONTRIBUTING.rst: Fix typoSven Joachim1-1/+1
2019-08-13debhelper.pod: Fix typoSven Joachim1-1/+1
2019-08-13dh: Stop mentioning removed options in manpageSven Joachim1-34/+1
The --{until,after,before,remaining} were retroactively removed in debhelper 12.4 even for older compat levels.
2019-08-12Release debhelper/12.4Niels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-12dh: Remove support for --{until,after,before,remaining}Niels Thykier3-7/+17
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06Release debhelper/12.3Niels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06Regenerate POT and PO filesNiels Thykier6-12/+12
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06dh_makeshlibs: Fix typoNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06Regenerate POT and PO filesNiels Thykier6-448/+832
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06dh_makeshlibs: Auto-detect udeb package for a debNiels Thykier2-5/+45
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06dh_dwz: Skip multifile for udeb packagesNiels Thykier2-1/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06dh_dwz: Cope with missing multifiles by defaultNiels Thykier2-5/+26
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-06dh_dwz: Stop passing -q to dwzNiels Thykier2-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-21dh_installsystemduser: Fix bug in sorting of unit filesNiels Thykier2-3/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-20dh: Move an if-elsif chain out of an if and de-indentNiels Thykier1-40/+37
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-20Regenerate/normalize pt.poNiels Thykier1-340/+421
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-20Update on Portuguese translation of manpageAmérico Monteiro2-421/+347
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-19Release debhelper/12.2.3Niels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-19Dh_Getopt.pm: Improve warning when -p is ignoring in overridesNiels Thykier2-3/+27
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-07-19dh_installinit.t: Fix typo of quietFelix Lechner1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>