Your message dated Sat, 07 Apr 2012 16:05:11 +0000
with message-id <[email protected]>
and subject line Bug#655168: fixed in courier-authlib 0.63.0-5
has caused the Debian Bug report #655168,
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.)


-- 
655168: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655168
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: courier-authlib
Version: 0.63.0-4
Severity: important
Tags: patch

Please enabled hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur courier-authlib-0.63.0.orig/debian/rules courier-authlib-0.63.0/debian/rules
--- courier-authlib-0.63.0.orig/debian/rules	2012-01-09 00:09:28.000000000 +0100
+++ courier-authlib-0.63.0/debian/rules	2012-01-09 00:11:24.000000000 +0100
@@ -29,8 +29,14 @@
 # Common configuration options
 NONSSL_CONFOPTS=--without-certdb --without-authpgsql
 
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+LDFLAGS += -lcrypt
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
 COMMON_CONFOPTS=--prefix=/usr --mandir=\$${prefix}/share/man \
 		--with-authdaemonvar=/var/run/courier/authdaemon \
+		CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
 		--sysconfdir=/etc/courier \
 		--with-pkgconfdir=/etc/courier \
 		--libexecdir=\$${prefix}/lib/courier \
@@ -72,11 +78,11 @@
 # create a list of files that currently exists
 	if [ ! -f stamp-build ]; then \
 		if [ -d /usr/include/postgresql/8.0/libpq_fe.h ]; then \
-			LDFLAGS=-lcrypt ./configure $(COMMON_CONFOPTS) \
+			./configure $(COMMON_CONFOPTS) \
 			--with-postgresql-includes=/usr/include/postgresql/8.0 \
 			&& $(MAKE) && touch stamp-build; \
 		else \
-			LDFLAGS=-lcrypt ./configure $(COMMON_CONFOPTS) \
+			./configure $(COMMON_CONFOPTS) \
 			--with-postgresql-includes=/usr/include/postgresql \
 			&& $(MAKE) && touch stamp-build; \
 		fi \
Nur in courier-authlib-0.63.0/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: courier-authlib
Source-Version: 0.63.0-5

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

courier-authdaemon_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authdaemon_0.63.0-5_amd64.deb
courier-authlib-dev_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-dev_0.63.0-5_amd64.deb
courier-authlib-ldap_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-ldap_0.63.0-5_amd64.deb
courier-authlib-mysql_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-mysql_0.63.0-5_amd64.deb
courier-authlib-pipe_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-pipe_0.63.0-5_amd64.deb
courier-authlib-postgresql_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-postgresql_0.63.0-5_amd64.deb
courier-authlib-userdb_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib-userdb_0.63.0-5_amd64.deb
courier-authlib_0.63.0-5.diff.gz
  to main/c/courier-authlib/courier-authlib_0.63.0-5.diff.gz
courier-authlib_0.63.0-5.dsc
  to main/c/courier-authlib/courier-authlib_0.63.0-5.dsc
courier-authlib_0.63.0-5_amd64.deb
  to main/c/courier-authlib/courier-authlib_0.63.0-5_amd64.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.
Stefan Hornburg (Racke) <[email protected]> (supplier of updated courier-authlib 
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: Sat, 07 Apr 2012 16:48:52 +0200
Source: courier-authlib
Binary: courier-authlib courier-authdaemon courier-authlib-dev 
courier-authlib-userdb courier-authlib-mysql courier-authlib-postgresql 
courier-authlib-ldap courier-authlib-pipe
Architecture: source amd64
Version: 0.63.0-5
Distribution: unstable
Urgency: low
Maintainer: Stefan Hornburg (Racke) <[email protected]>
Changed-By: Stefan Hornburg (Racke) <[email protected]>
Description: 
 courier-authdaemon - Courier authentication daemon
 courier-authlib - Courier authentication library
 courier-authlib-dev - Development libraries for the Courier authentication 
library
 courier-authlib-ldap - LDAP support for the Courier authentication library
 courier-authlib-mysql - MySQL support for the Courier authentication library
 courier-authlib-pipe - External authentication support for the Courier 
authentication li
 courier-authlib-postgresql - PostgreSQL support for the Courier authentication 
library
 courier-authlib-userdb - userdb support for the Courier authentication library
Closes: 655168
Changes: 
 courier-authlib (0.63.0-5) unstable; urgency=low
 .
   [ Moritz Muehlenhoff <[email protected]> ]
 .
   * Enable hardened build flags (Closes: #655168)
 .
   [ Peter Eisentraut <[email protected]> ]
 .
   * Add support for "status" action to authdaemon init script
Checksums-Sha1: 
 fdc15e3d5969329477e0e0279b05bee4fbc8495d 1683 courier-authlib_0.63.0-5.dsc
 5a93f4241a2f8c41999aada1498e5f262662a85a 10176 courier-authlib_0.63.0-5.diff.gz
 af9e8d1aa24cbba98aaac1d7420113a9e868385f 86198 
courier-authlib_0.63.0-5_amd64.deb
 e606c8916d68dcd543cd76b9afcf8fc7f4846165 8576 
courier-authdaemon_0.63.0-5_amd64.deb
 bf04802a073a60303ea03943c0f1e95b744ce559 121758 
courier-authlib-dev_0.63.0-5_amd64.deb
 83e7fbd43b134b82c57a0892382a808d8106970b 37130 
courier-authlib-userdb_0.63.0-5_amd64.deb
 9dc3bb3c0dee36faa82ee055d19a9c8d13067297 22236 
courier-authlib-mysql_0.63.0-5_amd64.deb
 c12b973efc0f99b9891ca8371f2fa4fec2361893 21858 
courier-authlib-postgresql_0.63.0-5_amd64.deb
 21d0f503b3069d82770ee502aae6604fd790c13b 24658 
courier-authlib-ldap_0.63.0-5_amd64.deb
 2792464879d0b979b1041e4d66e262050a4ef17a 10056 
courier-authlib-pipe_0.63.0-5_amd64.deb
Checksums-Sha256: 
 e4ef17646bee475949251c4d35b4e79235526f3dfd066768b8c8e3399a4621b0 1683 
courier-authlib_0.63.0-5.dsc
 4cebae99c85d67e1f4f3657e1e3b12fa4199b844e5b195bb723bd851e462ab1d 10176 
courier-authlib_0.63.0-5.diff.gz
 dac9b1285024bc5eddb85bf5a864d7dae34effb94d41f46d57a033c7e740b35a 86198 
courier-authlib_0.63.0-5_amd64.deb
 7bc1def2b1b61e6a627001eaf96d964ccd94411a8c1d40be7beb428c4e1f8ad7 8576 
courier-authdaemon_0.63.0-5_amd64.deb
 f4fdd9dbdbbdfc08f6b9253da3de0481d58ebf1fe0b90ed99270b843f6b98e5d 121758 
courier-authlib-dev_0.63.0-5_amd64.deb
 23e4717954ac7a9505f8732e0a5754135977a8c6ffd0dae2b3566b1863e87da4 37130 
courier-authlib-userdb_0.63.0-5_amd64.deb
 fce35ca1f236289000f942e673b7784644594faa85abbf4250ea6512687a0c94 22236 
courier-authlib-mysql_0.63.0-5_amd64.deb
 c8e975093cc5d192bc325ddac7c09962bf6f975734b67b30f54d1278f2ea3400 21858 
courier-authlib-postgresql_0.63.0-5_amd64.deb
 8635ea2404705cab76672748c9c59c8be3877e967465a38eaeb5b646573caaac 24658 
courier-authlib-ldap_0.63.0-5_amd64.deb
 322209399b8dbc9c01e0e67376bffea51db9da2a13dd3163c5326e38bc801db9 10056 
courier-authlib-pipe_0.63.0-5_amd64.deb
Files: 
 5c9c5c0b7f9af7ca88ab16eb895db298 1683 mail optional 
courier-authlib_0.63.0-5.dsc
 c7b86f34e46e02aaa38fe323c0fc8530 10176 mail optional 
courier-authlib_0.63.0-5.diff.gz
 4506cbb3c459d51ad8138ac94d10ce47 86198 mail optional 
courier-authlib_0.63.0-5_amd64.deb
 f3b2ba291c5c4396bbb25a21d2f6003d 8576 mail optional 
courier-authdaemon_0.63.0-5_amd64.deb
 f421e56bb21d7f9bcb5d7076ce4878ab 121758 mail optional 
courier-authlib-dev_0.63.0-5_amd64.deb
 d60fc1865284c07e6dd6be287f8f1ca0 37130 mail optional 
courier-authlib-userdb_0.63.0-5_amd64.deb
 72d13b34ea55574e651e1fb5e6b4b21b 22236 mail optional 
courier-authlib-mysql_0.63.0-5_amd64.deb
 f94e9ac59aa563dd1c53eadf98631c50 21858 mail optional 
courier-authlib-postgresql_0.63.0-5_amd64.deb
 9a5d7d93fd0d00097d2634308b9928db 24658 mail optional 
courier-authlib-ldap_0.63.0-5_amd64.deb
 c95ebad7eb63b83f046ab0450ee4bca8 10056 mail optional 
courier-authlib-pipe_0.63.0-5_amd64.deb

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

iEYEARECAAYFAk+AV+sACgkQjgVfE5tya3FDDQCg5JEoL7JOHGeYvOlStgFwQDlU
kRUAoNo1LYteBfpSMC5Rw0836+5+A737
=B1q8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to