network/vpnc: Updated for version 0.5.3
This commit is contained in:
parent
89a1eb18c1
commit
043611fded
|
@ -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:
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue