summaryrefslogtreecommitdiffstats
path: root/debianpkg
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-10-10 03:17:09 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2017-11-18 02:55:33 +0100
commit4c2db6ed688ce0670d5d209233bcf0cfdd8ab55b (patch)
tree0e2e3f84ecb20e995f90863e35304c9dd9af6e17 /debianpkg
parentdebianpkg: Always build FPM module (diff)
downloadfrr-4c2db6ed688ce0670d5d209233bcf0cfdd8ab55b.tar.xz
frr-4c2db6ed688ce0670d5d209233bcf0cfdd8ab55b.zip
debian-pkg: Remove hardening-wrapper and replace with dpkg-buildflags
* hardening-wrapper is obsolete * Fixes Issue #967 Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debianpkg')
-rw-r--r--debianpkg/backports/ubuntu12.04/debian/control2
-rwxr-xr-xdebianpkg/backports/ubuntu12.04/debian/rules5
-rw-r--r--debianpkg/backports/ubuntu14.04/debian/control2
-rwxr-xr-xdebianpkg/backports/ubuntu14.04/debian/rules5
-rw-r--r--debianpkg/changelog.in1
-rw-r--r--debianpkg/control2
-rwxr-xr-xdebianpkg/rules5
7 files changed, 13 insertions, 9 deletions
diff --git a/debianpkg/backports/ubuntu12.04/debian/control b/debianpkg/backports/ubuntu12.04/debian/control
index 9dc5eea5c..17ceeb038 100644
--- a/debianpkg/backports/ubuntu12.04/debian/control
+++ b/debianpkg/backports/ubuntu12.04/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Nobody <nobody@frrouting.org>
Uploaders: Nobody <nobody@frrouting.org>
XSBC-Original-Maintainer: <maintainers@frrouting.org>
-Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, hardening-wrapper, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson0, libjson0-dev, pkg-config, python (>= 2.7), python-ipaddr
+Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson0, libjson0-dev, pkg-config, python (>= 2.7), python-ipaddr
Standards-Version: 3.9.6
Homepage: http://www.frrouting.org/
XS-Testsuite: autopkgtest
diff --git a/debianpkg/backports/ubuntu12.04/debian/rules b/debianpkg/backports/ubuntu12.04/debian/rules
index 7cafadcc4..4dd24bdf5 100755
--- a/debianpkg/backports/ubuntu12.04/debian/rules
+++ b/debianpkg/backports/ubuntu12.04/debian/rules
@@ -27,7 +27,7 @@
####################################
export DH_VERBOSE=1
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_OPTIONS=-v
ifeq ($(WANT_SNMP), 1)
@@ -137,7 +137,8 @@ override_dh_auto_configure:
$(USE_CUMULUS) \
$(USE_PIM) \
--enable-dependency-tracking \
- $(USE_BGP_VNC); \
+ $(USE_BGP_VNC) \
+ $(shell dpkg-buildflags --export=configure); \
fi
override_dh_auto_build:
diff --git a/debianpkg/backports/ubuntu14.04/debian/control b/debianpkg/backports/ubuntu14.04/debian/control
index ccbe23fdd..c22bd3bd5 100644
--- a/debianpkg/backports/ubuntu14.04/debian/control
+++ b/debianpkg/backports/ubuntu14.04/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Nobody <nobody@frrouting.org>
Uploaders: Nobody <nobody@frrouting.org>
XSBC-Original-Maintainer: <maintainers@frrouting.org>
-Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, hardening-wrapper, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson-c-dev, libjson-c2, pkg-config, python (>= 2.7), python-ipaddr
+Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson-c-dev, libjson-c2, pkg-config, python (>= 2.7), python-ipaddr
Standards-Version: 3.9.6
Homepage: http://www.frrouting.org/
XS-Testsuite: autopkgtest
diff --git a/debianpkg/backports/ubuntu14.04/debian/rules b/debianpkg/backports/ubuntu14.04/debian/rules
index 4d9a22046..257c5c41b 100755
--- a/debianpkg/backports/ubuntu14.04/debian/rules
+++ b/debianpkg/backports/ubuntu14.04/debian/rules
@@ -27,7 +27,7 @@
####################################
export DH_VERBOSE=1
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_OPTIONS=-v
ifeq ($(WANT_SNMP), 1)
@@ -137,7 +137,8 @@ override_dh_auto_configure:
$(USE_CUMULUS) \
$(USE_PIM) \
--enable-dependency-tracking \
- $(USE_BGP_VNC); \
+ $(USE_BGP_VNC) \
+ $(shell dpkg-buildflags --export=configure); \
fi
override_dh_auto_build:
diff --git a/debianpkg/changelog.in b/debianpkg/changelog.in
index 4002f7e14..c4cc170af 100644
--- a/debianpkg/changelog.in
+++ b/debianpkg/changelog.in
@@ -22,6 +22,7 @@ frr (3.0-0) RELEASED; urgency=medium
* New Enabled: PIM Sparse Mode
* New Enabled: NHRP RFC 2332
* New Enabled: Label Manager
+ * Switched from hardening-wrapper to dpkg-buildflags.
-- FRRouting-Dev <dev@lists.frrouting.org> Wed, 05 Apr 2017 22:23:42 -0500
diff --git a/debianpkg/control b/debianpkg/control
index 2b637a6a6..077eaf982 100644
--- a/debianpkg/control
+++ b/debianpkg/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Nobody <nobody@frrouting.org>
Uploaders: Nobody <nobody@frrouting.org>
XSBC-Original-Maintainer: <maintainers@frrouting.org>
-Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, hardening-wrapper, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson-c-dev, libjson-c2, dh-systemd, libsystemd-dev, bison, flex, libc-ares-dev, pkg-config, python (>= 2.7), python-ipaddr
+Build-Depends: debhelper (>= 7.0.50~), libncurses5-dev, libreadline-dev, texlive-latex-base, texlive-generic-recommended, libpam0g-dev | libpam-dev, libcap-dev, texinfo (>= 4.7), imagemagick, ghostscript, groff, autotools-dev, libpcre3-dev, gawk, chrpath, libsnmp-dev, git, dh-autoreconf, libjson-c-dev, libjson-c2, dh-systemd, libsystemd-dev, bison, flex, libc-ares-dev, pkg-config, python (>= 2.7), python-ipaddr
Standards-Version: 3.9.6
Homepage: http://www.frrouting.org/
diff --git a/debianpkg/rules b/debianpkg/rules
index fb5512bac..11c5e3784 100755
--- a/debianpkg/rules
+++ b/debianpkg/rules
@@ -27,7 +27,7 @@
####################################
export DH_VERBOSE=1
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_OPTIONS=-v
ifeq ($(WANT_SNMP), 1)
@@ -138,7 +138,8 @@ override_dh_auto_configure:
$(USE_CUMULUS) \
$(USE_PIM) \
--enable-dependency-tracking \
- $(USE_BGP_VNC); \
+ $(USE_BGP_VNC) \
+ $(shell dpkg-buildflags --export=configure); \
fi
override_dh_auto_build: