[SCM] Debian packaging of Text-BibTeX CPAN distribution branch, master, updated. debian/0.64-1-10-gdd7e124

gregor herrmann gregoa at debian.org
Wed Dec 12 18:51:55 UTC 2012


The following commit has been merged in the master branch:
commit bd33f5ea1ecb27781a1f4473c6b5328bf121cc30
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Dec 12 19:48:37 2012 +0100

    New patch 0007-hardening-flags.patch: add $ENV{LDFLAGS} when linking the library.

diff --git a/debian/patches/0007-hardening-flags.patch b/debian/patches/0007-hardening-flags.patch
new file mode 100644
index 0000000..9677e51
--- /dev/null
+++ b/debian/patches/0007-hardening-flags.patch
@@ -0,0 +1,17 @@
+Description: add LDFLAGS when linking the .so
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-12-12
+
+--- a/inc/MyBuilder.pm
++++ b/inc/MyBuilder.pm
+@@ -327,7 +327,7 @@
+     if ($^O =~ /darwin/) {
+         $extra_linker_flags = "-install_name $libpath";
+     } elsif ($LIBEXT eq ".so") {
+-        $extra_linker_flags = "-Wl,-soname,$SONAME";
++        $extra_linker_flags = "-Wl,-soname,$SONAME $ENV{LDFLAGS}";
+     }
+ 
+     if (!$self->up_to_date(\@objects, $libfile)) {
diff --git a/debian/patches/series b/debian/patches/series
index 59e75bb..7bbfbee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-disable-rpath-if-installing-into-usr-lib.patch
 0005-no-ldconfig.patch
 0006-manpage-section.patch
+0007-hardening-flags.patch

-- 
Debian packaging of Text-BibTeX CPAN distribution



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