aboutsummaryrefslogtreecommitdiff
path: root/network/strongswan
diff options
context:
space:
mode:
authorWayne Cuddy <wcuddy@gmail.com>2018-05-14 00:15:38 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-19 00:45:03 +0100
commit422634f66f7207ba006935af2107e1c5a915c339 (patch)
treef3341c819589c0ca8babe74bb44cd93ebca7bf78 /network/strongswan
parentbf6f64fdb1cf59ca4c3db2d91f765c6b0c0bd63a (diff)
network/strongswan: Updated for version 5.6.2 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/strongswan')
-rw-r--r--network/strongswan/README5
-rw-r--r--network/strongswan/doinst.sh45
-rw-r--r--network/strongswan/strongswan.SlackBuild14
-rw-r--r--network/strongswan/strongswan.info10
4 files changed, 62 insertions, 12 deletions
diff --git a/network/strongswan/README b/network/strongswan/README
index c9b74d5442bf3..08b230d393077 100644
--- a/network/strongswan/README
+++ b/network/strongswan/README
@@ -1 +1,4 @@
-strongSwan is an OpenSource IPsec implementation for Linux.
+StrongSwan is an OpenSource IPsec implementation for Linux.
+
+This build enables the OpenSSL extension which is included in the
+default Slackware install so it will cause no issues.
diff --git a/network/strongswan/doinst.sh b/network/strongswan/doinst.sh
index 4f4a96845154a..4b38254410748 100644
--- a/network/strongswan/doinst.sh
+++ b/network/strongswan/doinst.sh
@@ -11,4 +11,49 @@ config() {
}
config etc/ipsec.conf.new
+config etc/ipsec.secrets.new
config etc/strongswan.conf.new
+config etc/swanctl/swanctl.conf.new
+config etc/strongswan.d/starter.conf.new
+config etc/strongswan.d/swanctl.conf.new
+config etc/strongswan.d/charon-logging.conf.new
+config etc/strongswan.d/pki.conf.new
+config etc/strongswan.d/scepclient.conf.new
+config etc/strongswan.d/charon/attr.conf.new
+config etc/strongswan.d/charon/sshkey.conf.new
+config etc/strongswan.d/charon/pem.conf.new
+config etc/strongswan.d/charon/mgf1.conf.new
+config etc/strongswan.d/charon/pkcs8.conf.new
+config etc/strongswan.d/charon/kernel-netlink.conf.new
+config etc/strongswan.d/charon/nonce.conf.new
+config etc/strongswan.d/charon/curve25519.conf.new
+config etc/strongswan.d/charon/pkcs12.conf.new
+config etc/strongswan.d/charon/x509.conf.new
+config etc/strongswan.d/charon/dnskey.conf.new
+config etc/strongswan.d/charon/stroke.conf.new
+config etc/strongswan.d/charon/random.conf.new
+config etc/strongswan.d/charon/hmac.conf.new
+config etc/strongswan.d/charon/vici.conf.new
+config etc/strongswan.d/charon/md5.conf.new
+config etc/strongswan.d/charon/pubkey.conf.new
+config etc/strongswan.d/charon/counters.conf.new
+config etc/strongswan.d/charon/sha2.conf.new
+config etc/strongswan.d/charon/rc2.conf.new
+config etc/strongswan.d/charon/pkcs1.conf.new
+config etc/strongswan.d/charon/aes.conf.new
+config etc/strongswan.d/charon/xauth-generic.conf.new
+config etc/strongswan.d/charon/revocation.conf.new
+config etc/strongswan.d/charon/cmac.conf.new
+config etc/strongswan.d/charon/sha1.conf.new
+config etc/strongswan.d/charon/updown.conf.new
+config etc/strongswan.d/charon/pkcs7.conf.new
+config etc/strongswan.d/charon/fips-prf.conf.new
+config etc/strongswan.d/charon/gmp.conf.new
+config etc/strongswan.d/charon/pgp.conf.new
+config etc/strongswan.d/charon/xcbc.conf.new
+config etc/strongswan.d/charon/openssl.conf.new
+config etc/strongswan.d/charon/des.conf.new
+config etc/strongswan.d/charon/constraints.conf.new
+config etc/strongswan.d/charon/resolve.conf.new
+config etc/strongswan.d/charon/socket-default.conf.new
+config etc/strongswan.d/charon.conf.new
diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild
index 549b1652ff06d..2b9fae21ae003 100644
--- a/network/strongswan/strongswan.SlackBuild
+++ b/network/strongswan/strongswan.SlackBuild
@@ -1,5 +1,6 @@
#!/bin/sh
+# Copyright 2018, Wayne Cuddy, wcuddyATgmailDOTcom
# Copyright 2009-2013, Jonathan Larsen (agentc0re), SLC, UT
# Copyright 2013-2015, Markus Hutmacher, mailing@markhu.de
# All rights reserved.
@@ -22,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=strongswan
-VERSION=${VERSION:-5.3.4}
+VERSION=${VERSION:-5.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -79,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--disable-static \
+ --enable-openssl \
--build=$ARCH-slackware-linux
make
@@ -91,8 +93,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Don't clobber existing config files
-mv $PKG/etc/ipsec.conf $PKG/etc/ipsec.conf.new
-mv $PKG/etc/strongswan.conf $PKG/etc/strongswan.conf.new
+mv $PKG/etc/ipsec.secrets $PKG/etc/ipsec.secrets.new
+for i in $(find $PKG/etc -type f -name '*.conf') ; do mv $i $i.new ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
diff --git a/network/strongswan/strongswan.info b/network/strongswan/strongswan.info
index c5dc8a6fa9886..f3b983a04929f 100644
--- a/network/strongswan/strongswan.info
+++ b/network/strongswan/strongswan.info
@@ -1,10 +1,10 @@
PRGNAM="strongswan"
-VERSION="5.3.4"
+VERSION="5.6.2"
HOMEPAGE="https://www.strongswan.org"
-DOWNLOAD="https://download.strongswan.org/strongswan-5.3.4.tar.bz2"
-MD5SUM="655a632a515c74a99f2e9cc337ab2f33"
+DOWNLOAD="https://download.strongswan.org/strongswan-5.6.2.tar.bz2"
+MD5SUM="46aa3aa18fbc4bd528f9a0345ce79913"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+MAINTAINER="Wayne Cuddy"
+EMAIL="wcuddy@gmail.com"