Created
December 9, 2015 16:09
-
-
Save ftao/c5d22deec90da951a4da to your computer and use it in GitHub Desktop.
strongswan debian package openvz patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- rules.origin 2015-12-09 06:13:45.756687865 -0500 | |
+++ strongswan-5.2.1/debian/rules 2015-12-09 09:43:52.992183631 -0500 | |
@@ -50,7 +50,7 @@ | |
--with-capabilities=libcap \ | |
--enable-farp \ | |
--enable-dhcp \ | |
- --enable-af-alg | |
+ --enable-kernel-libipsec | |
endif | |
ifeq ($(DEB_BUILD_ARCH_OS),kfreebsd) | |
@@ -98,9 +98,12 @@ | |
dh_install -p libstrongswan usr/share/strongswan/templates/config/plugins/kernel-netlink.conf | |
dh_install -p libstrongswan etc/strongswan.d/charon/kernel-netlink.conf | |
- dh_install -p libstrongswan-extra-plugins usr/lib/ipsec/plugins/libstrongswan-af-alg.so | |
- dh_install -p libstrongswan-extra-plugins usr/share/strongswan/templates/config/plugins/af-alg.conf | |
- dh_install -p libstrongswan-extra-plugins etc/strongswan.d/charon/af-alg.conf | |
+ dh_install -p libstrongswan usr/lib/ipsec/libipsec.so | |
+ dh_install -p libstrongswan usr/lib/ipsec/libipsec.so.0 | |
+ dh_install -p libstrongswan usr/lib/ipsec/libipsec.so.0.0.0 | |
+ dh_install -p libstrongswan usr/lib/ipsec/plugins/libstrongswan-kernel-libipsec.so | |
+ dh_install -p libstrongswan usr/share/strongswan/templates/config/plugins/kernel-libipsec.conf | |
+ dh_install -p libstrongswan etc/strongswan.d/charon/kernel-libipsec.conf | |
# the systemd service file only gets generated on Linux | |
dh_install -p strongswan-starter lib/systemd/system/strongswan.service | |
endif | |
@@ -142,7 +145,7 @@ | |
-Xlibstrongswan-farp.so -X farp.conf \ | |
-Xlibstrongswan-padlock.so -X padlock.conf \ | |
-Xlibstrongswan-rdrand.so -X rdrand.conf \ | |
- -Xlibstrongswan-af-alg.so -X af-alg.conf \ | |
+ -Xlibipsec.so \ | |
-Xstrongswan.service | |
# add additional files not covered by upstream makefile... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment