Bug#836760: pwauth: please drop the build dependency on hardening-wrapper

2016-09-25 Thread Chris Lamb
tags 836760 + pending patch
thanks

I've re-uploaded pwauth 2.3.11-0.2 to DELAYED/5 to correct an issue with
the previous upload:
  
  pwauth (2.3.11-0.2) unstable; urgency=medium
  
* Non-maintainer upload.
* Drop the build dependency on hardening-wrapper. (Closes: #836760)
  - We can drop the manual CFLAGS passing; this is done automatically with
debhelper 9 and dh_auto_* commands.

The full debdiff is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -Nru pwauth-2.3.11/debian/changelog pwauth-2.3.11/debian/changelog
--- pwauth-2.3.11/debian/changelog  2014-05-06 12:46:28.0 +0200
+++ pwauth-2.3.11/debian/changelog  2016-09-25 12:11:51.0 +0200
@@ -1,3 +1,12 @@
+pwauth (2.3.11-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop the build dependency on hardening-wrapper. (Closes: #836760)
+- We can drop the manual CFLAGS passing; this is done automatically with
+  debhelper 9 and dh_auto_* commands.
+
+ -- Chris Lamb   Sun, 25 Sep 2016 12:11:51 +0200
+
 pwauth (2.3.11-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru pwauth-2.3.11/debian/control pwauth-2.3.11/debian/control
--- pwauth-2.3.11/debian/control2014-05-06 11:43:16.0 +0200
+++ pwauth-2.3.11/debian/control2016-09-25 12:11:51.0 +0200
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Hai Zaar 
-Build-Depends: debhelper (>= 9~), libpam0g-dev, hardening-includes
+Build-Depends: debhelper (>= 9~), libpam0g-dev
 Standards-Version: 3.8.1
 
 Package: pwauth
diff -Nru pwauth-2.3.11/debian/rules pwauth-2.3.11/debian/rules
--- pwauth-2.3.11/debian/rules  2014-05-06 12:40:51.0 +0200
+++ pwauth-2.3.11/debian/rules  2016-09-25 12:11:51.0 +0200
@@ -5,9 +5,6 @@
 %:
dh $@
 
-override_dh_auto_build:
-   make CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags 
--get LDFLAGS`" CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`"
-
 override_dh_auto_install:
dh_auto_install
rm debian/pwauth/usr/sbin/checkfaillog


Bug#836760: pwauth: please drop the build dependency on hardening-wrapper

2016-09-24 Thread Chris Lamb
tags 836760 + pending patch
thanks

pwauth 2.3.11-0.2 uploaded to DELAYED/5. The corresponding debdiff is
attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -Nru pwauth-2.3.11/debian/changelog pwauth-2.3.11/debian/changelog
--- pwauth-2.3.11/debian/changelog  2014-05-06 12:46:28.0 +0200
+++ pwauth-2.3.11/debian/changelog  2016-09-24 22:43:40.0 +0200
@@ -1,3 +1,10 @@
+pwauth (2.3.11-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop Build-Depends on hardening-wrapper. (Closes: #836760)
+
+ -- Chris Lamb   Sat, 24 Sep 2016 22:43:40 +0200
+
 pwauth (2.3.11-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru pwauth-2.3.11/debian/control pwauth-2.3.11/debian/control
--- pwauth-2.3.11/debian/control2014-05-06 11:43:16.0 +0200
+++ pwauth-2.3.11/debian/control2016-09-24 22:43:40.0 +0200
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Hai Zaar 
-Build-Depends: debhelper (>= 9~), libpam0g-dev, hardening-includes
+Build-Depends: debhelper (>= 9~), libpam0g-dev
 Standards-Version: 3.8.1
 
 Package: pwauth
diff -Nru pwauth-2.3.11/debian/rules pwauth-2.3.11/debian/rules
--- pwauth-2.3.11/debian/rules  2014-05-06 12:40:51.0 +0200
+++ pwauth-2.3.11/debian/rules  2016-09-24 22:43:40.0 +0200
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS:=hardening=+all
-
 %:
dh $@
 
 override_dh_auto_build:
-   make CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags 
--get LDFLAGS`" CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`"
+   make $(shell dpkg-buildflags --export=cmdloine)
 
 override_dh_auto_install:
dh_auto_install