summaryrefslogtreecommitdiffstats
path: root/network/ipxnet/ipxnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ipxnet/ipxnet.SlackBuild')
-rw-r--r--network/ipxnet/ipxnet.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/network/ipxnet/ipxnet.SlackBuild b/network/ipxnet/ipxnet.SlackBuild
index 95c1402f90..f2b9ba8d63 100644
--- a/network/ipxnet/ipxnet.SlackBuild
+++ b/network/ipxnet/ipxnet.SlackBuild
@@ -2,19 +2,24 @@
# Slackware build script for ipxnet
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220411 bkw: BUILD=3
+# - put README_SBo.txt in actual doc dir (not $PKG/install!).
+
+# 20210911 bkw: fix missing space before ] in doinst.sh. Grr.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
# We install the binary setuid nobody/nogroup by default.
IPXUSER="${IPXUSER:-nobody}"
IPXGROUP="${IPXGROUP:-nogroup}"
-cd $(dirname $0) ; CWD=$(pwd)
-
PRGNAM=ipxnet
VERSION=${VERSION:-20120808.0dce97e}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -26,9 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -90,6 +92,8 @@ mkdir -p $PKG/var/log
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# Our README includes init script instructions, include it.
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -97,8 +101,5 @@ sed -e "s,@IPXUSER@,$IPXUSER,g" \
-e "s,@IPXGROUP@,$IPXGROUP,g" \
$CWD/doinst.sh > $PKG/install/doinst.sh
-# Our README includes init script instructions, include it.
-cat $CWD/README > $PKG/install/README_SBo.txt
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE