[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, master, updated. debian/2.4.3+dfsg-3-9-g2a05bab

Russ Allbery rra at debian.org
Thu Feb 2 08:16:44 UTC 2012


The following commit has been merged in the master branch:
commit 39f094d04885d32c6d3e2d02a6ad045eb5c63336
Author: Russ Allbery <rra at debian.org>
Date:   Wed Feb 1 23:14:38 2012 -0800

    Build with --as-needed to drop some unnecessary dependencies

diff --git a/debian/rules b/debian/rules
index b31afbe..c1954ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+# Add --as-needed to drop a few unnecessary dependencies.
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 DOCS = debian/libshibsp-doc/usr/share/doc/libshibsp-doc
@@ -32,6 +35,9 @@ get-orig-source:
 	rm -rf shibboleth-sp2_$(DEBVERS).orig
 	gzip -9 shibboleth-sp2_$(DEBVERS).orig.tar
 
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	    --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/shibboleth \

-- 
Debian packaging for the 2.0 Apache Shibboleth SP



More information about the Pkg-shibboleth-devel mailing list