From: Bdale Garbee Date: Mon, 28 Dec 2015 18:13:25 +0000 (-0700) Subject: add hardening flags to rules file, update standards version X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e7dfa4aa78ab3892526096e9f3a8418526f48f6f;p=debian%2Fgcpegg add hardening flags to rules file, update standards version --- diff --git a/debian/control b/debian/control index de8058a..0a90421 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: misc Priority: extra Maintainer: Bdale Garbee Build-Depends: debhelper (>= 5), libncurses-dev -Standards-Version: 3.9.3 +Standards-Version: 3.9.6 Vcs-Git: git://git.gag.com/debian/gcpegg Vcs-Browser: http://git.gag.com/?p=debian/gcpegg diff --git a/debian/rules b/debian/rules index 79add4b..1cc404c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,10 @@ #!/usr/bin/make -f +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + export DH_VERBOSE=1 build: build-arch build-indep @@ -21,7 +26,7 @@ install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs /usr/bin/install -o root -g root -m 0755 eggsh debian/gcpegg/usr/sbin /usr/bin/install -o root -g root -m 0755 regtest debian/gcpegg/usr/sbin