summaryrefslogtreecommitdiffstats
path: root/source/n/iputils/iputils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsource/n/iputils/iputils.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/n/iputils/iputils.SlackBuild b/source/n/iputils/iputils.SlackBuild
index edff743e5..965ba6235 100755
--- a/source/n/iputils/iputils.SlackBuild
+++ b/source/n/iputils/iputils.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=iputils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -75,7 +75,6 @@ find . \
-exec chmod 644 {} \+
zcat $CWD/iputils.docbook.revert.diff.gz | patch -p1 --verbose || exit 1
-zcat $CWD/iputils.libcap-2.30.patch.gz | patch -p1 --verbose || exit 1
# Configure and build:
export CFLAGS="$SLKCFLAGS"
@@ -101,7 +100,7 @@ meson setup \
cd ..
cd meson-build
-strip arping clockdiff ninfod/ninfod ping rarpd rdisc tracepath traceroute6
+strip arping clockdiff ninfod/ninfod ping/ping rarpd rdisc tracepath traceroute6
mkdir -p $PKG/sbin
cat arping > $PKG/sbin/arping
chmod 755 $PKG/sbin/arping
@@ -111,7 +110,7 @@ chmod 755 $PKG/usr/sbin/clockdiff
cat ninfod/ninfod > $PKG/usr/sbin/ninfod
chmod 755 $PKG/usr/sbin/ninfod
mkdir -p $PKG/bin
-cat ping > $PKG/bin/ping
+cat ping/ping > $PKG/bin/ping
chmod 4711 $PKG/bin/ping
( cd $PKG/bin ; ln -sf ping ping6 )
cat rarpd > $PKG/usr/sbin/rarpd