[SCM] BOINC packaging branch, master, updated. upstream/7.0.28+dfsg-444-g0845a6e

Steffen Moeller steffen_moeller at gmx.de
Sun May 20 16:26:42 UTC 2012


The following commit has been merged in the master branch:
commit 0845a6e88cb77bbd2ee2545345d29608f1c65ea3
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Sun May 20 14:59:24 2012 +0200

    Adding hardening compiler flags

diff --git a/debian/changelog b/debian/changelog
index 744016a..4bdeb2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-boinc (7.0.28+dfsg-1) UNRELEASED; urgency=low
+boinc (7.0.28+dfsg-1) unstable; urgency=low
 
   * New upstream version.
+  * Adding hardening flags.
 
  -- Steffen Moeller <moeller at debian.org>  Sat, 19 May 2012 12:19:25 +0200
 
diff --git a/debian/rules b/debian/rules
index 9ea5ef1..16313d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,7 +101,11 @@ endif
 
 CFLAGS += -g -Wall
 CXXFLAGS += -g -Wall
+CFLAGS += -D_FORTIFY_SOURCE=1 -fstack-protector
+CXXFLAGS += -D_FORTIFY_SOURCE=1 -fstack-protector
 LDFLAGS += -Wl,--as-needed
+LDFLAGS += -Wl,-z,relro
+LDFLAGS += -Wl,-z,now
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
   DEB_OPT_FLAGS = -O0

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list