From f7c79dbc75bfe66dd77247e219ff57c088e451e2 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Thu, 15 Aug 2013 19:50:01 +0200 Subject: [PATCH] - hardening fixes --- debian/control | 2 +- debian/rules | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) 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 ###################### -- 1.7.10.4