[Git][debian-gis-team/pywps][master] Disable PIE only on older Ubuntu releases.
Bas Couwenberg
gitlab at salsa.debian.org
Fri Jun 29 19:55:45 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / pywps
Commits:
8af34d66 by Bas Couwenberg at 2018-06-29T20:55:28+02:00
Disable PIE only on older Ubuntu releases.
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pywps (4.0.0-6) UNRELEASED; urgency=medium
* Drop ancient X-Python-Version field.
* Strip trailing whitespace from control & rules files.
+ * Disable PIE only on older Ubuntu releases.
-- Bas Couwenberg <sebastic at debian.org> Sun, 06 May 2018 09:22:02 +0200
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
dh-apache2,
dh-python,
libjs-mathjax,
+ lsb-release,
python-all,
python-dateutil,
python-flufl.enum,
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -14,9 +14,12 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# Disable PIE on Ubuntu where it's still problematic
VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
+DISTRIBUTION_RELEASE := $(shell lsb_release -cs)
ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
- export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+ ifneq (,$(filter $(DISTRIBUTION_RELEASE),trusty xenial artful bionic))
+ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+ endif
endif
%:
View it on GitLab: https://salsa.debian.org/debian-gis-team/pywps/commit/8af34d66b92757fa35e08985c9c9f936c3402d2d
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pywps/commit/8af34d66b92757fa35e08985c9c9f936c3402d2d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180629/6af8bf80/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list