summaryrefslogtreecommitdiff
path: root/source/n/yptools/yptools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/yptools/yptools.SlackBuild')
-rwxr-xr-xsource/n/yptools/yptools.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/source/n/yptools/yptools.SlackBuild b/source/n/yptools/yptools.SlackBuild
index 37919427..4f1ce4ce 100755
--- a/source/n/yptools/yptools.SlackBuild
+++ b/source/n/yptools/yptools.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd)
# Package version number:
PKGNAM=yptools
-VERSION=2.14
-BUILD=${BUILD:-12}
+VERSION=4.2.3
+BUILD=${BUILD:-1}
YPTOOLS=$VERSION
-YPBINDMT=1.38
+YPBINDMT=2.7.2
#YPMAKE=0.11
-YPSERV=2.32.1
+YPSERV=4.1
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -79,7 +79,13 @@ zcat $CWD/nsswitch.conf-nis.gz > $PKG/etc/nsswitch.conf-nis.new
rm -rf yp-tools-$YPTOOLS
tar xvf $CWD/yp-tools-$YPTOOLS.tar.?z || exit 1
cd yp-tools-$YPTOOLS || exit 1
-zcat $CWD/yp-tools-2.14-glibc217-crypt.diff.gz | patch -p1 --verbose || exit 1
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -141,7 +147,6 @@ cd $TMP
rm -rf ypbind-mt-$YPBINDMT
tar xvf $CWD/ypbind-mt-$YPBINDMT.tar.?z || exit 1
cd ypbind-mt-$YPBINDMT || exit 1
-zcat $CWD/ypbind-mt.gettid.diff.gz | patch -p1 --verbose || exit 1
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \