[debhelper-devel] Bug#35733: debhelper: dh_strip, dh_fixperms, dh_shlibdeps don't recognize all shared libs

IOhannes m zmölnig (Debian/GNU) umlaeute at debian.org
Wed Sep 13 08:59:17 UTC 2017


i've prepared a patch for dh_strip and dh_shlibdeps that is supposed to
fix this problem.

  https://anonscm.debian.org/git/users/umlaeute/debhelper.git

the patch adds a "--add-shlib=" option to dh_strip and dh_shlibdeps, to
specify additional globbing patterns to take into account for shared
libraries.
the option can be given multiple times to specify multiple patterns.

i've *not* prepared a patch for dh_fixperms because it is trivial enough
to fix the permissions manually.

also, the patch hit the size-limit ("<200 lines") of dh_strip (even
though i added only 8 lines of code, and removed 1...)
therefore, i've trimmed down the dh_strip code a bit, hopefully without
affecting code readability (however, some style checkers might
complain). it still feels a bit like cheating (and is done in a separate
commit, so it can be reverted).

mgfasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170913/6cfb2da5/attachment-0003.sig>


More information about the debhelper-devel mailing list