diff options
author | Markus Hutmacher <mailing@markhu.de> | 2013-12-02 16:25:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-02 16:25:33 +0700 |
commit | 7132483fc0e03c0ff8f804c5549b0ab339e04072 (patch) | |
tree | 066b0deded7a95c9b577d6dbce984c495c75e093 /network/strongswan | |
parent | bbe7c82b1cef2386ac8731dd3f6e49c50e46a616 (diff) | |
download | slackbuilds-7132483fc0e03c0ff8f804c5549b0ab339e04072.tar.gz |
network/strongswan: Updated for version 5.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/strongswan')
-rw-r--r-- | network/strongswan/README | 2 | ||||
-rw-r--r-- | network/strongswan/doinst.sh | 1 | ||||
-rw-r--r-- | network/strongswan/strongswan.SlackBuild | 26 | ||||
-rw-r--r-- | network/strongswan/strongswan.info | 6 |
4 files changed, 15 insertions, 20 deletions
diff --git a/network/strongswan/README b/network/strongswan/README index 1a0cf76c9c..c9b74d5442 100644 --- a/network/strongswan/README +++ b/network/strongswan/README @@ -1 +1 @@ -strongSwan is an OpenSource IPsec implementation for Linux. +strongSwan is an OpenSource IPsec implementation for Linux. diff --git a/network/strongswan/doinst.sh b/network/strongswan/doinst.sh index 760618d9b9..4f4a968451 100644 --- a/network/strongswan/doinst.sh +++ b/network/strongswan/doinst.sh @@ -12,4 +12,3 @@ config() { config etc/ipsec.conf.new config etc/strongswan.conf.new - diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild index 42761f9cf4..075b37e7a5 100644 --- a/network/strongswan/strongswan.SlackBuild +++ b/network/strongswan/strongswan.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright 2009-2010, Jonathan Larsen (agentc0re), SLC, UT -# Contact Info: agentc0re 'AT' learnix 'DOT' net +# Copyright 2009-2013, Jonathan Larsen (agentc0re), SLC, UT +# Copyright 2013, Markus Hutmacher, mailing@markhu.de # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # PRGNAM=strongswan -VERSION=4.3.5 +VERSION=5.1.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -78,7 +78,6 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-cisco-quirks \ --enable-shared \ --disable-static \ --build=$ARCH-slackware-linux @@ -86,14 +85,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - rm man8/starter* - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 @@ -102,7 +98,7 @@ mv $PKG/etc/strongswan.conf $PKG/etc/strongswan.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION cp -a \ - COPYING CREDITS ChangeLog INSTALL NEWS README TODO \ + AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/strongswan/strongswan.info b/network/strongswan/strongswan.info index bc8ab6b712..f9788fec13 100644 --- a/network/strongswan/strongswan.info +++ b/network/strongswan/strongswan.info @@ -1,8 +1,8 @@ PRGNAM="strongswan" -VERSION="4.3.5" +VERSION="5.1.1" HOMEPAGE="http://www.strongswan.org/index.htm" -DOWNLOAD="http://download.strongswan.org/strongswan-4.3.5.tar.bz2" -MD5SUM="b2dd705561d402373149873e20a1e04f" +DOWNLOAD="http://download.strongswan.org/strongswan-5.1.1.tar.bz2" +MD5SUM="e3af3d493d22286be3cd794533a8966a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |