[libosmo-sccp] 02/05: Enable hardening in the rules file
Ruben Undheim
rubund-guest at moszumanska.debian.org
Fri Feb 5 16:52:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository libosmo-sccp.
commit d77fda28b22e85042cac20f8dc168c0547050b29
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Fri Feb 5 17:38:36 2016 +0100
Enable hardening in the rules file
---
debian/rules | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index f11300d..6d7b6d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,20 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
+
#export DH_VERBOSE=1
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
-export DEB_BUILD_HARDENING=1
-
%:
dh $@ --with autoreconf
-override_dh_autoreconf:
- dh_autoreconf
+
+override_dh_clean:
+ dh_clean
+ rm -f .version tests/package.m4 tests/testsuite
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libosmo-sccp.git
More information about the debian-science-commits
mailing list