summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/vpnc/vpnc.SlackBuild22
-rw-r--r--network/vpnc/vpnc.info6
2 files changed, 14 insertions, 14 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild
index 645d6a51e0..342cd09fe0 100644
--- a/network/vpnc/vpnc.SlackBuild
+++ b/network/vpnc/vpnc.SlackBuild
@@ -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
diff --git a/network/vpnc/vpnc.info b/network/vpnc/vpnc.info
index 0241693eb7..c5dd1e98a6 100644
--- a/network/vpnc/vpnc.info
+++ b/network/vpnc/vpnc.info
@@ -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"