summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog9
-rwxr-xr-xdebian/rules7
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6d59b790e..141527bff 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@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 ad984684c..7bf57bc1e 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