mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
network/vpnc: Updated for version 0.5.3
This commit is contained in:
parent
b83a67ebf6
commit
8daedcf4b4
2 changed files with 14 additions and 14 deletions
|
@ -34,9 +34,9 @@
|
|||
# Modified by the SlackBuilds.org Project.
|
||||
|
||||
PRGNAM=vpnc
|
||||
VERSION=0.5.1
|
||||
VERSION=0.5.3
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -64,26 +64,26 @@ chmod -R u+w,go+r-w,a-s .
|
|||
# Build with openssl support -- do NOT distribute binaries of this
|
||||
sed -i '/^#OPENSSL/s/^#//g' Makefile
|
||||
|
||||
make CFLAGS="$SLKCFLAGS"
|
||||
make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
|
||||
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
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp VERSION COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
# Let's not clobber config files
|
||||
mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new
|
||||
mv $PKG/etc/vpnc/vpnc-script $PKG/etc/vpnc/vpnc-script.new
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
)
|
||||
|
||||
# Let's not clobber config files
|
||||
mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new
|
||||
mv $PKG/etc/vpnc/vpnc-script $PKG/etc/vpnc/vpnc-script.new
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a VERSION README TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="vpnc"
|
||||
VERSION="0.5.1"
|
||||
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.1.tar.gz"
|
||||
MD5SUM="7a8e94dbe94f39a4fd89b72e0125f66f"
|
||||
DOWNLOAD="http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-0.5.3.tar.gz"
|
||||
MD5SUM="4378f9551d5b077e1770bbe09995afb3"
|
||||
MAINTAINER="alkos333"
|
||||
EMAIL="me@alkos333.net"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue