aboutsummaryrefslogtreecommitdiff
path: root/network/2ping/2ping.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-11 01:08:01 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:22 +0700
commitecd998564a159f76d5a5c3e7b08c05c46d8a2b5f (patch)
tree7940913e9abe613dfa7cd6e5e6eb148d28d95a35 /network/2ping/2ping.SlackBuild
parent5d36a1e75c9eb0d0b42ed670eb39268704c3f74e (diff)
network/2ping: Updated for version 4.5.1.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/2ping/2ping.SlackBuild')
-rw-r--r--network/2ping/2ping.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/2ping/2ping.SlackBuild b/network/2ping/2ping.SlackBuild
index 969c812fc3..6a787069a3 100644
--- a/network/2ping/2ping.SlackBuild
+++ b/network/2ping/2ping.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210911 bkw: update for v4.5.1.
# 20200805 bkw: update for v4.5.
# 20191130 bkw: update for v4.3.
@@ -17,7 +18,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=2ping
-VERSION=${VERSION:-4.5}
+VERSION=${VERSION:-4.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -30,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
@@ -75,7 +73,7 @@ fi
mkdir -p $PKG/usr/man/man1
gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/wireshark
-cp -a README* COPYING ChangeLog doc/*.py doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -a wireshark/*.pcap $PKG/usr/doc/$PRGNAM-$VERSION/wireshark
mkdir -p $PKG/install