Your message dated Tue, 21 Feb 2012 11:18:20 +0000
with message-id <[email protected]>
and subject line Bug#655130: fixed in openvpn 2.2.1-4
has caused the Debian Bug report #655130,
regarding Please enabled hardened build flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
655130: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655130
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openvpn
Version: 2.2.1-3
Severity: important
Tags: patch

Please enabled hardened build flags through dpkg-buildflags.

Patch attached. (dpkg-buildflags abides "noopt" from DEB_BUILD_OPTIONS)

Cheers,
        Moritz
diff -aur openvpn-2.2.1.orig/debian/rules openvpn-2.2.1/debian/rules
--- openvpn-2.2.1.orig/debian/rules	2011-12-20 13:05:57.000000000 +0100
+++ openvpn-2.2.1/debian/rules	2012-01-08 19:04:12.000000000 +0100
@@ -14,13 +14,6 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_ARCH_OS   ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 
-CFLAGS:=-g
-
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	MAKEFLAGS += -j$(NUMJOBS)
@@ -39,7 +32,7 @@
 config.status: $(QUILT_STAMPFN)
 	dh_testdir
 	# Add here commands to configure the package.
-	./configure --enable-pthread --enable-password-save --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig --with-route-path=$(ROUTE_PATH) CFLAGS='$(CFLAGS)'
+	./configure $(shell dpkg-buildflags --export=configure) --enable-pthread --enable-password-save --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig --with-route-path=$(ROUTE_PATH)
 
 build: build-stamp
 
Nur in openvpn-2.2.1/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: openvpn
Source-Version: 2.2.1-4

We believe that the bug you reported is fixed in the latest version of
openvpn, which is due to be installed in the Debian FTP archive:

openvpn_2.2.1-4.debian.tar.gz
  to main/o/openvpn/openvpn_2.2.1-4.debian.tar.gz
openvpn_2.2.1-4.dsc
  to main/o/openvpn/openvpn_2.2.1-4.dsc
openvpn_2.2.1-4_i386.deb
  to main/o/openvpn/openvpn_2.2.1-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alberto Gonzalez Iniesta <[email protected]> (supplier of updated openvpn 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 08 Feb 2012 16:31:32 +0100
Source: openvpn
Binary: openvpn
Architecture: source i386
Version: 2.2.1-4
Distribution: unstable
Urgency: low
Maintainer: Alberto Gonzalez Iniesta <[email protected]>
Changed-By: Alberto Gonzalez Iniesta <[email protected]>
Description: 
 openvpn    - virtual private network daemon
Closes: 655130 657610
Changes: 
 openvpn (2.2.1-4) unstable; urgency=low
 .
   * Use dpkg-buildflags to fill CFLAGS in ./configure. (Closes: #655130)
   * debian/rules: Moved to dh.
   * debian/rules: Changed DEB_BUILD_ARCH_OS with DEB_HOST_ARCH_OS.
   * Removed quilt Build-Depends.
   * debian/openvpn.default: Clarify what "vpn name" refers to.
     (Closes: #657610)
Checksums-Sha1: 
 610f466ef8d1d8b88d3689b0dd9f59fb696131f5 1140 openvpn_2.2.1-4.dsc
 9b29b8f6dd8bf94969f984fd034ab5109ccd0b3b 120724 openvpn_2.2.1-4.debian.tar.gz
 f8b4149a2ec084662b221b17e10d8dafb4a6bf18 500230 openvpn_2.2.1-4_i386.deb
Checksums-Sha256: 
 e9daf618695ba228ef3f5b60dc2284c2af5feb292ebdfa72142d85bb2b283d3a 1140 
openvpn_2.2.1-4.dsc
 8c5ceac600d0efa4384f5cbd3b1e414a1063724efbb2553810c9fe5bacb718a6 120724 
openvpn_2.2.1-4.debian.tar.gz
 dc9269a10832336d6bebe22c8db8369db95837737227476ea08debd6cc02255d 500230 
openvpn_2.2.1-4_i386.deb
Files: 
 9755d94e729ed1db95c40b24eef4f068 1140 net optional openvpn_2.2.1-4.dsc
 d54f933a5a997005b4f3a5d318e4d55f 120724 net optional 
openvpn_2.2.1-4.debian.tar.gz
 312436f7420d15fe10408850186fd311 500230 net optional openvpn_2.2.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9DeVAACgkQxRSvjkukAcPKaACg43sGFCSTPJZFoFcPihMOKKlj
kxoAn18bxLrWvIs+EjF3sLxzEwTcuzCU
=6gJp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to