[med-svn] [staden] 02/03: hardening=+bindnow
Andreas Tille
tille at debian.org
Thu Jul 14 19:25:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository staden.
commit 83b9951b4626228bc02ad14a19470d66df44baa0
Author: Andreas Tille <tille at debian.org>
Date: Thu Jul 14 21:07:41 2016 +0200
hardening=+bindnow
---
debian/changelog | 1 +
debian/rules | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 642dbb4..3bfef95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ staden (2.0.0+b11-1) UNRELEASED; urgency=medium
* Adapt watch file to new file name scheme
* Move spin away from /usr/bin/spin to solve conflict with spin package
Closes: #826684
+ * hardening=+bindnow
-- Andreas Tille <tille at debian.org> Thu, 14 Jul 2016 20:04:52 +0200
diff --git a/debian/rules b/debian/rules
index f44f0a0..5447648 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
#!/usr/bin/make -f
+# all does not work due to build error with -fpie
+# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+
## DEB_BUILD_ARCH or DEB_BUILD_ARCH_BITS ??
BITARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
@@ -47,6 +51,7 @@ override_dh_installman:
# due to a file name conflict spin.1 is moved outof the way #826684
mkdir -p debian/staden/usr/lib/debian-med/share/man/man1/
mv debian/staden/usr/share/man/man1/spin.1 debian/staden/usr/lib/debian-med/share/man/man1/
+ gzip -9 debian/staden/usr/lib/debian-med/share/man/man1/spin.1
override_dh_fixperms:
dh_fixperms
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/staden.git
More information about the debian-med-commit
mailing list