summaryrefslogtreecommitdiff
path: root/network/NetworkManager-pptp
diff options
context:
space:
mode:
authorMário Antunes <mariolpantunes@gmail.com>2020-01-16 23:20:18 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 12:25:05 +0700
commitac6346f0bf79e40a0fdb591920de68323f6174ae (patch)
tree2b591e9c0a1eccb93b7b93a1709c68e5666d6262 /network/NetworkManager-pptp
parentb920c2e03e408668ca3261343747ff9a510103c3 (diff)
downloadslackbuilds-ac6346f0bf79e40a0fdb591920de68323f6174ae.tar.gz
network/NetworkManager-pptp: Updated for version 1.2.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/NetworkManager-pptp')
-rw-r--r--network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild b/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
index 1f169d2a0d..325758ed3b 100644
--- a/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
+++ b/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=NetworkManager-pptp
-VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.2.8}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Find the version number for pppd, used to specify the plugin directory:
+PPPD=$(echo /usr/lib${LIBDIRSUFFIX}/pppd/?.?.? | rev | cut -f 1 -d / | rev)
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -78,7 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \
+ --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD \
+ --without-gnome \
--build=$ARCH-slackware-linux
make