diff options
Diffstat (limited to 'network/vpnc/vpnc.SlackBuild')
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 69be3f5727f2..b6eaa76d79b0 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -36,7 +36,7 @@ PRGNAM=vpnc VERSION=${VERSION:-r550} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -97,6 +97,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # 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 +# Patch vpnc-script because it finds /sbin/netconfig and it believes to be on Suse +sed -i \ + '/-x \/sbin\/netconfig/c\elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware' \ + $PKG/etc/vpnc/vpnc-script.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a VERSION README TODO $PKG/usr/doc/$PRGNAM-$VERSION |