diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-05-18 09:26:16 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-05-18 09:26:16 +0200 |
commit | 5112942748f113b36a8018c1ea5ed75621cd4a72 (patch) | |
tree | c33145f1331186d7fa14a41074979dabf427ecf3 /debian | |
parent | 29ef1203e8ec4fbddcf2ab1e80f25a9051ed0a27 (diff) | |
download | vyos-strongswan-5112942748f113b36a8018c1ea5ed75621cd4a72.tar.gz vyos-strongswan-5112942748f113b36a8018c1ea5ed75621cd4a72.zip |
only install rdrand plugin on i386 and amd64
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/libstrongswan.install | 1 | ||||
-rwxr-xr-x | debian/rules | 8 |
3 files changed, 14 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 96d62e538..7e5bacfcf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +strongswan (5.0.4-3) UNRELEASED; urgency=low + + * debian/rules, debian/libstrongswan.install: + - only install rdrand plugin on i386 and amd64. + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 18 May 2013 08:30:19 +0200 + strongswan (5.0.4-2) experimental; urgency=low * debian/rules: diff --git a/debian/libstrongswan.install b/debian/libstrongswan.install index e3678e4a0..903a2d966 100644 --- a/debian/libstrongswan.install +++ b/debian/libstrongswan.install @@ -48,5 +48,4 @@ usr/lib/ipsec/plugins/libstrongswan-nonce.so usr/lib/ipsec/plugins/libstrongswan-xauth-eap.so usr/lib/ipsec/plugins/libstrongswan-xauth-generic.so usr/lib/ipsec/plugins/libstrongswan-xauth-pam.so -usr/lib/ipsec/plugins/libstrongswan-rdrand.so etc/strongswan.conf diff --git a/debian/rules b/debian/rules index fcb4eac56..07923d714 100755 --- a/debian/rules +++ b/debian/rules @@ -94,6 +94,11 @@ endif ifeq ($(DEB_BUILD_ARCH_CPU),i386) # special handling for padlock, as it is only built on i386 dh_install -p libstrongswan usr/lib/ipsec/plugins/libstrongswan-padlock.so + dh_install -p libstrongswan usr/lib/ipsec/plugins/libstrongswan-rdrand.so +endif + +ifeq ($(DEB_BUILD_ARCH_CPU), amd64) + dh_install -p libstrongswan usr/lib/ipsec/plugins/libstrongswan-rdrand.so endif # then install the rest, ignoring the above @@ -103,7 +108,8 @@ endif -Xlibstrongswan-kernel \ -Xlibstrongswan-dhcp.so \ -Xlibstrongswan-farp.so \ - -Xlibstrongswan-padlock.so + -Xlibstrongswan-padlock.so \ + -Xlibstrongswan-rdrand.so # add additional files not covered by upstream makefile... install --mode=0600 $(CURDIR)/debian/ipsec.secrets.proto $(CURDIR)/debian/strongswan-starter/etc/ipsec.secrets |