[libheimdal-kadm5-perl] 26/27: Strip the LD_RUN_PATH setting from ExtUtils::MakeMaker

Russ Allbery eagle at eyrie.org
Mon Dec 18 05:02:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

rra pushed a commit to branch master
in repository libheimdal-kadm5-perl.

commit 3994afd56caa180867d485b94354a5f0c5ede80d
Author: Russ Allbery <eagle at eyrie.org>
Date:   Mon Dec 18 04:53:16 2017

    Strip the LD_RUN_PATH setting from ExtUtils::MakeMaker
    
    * Strip the LD_RUN_PATH setting added by ExtUtils::MakeMaker out of the
      generated Makefile before building the package.
---
 debian/changelog | 5 +++--
 debian/rules     | 4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 946627d..7fd522b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ libheimdal-kadm5-perl (0.08-5) UNRELEASED; urgency=medium
     Sergio Gelato.  (Closes: #670517)
   * Strip out the -rpath setting from the Heimdal krb5-config --libs call.
     This isn't necessary; the libraries are installed in the normal
-    library search path.  Only -L is needed (because of heimdal-multidev).
-  * Enable bindnow hardening flags.
+    library search path.
+  * Strip the LD_RUN_PATH setting added by ExtUtils::MakeMaker out of the
+    generated Makefile before building the package.
   * Fix spelling errors in manual page caught by Lintian.
   * Convert to a proper 3.0 (quilt) package with managed patches.
   * Contribute the package to the Debian Perl Group.
diff --git a/debian/rules b/debian/rules
index 677c8d5..3428d96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure
+	perl -i -pe 's/^LD_RUN_PATH = .*/LD_RUN_PATH =/' Makefile

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libheimdal-kadm5-perl.git



More information about the Pkg-perl-cvs-commits mailing list