tags 836652
thanks

On Sun, Sep 04, 2016 at 01:16:53PM +0000, Matthias Klose wrote:
> Package: rtpproxy
> Version: 1.2.1-2.1
> Severity: important
> Tags: sid stretch
> User: debian-...@lists.debian.org
> Usertags: hardening-wrapper
> 
> This package builds using the hardening-wrapper package, which
> is now replaced by dpkg-dev's DEB_BUILD_MAINT_OPTIONS settings.
> 
> Please consider dropping the build dependency of hardening-wrapper
> and use the DEB_BUILD_MAINT_OPTIONS settings.
> 
> The goal is to remove hardening-wrapper for the stretch release.
> Discussion about the removal is tracked in https://bugs.debian.org/836162
> 
> The severity of this report is likely to be raised before the release,
> so that the hardening-wrapper package can be removed for the release.

Patch attached. I've confirmed that it uses the same hardening options
as with hardening-wrapper.

Cheers,
        Moritz
diff -aur rtpproxy-1.2.1.orig/debian/control rtpproxy-1.2.1/debian/control
--- rtpproxy-1.2.1.orig/debian/control	2014-02-16 04:57:22.000000000 +0100
+++ rtpproxy-1.2.1/debian/control	2016-09-23 16:34:23.454690149 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
 Uploaders: Mark Purcell <m...@debian.org>, Kilian Krause <kil...@debian.org>
-Build-Depends: hardening-wrapper, debhelper (>= 9), autotools-dev, autoconf, automake, xsltproc, docbook-xsl, docbook-xml
+Build-Depends: debhelper (>= 9), autotools-dev, autoconf, automake, xsltproc, docbook-xsl, docbook-xml
 Standards-Version: 3.9.5
 Homepage: http://www.rtpproxy.org
 Vcs-Svn: svn://anonscm.debian.org/pkg-voip/rtpproxy/trunk/
Nur in rtpproxy-1.2.1/debian: control~.
diff -aur rtpproxy-1.2.1.orig/debian/rules rtpproxy-1.2.1/debian/rules
--- rtpproxy-1.2.1.orig/debian/rules	2014-02-16 04:57:22.000000000 +0100
+++ rtpproxy-1.2.1/debian/rules	2016-09-23 16:34:38.746722983 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@
Nur in rtpproxy-1.2.1/debian: rules~.

Reply via email to