summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-03 17:52:37 +0000
committer Eric Hameleers <alien@slackware.com>2018-06-03 17:52:37 +0000
commit28305e8fc3536a12e430964f2f1c84b66252162b (patch)
tree218f15f467beb98bc2311591f246dee5b3b9cf58
parenta8fa8fd6a1b289d35251927a07c34bbd84b04eb4 (diff)
downloadasb-28305e8fc3536a12e430964f2f1c84b66252162b.tar.gz
asb-28305e8fc3536a12e430964f2f1c84b66252162b.tar.xz
openconnect: rebuilt on slackware-current
-rwxr-xr-xopenconnect/build/openconnect.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/openconnect/build/openconnect.SlackBuild b/openconnect/build/openconnect.SlackBuild
index 16cfbab4..bbafb6ff 100755
--- a/openconnect/build/openconnect.SlackBuild
+++ b/openconnect/build/openconnect.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2017, 2018 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -37,6 +37,8 @@
# * Small fix to the vpnc-script
# 7.08-3: 24/jun/2017 by Eric Hameleers <alien@slackware.com>
# * Fix to the patch to the vpnc-script...
+# 7.08-4: 03/jun/2018 by Eric Hameleers <alien@slackware.com>
+# * Rebuilt against new libidn in Slackware-current
#
# 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 .
@@ -46,8 +48,8 @@
PRGNAM=openconnect
VERSION=${VERSION:-7.08}
-BUILD=${BUILD:-3}
-NUMJOBS=${NUMJOBS:-" -j4 "}
+BUILD=${BUILD:-4}
+NUMJOBS=${NUMJOBS:-"-j$(nproc)"}
TAG=${TAG:-alien}
DOCS="AUTHORS COPYING* TODO"
@@ -74,7 +76,7 @@ SRCURL[1]="http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;