aboutsummaryrefslogtreecommitdiff
path: root/network/strongswan
diff options
context:
space:
mode:
authorWayne Cuddy <wcuddy@gmail.com>2020-12-26 15:26:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-12-26 15:26:57 +0700
commitfb782134af540fa4a30acc5e851f10567d194f6b (patch)
tree94c3d76cacbfc1046d008592a505ba380d55060e /network/strongswan
parent3a59ef022d48a4992a40cc788e008bd9b627193a (diff)
network/strongswan: Updated for version 5.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/strongswan')
-rw-r--r--network/strongswan/README6
-rw-r--r--network/strongswan/strongswan.SlackBuild12
-rw-r--r--network/strongswan/strongswan.info6
3 files changed, 19 insertions, 5 deletions
diff --git a/network/strongswan/README b/network/strongswan/README
index 1a0e9c8a6a708..df3dafaff394f 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 d9d031022461a..b10ef33b87d99 100644
--- a/network/strongswan/strongswan.SlackBuild
+++ b/network/strongswan/strongswan.SlackBuild
@@ -23,6 +23,11 @@
# 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
# - added additional "enable" options to DEFAULT_CONFIG_OPTS
@@ -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 2150bf7408345..e546dc9c3b241 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=""