summaryrefslogtreecommitdiffstats
path: root/network/strongswan/strongswan.SlackBuild
diff options
context:
space:
mode:
author Wayne Cuddy <wcuddy@gmail.com>2020-12-26 15:26:57 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-12-26 15:26:57 +0700
commitfb782134af540fa4a30acc5e851f10567d194f6b (patch)
tree94c3d76cacbfc1046d008592a505ba380d55060e /network/strongswan/strongswan.SlackBuild
parent3a59ef022d48a4992a40cc788e008bd9b627193a (diff)
downloadslackbuilds-fb782134af540fa4a30acc5e851f10567d194f6b.tar.gz
slackbuilds-fb782134af540fa4a30acc5e851f10567d194f6b.tar.xz
network/strongswan: Updated for version 5.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/strongswan/strongswan.SlackBuild')
-rw-r--r--network/strongswan/strongswan.SlackBuild12
1 files changed, 11 insertions, 1 deletions
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
@@ -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}