network/strongswan: Updated for version 5.9.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Wayne Cuddy 2020-12-26 15:26:57 +07:00 committed by Willy Sudiarto Raharjo
parent 3a59ef022d
commit fb782134af
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 19 additions and 5 deletions

View file

@ -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

View file

@ -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}

View file

@ -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=""