[SCM] Debian packaging for XML-Security-C branch, master, updated. debian/1.6.1-5-19-gffc25ee

Russ Allbery rra at debian.org
Thu May 23 07:22:18 UTC 2013


The following commit has been merged in the master branch:
commit fd16217ae56d2f8b09f0a653228bc1d330c6186d
Author: Russ Allbery <rra at debian.org>
Date:   Wed May 22 21:03:27 2013 -0700

    Switch to dh-autoreconf and add --as-needed

diff --git a/debian/changelog b/debian/changelog
index e05da9c..f62a4bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ xml-security-c (1.7.0-1) UNRELEASED; urgency=low
   * New upstream release.
     - AES-GCM support.
     - XML Encryption 1.1 OAEP enhancements.
+  * Switch from autotools-dev to dh-autoreconf and regenerate the entire
+    build system during the build, not just the config.guess and
+    config.sub scripts, and add --as-needed.
 
  -- Russ Allbery <rra at debian.org>  Wed, 22 May 2013 20:33:08 -0700
 
diff --git a/debian/control b/debian/control
index b74e0ab..2ce8a75 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: libs
 Priority: extra
 Maintainer: Debian Shib Team <pkg-shibboleth-devel at lists.alioth.debian.org>
 Uploaders: Russ Allbery <rra at debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev (>= 20100122.1~),
- libssl-dev (>= 1.0), libxerces-c-dev, pkg-config
+Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev (>= 1.0),
+ libxerces-c-dev, pkg-config
 Standards-Version: 3.9.2
 Homepage: http://santuario.apache.org/cindex.html
 Vcs-Git: git://git.debian.org/git/pkg-shibboleth/xml-security-c.git
diff --git a/debian/rules b/debian/rules
index 0eda401..d6964fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,17 @@
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+# Add --as-needed to drop dependencies.
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+	dh $@ --with autoreconf
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
+
 override_dh_auto_configure:
 	dh_auto_configure -- --without-xalan
 
 override_dh_auto_clean:
 	dh_auto_clean
-
-%:
-	dh $@ --with autotools_dev

-- 
Debian packaging for XML-Security-C



More information about the Pkg-shibboleth-devel mailing list