diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2016-05-29 21:02:03 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2016-05-29 21:02:03 +0200 |
commit | 8badd84de6f723bd528e765a37b03ba9e8b18187 (patch) | |
tree | 956978f9ca8d5b5f9acc12bb0d1df46564b660ad /debian/rules | |
parent | 3fbb42ec98548037dbf93b959b63d410c34a869f (diff) | |
download | vyos-strongswan-8badd84de6f723bd528e765a37b03ba9e8b18187.tar.gz vyos-strongswan-8badd84de6f723bd528e765a37b03ba9e8b18187.zip |
Make the connmark plugin Linux-onlu
- enable connmark only on Linux
- install connmark plugins files only on Linux
- make iptables-dev build-dep Linux-only.
- stop installing connmark plugins files inconditionnaly.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 51e843df8..f1c30b16b 100755 --- a/debian/rules +++ b/debian/rules @@ -20,7 +20,6 @@ CONFIGUREARGS := --libdir=/usr/lib --libexecdir=/usr/lib \ --enable-lookip \ --enable-error-notify \ --enable-unity \ - --enable-connmark \ --disable-blowfish --disable-des # BSD-Young license #--with-user=strongswan --with-group=nogroup # --enable-kernel-pfkey --enable-kernel-klips \ @@ -53,6 +52,7 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux) --enable-farp \ --enable-dhcp \ --enable-af-alg \ + --enable-connmark \ --enable-systemd --enable-swanctl endif @@ -89,6 +89,9 @@ override_dh_install-arch: # first special cases ifeq ($(DEB_BUILD_ARCH_OS),linux) # handle Linux-only plugins + dh_install -p libstrongswan-standard-plugins usr/lib/ipsec/plugins/libstrongswan-connmark.so + dh_install -p libstrongswan-standard-plugins usr/share/strongswan/templates/config/plugins/connmark.conf + dh_install -p libstrongswan-standard-plugins etc/strongswan.d/charon/connmark.conf dh_install -p libcharon-extra-plugins usr/lib/ipsec/plugins/libstrongswan-dhcp.so dh_install -p libcharon-extra-plugins usr/share/strongswan/templates/config/plugins/dhcp.conf dh_install -p libcharon-extra-plugins etc/strongswan.d/charon/dhcp.conf @@ -148,6 +151,7 @@ endif dh_install --fail-missing \ -X\.la -X\.a \ -Xmedsrv -Xman3 \ + -Xlibstrongswan-connmark.so -X connmark.conf \ -Xlibstrongswan-kernel- -X kernel- \ -Xlibstrongswan-dhcp.so -X dhcp.conf \ -Xlibstrongswan-farp.so -X farp.conf \ |