aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--network/2ping/2ping.SlackBuild8
-rw-r--r--network/2ping/2ping.info6
-rw-r--r--network/2ping/README6
3 files changed, 10 insertions, 10 deletions
diff --git a/network/2ping/2ping.SlackBuild b/network/2ping/2ping.SlackBuild
index 969c812fc364..6a787069a3d8 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
diff --git a/network/2ping/2ping.info b/network/2ping/2ping.info
index a706dfac6a61..02729b908b26 100644
--- a/network/2ping/2ping.info
+++ b/network/2ping/2ping.info
@@ -1,8 +1,8 @@
PRGNAM="2ping"
-VERSION="4.5"
+VERSION="4.5.1"
HOMEPAGE="https://www.finnie.org/software/2ping/"
-DOWNLOAD="https://github.com/rfinnie/2ping/archive/v4.5/2ping-4.5.tar.gz"
-MD5SUM="acfb9d8e40cfae72bf1767347528ae4b"
+DOWNLOAD="https://github.com/rfinnie/2ping/archive/v4.5.1/2ping-4.5.1.tar.gz"
+MD5SUM="6fbe77fbda98fb3a41fb4fa7c6c14871"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/2ping/README b/network/2ping/README
index 4cf019b7474c..f47b5705c107 100644
--- a/network/2ping/README
+++ b/network/2ping/README
@@ -10,11 +10,13 @@ without setting one of your own up, there are several public test
listeners available. Try test.2ping.net, cromulent.colobox.com, or
linode-london.mirrors.finnix.org.
-To run a listener, you can manually start one with e.g. "2ping --listen".
+To run a listener, you can manually start it with e.g. "2ping --listen".
If you want to start a listener at boot, add a command like this to
/etc/rc.d/rc.local:
-su nobody -s /bin/sh -c 'exec /usr/bin/2ping --quiet --listen' &> /dev/null &
+su nobody -s /bin/sh -c \
+ 'exec /usr/bin/2ping --quiet --listen' \
+ &> /dev/null &
Optional dependencies: Certain command line options to 2ping require
additional packages.