[SCM] Debian packaging of libnet-pcap-perl branch, master, updated. 8fe060278fd373d68644929ccfa1e92a09cfab72

Xavier Guimard x.guimard at free.fr
Sat Mar 9 06:53:28 UTC 2013


The following commit has been merged in the master branch:
commit 45b898c6f16e2b096154bdd20205da23f2feebd7
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Sat Mar 9 07:51:12 2013 +0100

    Add patch to force -relro in LDFLAGS

diff --git a/debian/patches/0002-Add-relro-in-LDFLAGS.patch b/debian/patches/0002-Add-relro-in-LDFLAGS.patch
new file mode 100644
index 0000000..236bd2a
--- /dev/null
+++ b/debian/patches/0002-Add-relro-in-LDFLAGS.patch
@@ -0,0 +1,15 @@
+Description: force LDFLAGS to include hardening flags
+Author: Xavier Guimard <x.guimard at free.fr>
+Forwarded: not-needed
+Last-Update: 2013-03-09
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -25,6 +25,7 @@
+     $options{CCFLAGS} = $Config{ccflags} . " -Wall -Wwrite-strings"
+         if $Config{ccname} eq "gcc" and $] >= 5.006;
+     $options{LIBS}    = '-lpcap';
++    $options{LDDLFLAGS} = '-shared -fstack-protector -Wl,-z,relro';
+ }
+ 
+ for my $arg (@ARGV) {
diff --git a/debian/patches/series b/debian/patches/series
index 6b8cbc4..8561f21 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
-safe_signals.patch
 0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
+spelling-errors.patch
+0002-Add-relro-in-LDFLAGS.patch

-- 
Debian packaging of libnet-pcap-perl



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