summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Mario Preksavec <mario@slackware.hr>2023-02-08 00:58:32 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-11 09:30:45 +0700
commit9f4ec5c004b1bd98a551bef2a01984fd8861153f (patch)
treed4f8eccc75ad25c4af4fdae3b2fcd7993aacf5e1
parent6010fc5ed87979e3a07b55d194121b53c5d6275d (diff)
downloadslackbuilds-9f4ec5c004b1bd98a551bef2a01984fd8861153f.tar.gz
slackbuilds-9f4ec5c004b1bd98a551bef2a01984fd8861153f.tar.xz
network/sstp-client: Updated for version 1.0.18.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/sstp-client/sstp-client.SlackBuild10
-rw-r--r--network/sstp-client/sstp-client.info6
2 files changed, 10 insertions, 6 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
diff --git a/network/sstp-client/sstp-client.info b/network/sstp-client/sstp-client.info
index 30500d0b47..3f8e2b3bbe 100644
--- a/network/sstp-client/sstp-client.info
+++ b/network/sstp-client/sstp-client.info
@@ -1,8 +1,8 @@
PRGNAM="sstp-client"
-VERSION="1.0.12"
+VERSION="1.0.18"
HOMEPAGE="http://sstp-client.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sstp-client/sstp-client-1.0.12.tar.gz"
-MD5SUM="94c927fc6177b7f0048f4f673d9479fe"
+DOWNLOAD="http://downloads.sourceforge.net/sstp-client/sstp-client-1.0.18.tar.gz"
+MD5SUM="04ec1868f825d3218173a95bc9b9eff2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""