From 89803b58461f6550cbdc5c39af61fc6c0247c18d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 27 Apr 2021 00:44:38 -0500 Subject: [PATCH] network/pptpd: Updated for Slackware 15.0 (pppd-2.4.9) --- network/pptpd/patches/fix_plugins_patchlevel_h.diff | 4 ++-- network/pptpd/pptpd.SlackBuild | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/network/pptpd/patches/fix_plugins_patchlevel_h.diff b/network/pptpd/patches/fix_plugins_patchlevel_h.diff index 9dc2edcaaf..c9d240045e 100644 --- a/network/pptpd/patches/fix_plugins_patchlevel_h.diff +++ b/network/pptpd/patches/fix_plugins_patchlevel_h.diff @@ -7,5 +7,5 @@ diff -Nur pptpd-1.4.0.orig/plugins/patchlevel.h pptpd-1.4.0/plugins/patchlevel.h -#define VERSION "2.4.3" -#define DATE "13 Jan 2004" -+#define VERSION "2.4.7" -+#define DATE "9 Nov 2014" ++#define VERSION "2.4.9" ++#define DATE "4 Jan 2021" diff --git a/network/pptpd/pptpd.SlackBuild b/network/pptpd/pptpd.SlackBuild index 9b1bc16774..2df3596f8b 100644 --- a/network/pptpd/pptpd.SlackBuild +++ b/network/pptpd/pptpd.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pptpd -# Copyright 2007-2016 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2007-2021 Robby Workman, Tuscaloosa, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686"