summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-06-24 19:53:47 +0000
committer Eric Hameleers <alien@slackware.com>2017-06-24 19:53:47 +0000
commit76759d783d1bde3d41eb44d7a0667723bed13fbb (patch)
tree6187aabd04ce07df0ff894759d8e2f4d799523ef
parenteed17278139f966ae516d02ebb012d78515347a0 (diff)
downloadasb-76759d783d1bde3d41eb44d7a0667723bed13fbb.tar.gz
asb-76759d783d1bde3d41eb44d7a0667723bed13fbb.tar.xz
openconnect: apply Slackware-specific patch to vpnc-script
-rwxr-xr-xopenconnect/build/openconnect.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/openconnect/build/openconnect.SlackBuild b/openconnect/build/openconnect.SlackBuild
index 6ff8edad..ca486b3c 100755
--- a/openconnect/build/openconnect.SlackBuild
+++ b/openconnect/build/openconnect.SlackBuild
@@ -33,6 +33,8 @@
# Changelog:
# 7.08-1: 09/jun/2017 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 7.08-2: 24/jun/2017 by Eric Hameleers <alien@slackware.com>
+# * Small fix to the vpnc-script
#
# Run 'sh openconnect.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -42,7 +44,7 @@
PRGNAM=openconnect
VERSION=${VERSION:-7.08}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j4 "}
TAG=${TAG:-alien}
@@ -183,6 +185,8 @@ make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log
mkdir -p $PKG/etc/vpnc
cat ${SOURCE[1]} > $PKG/etc/vpnc/vpnc-script.new
chmod 0755 $PKG/etc/vpnc/vpnc-script.new
+# A small Slackware-specific fix to the script (thanks to ponce):
+patch $PKG/etc/vpnc/vpnc-script.new $SRCDIR/patches/vpnc-script_slackware.patch
# Add this to the doinst.sh:
mkdir -p $PKG/install