[med-svn] [proteinortho] 05/05: Better hardening

Andreas Tille tille at debian.org
Thu Mar 17 20:02:29 UTC 2016


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

tille pushed a commit to branch master
in repository proteinortho.

commit 8235a060467033948ed8ba2f250a97b01322f9c4
Author: Andreas Tille <tille at debian.org>
Date:   Thu Mar 17 20:53:27 2016 +0100

    Better hardening
---
 debian/changelog |  1 +
 debian/rules     | 11 +----------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fbe0968..a6ea869 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ proteinortho (5.12+dfsg-1) unstable; urgency=medium
   * cme fix dpkg-control
   * Fix C-Syntax
   * Apply fix from upstream to enable building the package
+  * Better hardening
 
  -- Andreas Tille <tille at debian.org>  Thu, 17 Mar 2016 20:40:53 +0100
 
diff --git a/debian/rules b/debian/rules
index 7641d4e..c8e5be6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,18 +2,9 @@
 
 # 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/dpkg/default.mk
-# and use what is set there.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@

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



More information about the debian-med-commit mailing list