summaryrefslogtreecommitdiffstats
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.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/n/yptools/yptools.SlackBuild b/source/n/yptools/yptools.SlackBuild
index ad9323a10..379194278 100755
--- a/source/n/yptools/yptools.SlackBuild
+++ b/source/n/yptools/yptools.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
# Package version number:
PKGNAM=yptools
VERSION=2.14
-BUILD=${BUILD:-11}
+BUILD=${BUILD:-12}
YPTOOLS=$VERSION
YPBINDMT=1.38
@@ -77,7 +77,7 @@ mkdir -p $PKG/etc
# Add etc/nsswitch.conf-nis as a full NIS+ example config file:
zcat $CWD/nsswitch.conf-nis.gz > $PKG/etc/nsswitch.conf-nis.new
rm -rf yp-tools-$YPTOOLS
-tar xvf $CWD/yp-tools-$YPTOOLS.tar.bz2 || exit 1
+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
./configure \
@@ -139,8 +139,9 @@ echo "| ypbind-mt-$YPBINDMT |"
echo "+================+"
cd $TMP
rm -rf ypbind-mt-$YPBINDMT
-tar xvf $CWD/ypbind-mt-$YPBINDMT.tar.bz2 || exit 1
+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} \
@@ -175,7 +176,7 @@ chmod 644 $PKG/usr/doc/ypbind-mt-$YPBINDMT/*
#echo "+=============+"
#cd $TMP
#rm -rf ypmake-$YPMAKE
-#tar xvf $CWD/ypmake-$YPMAKE.tar.bz2 || exit 1
+#tar xvf $CWD/ypmake-$YPMAKE.tar.?z || exit 1
#cd ypmake-$YPMAKE || exit 1
#./configure
## I'm just not taking chances with the cleanliness of these sources anymore...
@@ -201,7 +202,7 @@ echo "| ypserv-$YPSERV |"
echo "+============+"
cd $TMP
rm -rf ypserv-$YPSERV
-tar xvf $CWD/ypserv-$YPSERV.tar.bz2 || exit 1
+tar xvf $CWD/ypserv-$YPSERV.tar.?z || exit 1
cd ypserv-$YPSERV || exit 1
# --with-ndbm=yes
# Support for this was discontinued upstream