From: Dinko Korunic Date: Thu, 15 Aug 2013 17:50:01 +0000 (+0200) Subject: - hardening fixes X-Git-Tag: debian/2.7-1~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=f7c79dbc75bfe66dd77247e219ff57c088e451e2;p=ossec-hids.git - hardening fixes --- diff --git a/debian/control b/debian/control index ccabecb..921f66d 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ossec-hids Section: admin Priority: extra Maintainer: Dinko Korunic -Build-Depends: debhelper (>= 9.20120909) +Build-Depends: debhelper (>= 9.20120909), hardening-wrapper (>= 2.2) Standards-Version: 3.9.4 Package: ossec-hids diff --git a/debian/rules b/debian/rules index 032ac9a..924bd44 100755 --- a/debian/rules +++ b/debian/rules @@ -13,12 +13,7 @@ SUBDIRS = .ssh active-response active-response/bin agentless bin etc etc/shared ###################### hardening ################# -include /usr/share/hardening-includes/hardening.make - -CFLAGS=$(shell dpkg-buildflags --get CFLAGS) -LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) -CFLAGS+=$(HARDENING_CFLAGS) -LDFLAGS+=$(HARDENING_LDFLAGS) +export DEB_BUILD_HARDENING=1 ###################### main ######################