This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository gosmore.
commit 800c157ff9ff5ceccbad22a0f1ddfa99564555b2 Author: Bas Couwenberg <[email protected]> Date: Sat May 7 01:05:01 2016 +0200 Enable all hardening buildflags. --- debian/changelog | 1 + debian/patches/hardening.patch | 14 ++++++++++++++ debian/patches/series | 1 + debian/rules | 3 +++ 4 files changed, 19 insertions(+) diff --git a/debian/changelog b/debian/changelog index c66d9df..5861921 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,7 @@ gosmore (0.0.0.20150815-1) UNRELEASED; urgency=medium [ Bas Couwenberg ] * Enable parallel builds. * Update Vcs-Git URL to use HTTPS. + * Enable all hardening buildflags. -- Ross Gammon <[email protected]> Sat, 15 Aug 2015 23:22:09 +0200 diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch new file mode 100644 index 0000000..dc25858 --- /dev/null +++ b/debian/patches/hardening.patch @@ -0,0 +1,14 @@ +Description: Use hardening buildflags set in the environment. +Author: Bas Couwenberg <[email protected]> + +--- a/Makefile.in ++++ b/Makefile.in +@@ -9,7 +9,7 @@ prefix = @prefix@ + bindir = $(prefix)/bin + datarootdir = $(prefix)/share + +-CFLAGS=-O2 -DRES_DIR=\"$(prefix)/share/gosmore/\" -fno-strict-overflow ++CFLAGS+=-O2 -DRES_DIR=\"$(prefix)/share/gosmore/\" -fno-strict-overflow + WARNFLAGS= -W -Wall + + #"------------------------ Compiling with cegcc : --------------------------- diff --git a/debian/patches/series b/debian/patches/series index 3087cb8..74d94f6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ curl_types.h no-strict-overflow.diff linker_flags.diff +hardening.patch diff --git a/debian/rules b/debian/rules index ab0e265..df14bce 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,9 @@ DH_VERBOSE = 1 +# Enable hardening build flags +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + #DESTDIR := $(CURDIR)/debian/gosmore #DEB_MAKE_INSTALL_TARGET := DESTDIR=$(DESTDIR) prefix=/usr install -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gosmore.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

