summaryrefslogtreecommitdiffstats
path: root/network/strongswan/strongswan.SlackBuild
diff options
context:
space:
mode:
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}