[med-svn] [ecopcr] 03/07: hardening=+all

Andreas Tille tille at debian.org
Wed Jan 11 19:35:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to tag debian/0.5.0+dfsg-1
in repository ecopcr.

commit d42b958bd57cd2b4dbc66fa467a93f48055aca9a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 11 15:56:59 2017 +0100

    hardening=+all
---
 debian/changelog |  1 +
 debian/rules     | 17 +----------------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0f94694..63821e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ecopcr (0.5.0+dfsg-1) UNRELEASED; urgency=medium
   * Adapt watch file to freshly created tags
   * cme fix dpkg-control
   * debhelper 10
+  * hardening=+all
 
  -- Andreas Tille <tille at debian.org>  Tue, 10 Jan 2017 16:32:37 +0100
 
diff --git a/debian/rules b/debian/rules
index dd83ef1..512d01e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,19 +2,7 @@
 
 # DH_VERBOSE := 1
 
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG        := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables you can
-#  include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there.  Any hint whether dh might set variables in
-# a similar manner are welcome.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@ --sourcedirectory=src --with python3
@@ -28,6 +16,3 @@ override_dh_install:
 	for tool in tools/* ; do \
 	    cp -a $${tool} debian/$(DEBPKGNAME)/usr/bin/`basename $${tool} .py` ; \
 	done
-
-#get-orig-source:
-#	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ecopcr.git



More information about the debian-med-commit mailing list