diff options
author | alkos333 <me@alkos333.net> | 2010-05-13 00:38:41 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:38:41 +0200 |
commit | 043611fded214e6516547622705767bd5ddf0f2f (patch) | |
tree | b74543ec74ff3f0fe052624f6ed84e930b323016 /network | |
parent | 89a1eb18c1bb96b5474a783aa143fb2e7badda0c (diff) | |
download | slackbuilds-043611fded214e6516547622705767bd5ddf0f2f.tar.gz |
network/vpnc: Updated for version 0.5.3
Diffstat (limited to 'network')
-rw-r--r-- | network/vpnc/slack-desc | 2 | ||||
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 13 | ||||
-rw-r--r-- | network/vpnc/vpnc.info | 2 |
3 files changed, 13 insertions, 4 deletions
diff --git a/network/vpnc/slack-desc b/network/vpnc/slack-desc index 12f6cbedd6..6b62c25b5a 100644 --- a/network/vpnc/slack-desc +++ b/network/vpnc/slack-desc @@ -13,7 +13,7 @@ vpnc: Supports only shared-secret IPSec authentication with Xauth, vpnc: AES (256, 192, 128), 3DES, 1DES, MD5, SHA1, DH1/2/5, and vpnc: IP tunneling. vpnc: -vpnc: Homepage: http://www.unix-ag.uni-kl.de/~massar/vpnc/ +vpnc: Homepage: http://www.unix-ag.uni-kl.de/~massar/vpnc/ vpnc: vpnc: vpnc: diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 342cd09fe0..7a9e656350 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -46,8 +46,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -68,8 +73,10 @@ make CFLAGS="$SLKCFLAGS" DOCDIR=/usr/doc/$PRGNAM-$VERSION make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man DOCDIR=/usr/doc/$PRGNAM-$VERSION ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) # Let's not clobber config files @@ -90,4 +97,4 @@ 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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/vpnc/vpnc.info b/network/vpnc/vpnc.info index c5dd1e98a6..865f440c70 100644 --- a/network/vpnc/vpnc.info +++ b/network/vpnc/vpnc.info @@ -2,7 +2,9 @@ PRGNAM="vpnc" VERSION="0.5.3" HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" DOWNLOAD="http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-0.5.3.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="4378f9551d5b077e1770bbe09995afb3" +MD5SUM_x86_64="" MAINTAINER="alkos333" EMAIL="me@alkos333.net" APPROVED="rworkman" |