summaryrefslogtreecommitdiffstats
path: root/network/sstp-client/sstp-client.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sstp-client/sstp-client.SlackBuild')
-rw-r--r--network/sstp-client/sstp-client.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/sstp-client/sstp-client.SlackBuild b/network/sstp-client/sstp-client.SlackBuild
index 4ab8922ed7..a9835ec5ce 100644
--- a/network/sstp-client/sstp-client.SlackBuild
+++ b/network/sstp-client/sstp-client.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SSTP-Client
-# Copyright 2013, 2016, 2017, 2019 Mario Preksavec, Zagreb, Croatia
+# Copyright 2013, 2023 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sstp-client
-VERSION=${VERSION:-1.0.12}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.18}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,9 @@ find -L . \
# Set proper examples dir, --docdir overriding does not work
sed -i -e "/^docdir/s:@PACKAGE@:$PRGNAM-$VERSION/examples:" Makefile.in
+# Set PPPD version, plugin dir detection does not work
+PPPD_VERSION=$(pppd --version | awk '{print $NF}')
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-user=nobody \
--enable-group=nogroup \
--enable-ppp-plugin \
+ --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD_VERSION \
--build=$ARCH-slackware-linux
make