From 04a51f9c534d82cb73524cfa98e53bb20564522d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 6 Sep 2012 22:21:30 -0500 Subject: network/openconnect: Updated for version 3.20. Signed-off-by: Robby Workman --- network/openconnect/openconnect.SlackBuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'network/openconnect/openconnect.SlackBuild') diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild index 2f9b6ad13d..cf1a6d6409 100644 --- a/network/openconnect/openconnect.SlackBuild +++ b/network/openconnect/openconnect.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for openconnect -# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA +# Copyright 2010-2012 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openconnect -VERSION=${VERSION:-3.15} +VERSION=${VERSION:-3.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,11 +77,16 @@ CFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-vpnc-script=/etc/vpnc/vpnc-script \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG +mkdir -p $PKG/etc/vpnc +cat $CWD/vpnc-script > $PKG/etc/vpnc/vpnc-script.new +chmod 0755 $PKG/etc/vpnc/vpnc-script.new + gzip -9 $PKG/usr/man/man?/*.? find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -93,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3