[libmath-gsl-perl] 01/01: Adjust buildflags and DEP3-Headers in Hardening Build Patch
Wolfgang Fütterer
debian at wlf-online.de
Wed Dec 9 12:42:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
wlfuetter-guest pushed a commit to branch master
in repository libmath-gsl-perl.
commit c25410cc0e0543a1a0c85e2c4ea2f985ce870534
Author: Wolfgang Fütterer <debian at wlf-online.de>
Date: Wed Dec 9 13:20:43 2015 +0100
Adjust buildflags and DEP3-Headers in Hardening Build Patch
---
debian/changelog | 9 ---------
debian/patches/0001-Hardening-Build-Patch.patch | 11 ++++++-----
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f42b2fb..2bea664 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,5 @@
libmath-gsl-perl (0.35-1) UNRELEASED; urgency=low
- TODO:
- - debian/patches/0001-Hardening-Build-Patch.patch
- + please add some more DEP3 headers
- + insted of hardcoding the flags, it might work to take them from
- $ENV{CFLAGS} + $ENV{CPPFLAGS}, and $ENV{LDFLAGS}.
- this would bring in changed default flags from dpkg automatically.
- `dpkg-buildflags' is nice for copying the right variables :)
- (or maybe from %Config but I'm not sure if everything is there)
-
* Initial Release (Closes: #804015)
-- Wolfgang Fütterer <debian at wlf-online.de> Thu, 05 Nov 2015 15:00:36 +0100
diff --git a/debian/patches/0001-Hardening-Build-Patch.patch b/debian/patches/0001-Hardening-Build-Patch.patch
index 16cd9f3..67d27eb 100644
--- a/debian/patches/0001-Hardening-Build-Patch.patch
+++ b/debian/patches/0001-Hardening-Build-Patch.patch
@@ -1,6 +1,7 @@
-From: =?utf-8?q?Wolfgang_F=C3=BCtterer?= <debian at wlf-online.de>
-Date: Fri, 6 Nov 2015 09:09:46 +0100
-Subject: Hardening Build Patch
+Description: Add hardening flags
+Forwarded; no
+Author: Wolfgang Fütterer <debian at wlf-online.de>
+Last-Update: 2015-11-25
---
Build.PL | 3 +++
@@ -14,8 +15,8 @@ index e6075d2..625bd8b 100644
$ccflags .= " $Config{ccflags}"; # we need this for some Linuxes
-+$ccflags .= " -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2"; #Needed for hardening on debian
-+$ldflags .= " -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"; #Needed for hardening on debian
++$ccflags .= " $ENV{CFLAGS} $ENV{CPPFLAGS}"; #Needed for hardening on debian
++$ldflags .= " $ENV{CFLAGS} $ENV{LDFLAGS}"; #Needed for hardening on debian
+
## Swig produces a number of GCC warnings. Turn them off if we can.
$ccflags .= try_cflags("-Wall");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-gsl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list