summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
AgeCommit message (Collapse)AuthorFilesLines
2019-10-16dh_makeshlibs: Suggest --no-add-udeb for some casesNiels Thykier1-0/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-09-08dh_makeshlibs: Fix regression with automatic udeb detectionNiels Thykier1-0/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-09-01dh_makeshlibs: Disable control check with --add-udebNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-19dh_makeshlibs: Always verify that all udeb libs are accounted forNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-19dh_makeshlibs: Avoid erroring out under the noudeb profile due to empty udebsNiels Thykier1-8/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-19dh_makeshlibs: Disable auto-filtering of libraries in udebNiels Thykier1-2/+5
It cannot be implemented (at least not in this way) without breaking the noudeb profile and its requirements that deb packages are reproducible with and without the profile. Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-18dh_makeshlibs: Fix typoNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-18dh_makeshlibs: Restore "igore errors"-misfeature in compat 10 and earlierNiels Thykier1-2/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-17dh_makeshlibs: Fix bug in handling of -XNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-08-16dh_makeshlibs: Avoid including omitted libraries in the udeb on auto-detectionNiels Thykier1-4/+34
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-16dh_makeshlibs: Fix bug in --no-add-udebNiels Thykier1-2/+2
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-06dh_makeshlibs: Auto-detect udeb package for a debNiels Thykier1-4/+37
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-04-28dh_makeshlibs: Correct handling of default for -V vs. -V being omittedNiels Thykier1-2/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-04-28dh_makeshlibs: Gracefully handle multiple lib packages and explicit shlibs filesNiels Thykier1-9/+13
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-04-28dh_makeshlibs: Make -V(Upstream-Version) the default in compat 12Niels Thykier1-28/+76
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-22dh_makeshlibs: Fix --no-actNiels Thykier1-4/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-06dh_makeshlibs: Avoid duplicates for unversioned SONAMES in compat <= 11Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-31dh_makeshlibs: In c12, avoid passing SONAME-less binaries to dpkg-gensymbolsNiels Thykier1-6/+7
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-31dh_makeshlibs: Find all unversioned SONAMESNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-31dh_makehshlibs: Fix typo in verbose messageNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-31dh_makeshlibs: Optimize shlibs generation a bitNiels Thykier1-10/+14
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-11dh_makeshlibs: Ignore non-ELF files even if named .soNiels Thykier1-0/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-11Make cross_command package specificNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-11dh_strip/dh_makeshlibs: Move cross_commands into DOPACKAGES loopsNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-09-16dh_makeshlibs: Avoid warning about missing d/<pkg> dirNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-08-06dh_makeshlibs: Use qx_cmd in c11Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-08-03Avoid shell when calling file+objdumpNiels Thykier1-1/+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-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-01Fix typo in a commentNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Dh_Lib: Add a reset_perm_and_owner functionNiels Thykier1-2/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Refactor install_dir usage to avoid the "if -d " testsNiels Thykier1-6/+2
They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-01Add a dash in --no-scripts and --only-scripts for consistencyNiels Thykier1-3/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-03dh_makeshlibs: Special case unversioned SO with symbolsNiels Thykier1-7/+15
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-03dh_makeshlibs: Use the same SONAME regex as dpkg-shlibdepsNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-03dh_makeshlibs: Fix indentation issueNiels Thykier1-4/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-02-21dh_makeshlibs: Update documentation on the ldconfig triggerNiels Thykier1-2/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-02Drop support for compat level 3Niels Thykier1-4/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-09-10dh_makeshlibs: Use ldconfig trigger instead of maintscriptsNiels Thykier1-5/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-08-18Revert "dh_makeshlibs [compat 10]: Pass -X to ldconfig"Niels Thykier1-7/+2
This reverts commit 3543394784238e0f0c75988bb7a647fab0d8c26c. The glibc maintainers said this change would not make sense to deploy in debhelper. Instead, the change (if any) should be done on the glibc side.
2015-08-10dh_makeshlibs: Call dpkg-gensymbols on all libs even on errorNiels Thykier1-4/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-21dh_makeshlibs: Fix uninitialise warning on errorNiels Thykier1-1/+1
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-06-13dh_makesshibs: Fix typo in manpageNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-01dh_makeshlibs: Do not inject multiarch-support in misc:Pre-Depends anymoreGuillem Jover1-13/+0
This transition has long been completed. The version introducing this change was 8.1.3 shipped with squeeze, the release that included the relevant changes in glibc and the dynamic linker. Signed-off-by: Niels Thykier <niels@thykier.net>