[Pkg-swan-devel] [strongswan] 01/14: Use dh_missing to catch uninstalled files

Yves-Alexis Perez corsac at moszumanska.debian.org
Sun Sep 3 13:23:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

corsac pushed a commit to branch master
in repository strongswan.

commit de16202a5118fe1b3fe32b1d0b51a0536751794a
Author: Yves-Alexis Perez <corsac at corsac.net>
Date:   Wed Jun 28 23:27:04 2017 +0200

    Use dh_missing to catch uninstalled files
    
    * debian/rules:
      - remove .la files before install
      - don't call dh_install with --fail-missing
      - override dh_missing with --fail-missing to catch uninstalled files.
---
 debian/changelog | 9 +++++++++
 debian/rules     | 7 ++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6d59b79..141527b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+strongswan (5.5.3-3) UNRELEASED; urgency=medium
+
+  * debian/rules:
+    - remove .la files before install
+    - don't call dh_install with --fail-missing
+    - override dh_missing with --fail-missing to catch uninstalled files.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Wed, 28 Jun 2017 22:57:48 +0200
+
 strongswan (5.5.3-2) unstable; urgency=medium
 
   * debian/control:
diff --git a/debian/rules b/debian/rules
index ad98468..7bf57bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,6 +101,8 @@ override_dh_auto_clean:
 
 
 override_dh_install-arch:
+	# remove all .la files
+	find debian/tmp/usr/lib -name '*.la' -delete
 
 	# first special cases
 ifeq ($(DEB_BUILD_ARCH_OS),linux)
@@ -164,7 +166,7 @@ ifeq ($(DEB_BUILD_ARCH_CPU), amd64)
 endif
 
 	# then install the rest, ignoring the above
-	dh_install --fail-missing \
+	dh_install \
 		-X\.la -X\.a \
 		-Xmedsrv -Xman3 \
 		-Xlibstrongswan-connmark.so -X connmark.conf \
@@ -230,5 +232,8 @@ ifeq ($(DEB_BUILD_ARCH),amd64)
 	dh_auto_test
 endif
 
+override_dh_missing:
+	dh_missing --fail-missing
+
 %:
 	dh $@ --parallel --with autoreconf,systemd

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-swan/strongswan.git



More information about the Pkg-swan-devel mailing list