[med-svn] [fastdnaml] 03/03: hardening

Andreas Tille tille at debian.org
Wed Sep 27 12:08:37 UTC 2017


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

tille pushed a commit to branch master
in repository fastdnaml.

commit c7a1367a2121374c48b92794cfca69d1210e864f
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 27 13:59:53 2017 +0200

    hardening
---
 debian/changelog               |  5 +++--
 debian/patches/hardening.patch | 17 +++++++++++++++++
 debian/patches/series          |  1 +
 debian/rules                   |  2 ++
 4 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8a1d9b0..7547764 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,13 @@
-fastdnaml (1.2.2-12) UNRELEASED; urgency=medium
+fastdnaml (1.2.2-12) unstable; urgency=medium
 
   * Add README.source that program is not available upstream any more
   * Fake watch file
   * Moved packaging to Git
   * debhelper 10
   * Standards-Version: 4.1.0 (no changes needed)
+  * hardening
 
- -- Andreas Tille <tille at debian.org>  Wed, 27 Sep 2017 13:41:21 +0200
+ -- Andreas Tille <tille at debian.org>  Wed, 27 Sep 2017 13:55:51 +0200
 
 fastdnaml (1.2.2-11) unstable; urgency=low
 
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..8fb0e44
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 27 Sep 2017 13:55:51 +0200
+Description: Propagate hardening options
+
+--- a/source/Makefile
++++ b/source/Makefile
+@@ -2,8 +2,8 @@
+ # On many systems I prefer the gcc compiler over the native compiler
+ #
+      CC = cc # or gcc
+- CFLAGS = -O
+-LDFLAGS = -lm
++ CFLAGS += -O
++LDFLAGS += -lm
+      RM = rm -f
+ 
+ all : fastDNAml
diff --git a/debian/patches/series b/debian/patches/series
index b93680c..61e1fe9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Makefile.patch
 scripts.patch
+hardening.patch
diff --git a/debian/rules b/debian/rules
index d9a6d44..b62b5de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 # debian/rules for fastDNAml using dh
 # Andreas Tille <tille at debian.org>, GPL
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 %:
 	dh $@
 

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



More information about the debian-med-commit mailing list