[X2Go-Commits] [x2goserver] 23/27: debian/rules: enable hardening and automatic passing of *FLAGS.

git-admin at x2go.org git-admin at x2go.org
Tue Feb 20 09:30:46 CET 2018


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

x2go pushed a commit to branch master
in repository x2goserver.

commit dfc7523c82b29ee9618b2af76c5a6f15207b4d18
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Feb 20 08:49:28 2018 +0100

    debian/rules: enable hardening and automatic passing of *FLAGS.
---
 debian/changelog | 2 ++
 debian/rules     | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 99e433b..1cfc3d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -76,6 +76,8 @@ x2goserver (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
   * debian/x2goserver*{pre,post}*:
     + Rework scriptlets, use updated templates, add missing templates, more
       and better quoting, fix other misc. errors within the scripts.
+  * debian/rules:
+    + Enable hardening and automatic passing of *FLAGS.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 15 Feb 2018 23:14:28 +0100
 
diff --git a/debian/rules b/debian/rules
index 3a6a100..08a8f16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 export NXLIBDIR="/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/nx"
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	PREFIX=/usr NXLIBDIR=$(NXLIBDIR) dh ${@} --with=systemd || PREFIX=/usr NXLIBDIR=$(NXLIBDIR) dh ${@}
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list