From fb782134af540fa4a30acc5e851f10567d194f6b Mon Sep 17 00:00:00 2001 From: Wayne Cuddy Date: Sat, 26 Dec 2020 15:26:57 +0700 Subject: [PATCH] network/strongswan: Updated for version 5.9.1. Signed-off-by: Willy Sudiarto Raharjo --- network/strongswan/README | 6 +++++- network/strongswan/strongswan.SlackBuild | 12 +++++++++++- network/strongswan/strongswan.info | 6 +++--- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/network/strongswan/README b/network/strongswan/README index 1a0e9c8a6a..df3dafaff3 100644 --- a/network/strongswan/README +++ b/network/strongswan/README @@ -4,7 +4,7 @@ This SlackBuild enables configure options which are known to compile without issue on a stock Slackware 14.2 system. These options provide additional functionality and increase this packages ability to inter operate with various vendor implementations. Unwanted and/or -unnecessary plugins can be disabled a run-time via the 'load' flag in +unnecessary plugins can be disabled at run-time via the 'load' flag in /etc/strongswan.d/charon/*.conf files. The following configure options are enabled by default: @@ -67,6 +67,10 @@ EXTRA_CONFIG_OPTS environment variable. Example: env EXTRA_CONFIG_OPTS="--enable-socket-dynamic --enable-dhcp" sh ./strongswan.SlackBuild +Certain use cases may cause issues when bypass-lan is loaded. The SlackBuild script +disables loading of the bypass-lan module. This can be changed in bypass-lan.conf +after installation if required. + The list of available options and their descriptions are available here: https://wiki.strongswan.org/projects/strongswan/wiki/Autoconf diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild index d9d0310224..b10ef33b87 100644 --- a/network/strongswan/strongswan.SlackBuild +++ b/network/strongswan/strongswan.SlackBuild @@ -22,6 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# 2020-12-21 +# - upgraded upstream version to 5.9.1 +# - continue building bypass-lan but disable it by default so that the +# admin can still enable it if necessary # # 2019-09-17 # - upgraded upstream version to 5.8.1 @@ -33,7 +38,7 @@ # PRGNAM=strongswan -VERSION=${VERSION:-5.8.1} +VERSION=${VERSION:-5.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -168,4 +173,9 @@ do echo "config $i.new" >> $PKG/install/doinst.sh done +# bypass-lan may cause problems for most users but it still used in many +# situations. Disable it by default allowing the user to enable it if +# necessary. +sed -i -e 's/load = yes/load = no/' $PKG/etc/strongswan.d/charon/bypass-lan.conf.new + /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/strongswan/strongswan.info b/network/strongswan/strongswan.info index 2150bf7408..e546dc9c3b 100644 --- a/network/strongswan/strongswan.info +++ b/network/strongswan/strongswan.info @@ -1,8 +1,8 @@ PRGNAM="strongswan" -VERSION="5.8.1" +VERSION="5.9.1" HOMEPAGE="https://www.strongswan.org" -DOWNLOAD="https://download.strongswan.org/strongswan-5.8.1.tar.bz2" -MD5SUM="5a6b9980cd1ac4fad3c24b55ed960ac9" +DOWNLOAD="https://download.strongswan.org/strongswan-5.9.1.tar.bz2" +MD5SUM="1f4db969d072e120dc12d1c116a0f658" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""