[postgis] 01/06: Enable PIE hardening flags. (closes: #865775)
Bas Couwenberg
sebastic at debian.org
Sun Jun 25 09:54:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository postgis.
commit 82dac9a197730edd74853f3ecc71badd6428f423
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Jun 25 10:03:51 2017 +0200
Enable PIE hardening flags. (closes: #865775)
---
debian/changelog | 7 +++++++
debian/postgis-gui.lintian-overrides | 2 +-
debian/postgis.lintian-overrides | 2 +-
debian/rules | 5 ++---
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 65aa4df..21e7607 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+postgis (2.3.2+dfsg-2) UNRELEASED; urgency=medium
+
+ * Enable PIE hardening flags.
+ (closes: #865775)
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 25 Jun 2017 10:03:01 +0200
+
postgis (2.3.2+dfsg-1) unstable; urgency=medium
[ Markus Wanner ]
diff --git a/debian/postgis-gui.lintian-overrides b/debian/postgis-gui.lintian-overrides
index ef531f6..f428ac9 100644
--- a/debian/postgis-gui.lintian-overrides
+++ b/debian/postgis-gui.lintian-overrides
@@ -1,2 +1,2 @@
-# PIE breaks the build
+# PIE is not explicitly disabled.
postgis-gui: hardening-no-pie *
diff --git a/debian/postgis.lintian-overrides b/debian/postgis.lintian-overrides
index f172802..0ff1d8e 100644
--- a/debian/postgis.lintian-overrides
+++ b/debian/postgis.lintian-overrides
@@ -1,2 +1,2 @@
-# PIE breaks the build
+# PIE is not explicitly disabled.
postgis: hardening-no-pie *
diff --git a/debian/rules b/debian/rules
index 9d51e9c..9274bd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,8 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-# Enable hardening build flags, except:
-# pie: causes build failure
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# Magic to automatically create a debian/control file for the (or all)
# supported versions of Postgres.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git
More information about the Pkg-grass-devel
mailing list