]> git.gag.com Git - debian/gcpegg/commitdiff
add hardening flags to rules file, update standards version
authorBdale Garbee <bdale@gag.com>
Mon, 28 Dec 2015 18:13:25 +0000 (11:13 -0700)
committerBdale Garbee <bdale@gag.com>
Mon, 28 Dec 2015 18:13:25 +0000 (11:13 -0700)
debian/control
debian/rules

index de8058a10470bd1d7689736e11c3b3b148f6bf47..0a90421cadc5d07b4ae9a31fcb3ffe2d38e0e8eb 100644 (file)
@@ -3,7 +3,7 @@ Section: misc
 Priority: extra
 Maintainer: Bdale Garbee <bdale@gag.com>
 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
 
index 79add4b3a6abbc1fe7cb493276ffd4d136352ade..1cc404cbb8fe248148a3a8dc147b098ce591c933 100755 (executable)
@@ -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