diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-26 02:24:44 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:26 +0700 |
commit | 59a599b2b264643006e001bed85b339102af4dd6 (patch) | |
tree | 9593043936deb89f880fc8fadb17695420f6e102 /network | |
parent | 26805cd31402dfc05575cd2cd11893f85b7a14be (diff) |
network/wmnd: Updated for version 0.4.18.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/wmnd/README | 8 | ||||
-rw-r--r-- | network/wmnd/wmnd.SlackBuild | 20 | ||||
-rw-r--r-- | network/wmnd/wmnd.info | 8 |
3 files changed, 17 insertions, 19 deletions
diff --git a/network/wmnd/README b/network/wmnd/README index a346f7e3e1854..479b9edccc837 100644 --- a/network/wmnd/README +++ b/network/wmnd/README @@ -1,3 +1,5 @@ +wmnd (WindowMaker Network Devices DockApp) + WMND is a dockapp for monitoring network interfaces under WindowMaker and other compatible window managers. WMND currently works on Linux, FreeBSD, NetBSD, Solaris, OpenSolaris, Darwin and IRIX. @@ -8,6 +10,6 @@ display modes and can also monitor remote interfaces through SNMP. An optional dep is "Trend" (not on SBo) which can be used to zoom in on the bars inside the dockapp. -Note: This dockapp has an automatically generated RC file in -~/.wmnd FIXME You can see an example of how to customize it in -/usr/doc/wmnd-0.4.17/examples/wmndrc +Note: This dockapp uses a config file "~/.wmndrc". If it's not found, +an empty one is created. You can see an example of how to customize it +in: /usr/doc/wmnd-0.4.18/examples/wmndrc diff --git a/network/wmnd/wmnd.SlackBuild b/network/wmnd/wmnd.SlackBuild index 683e5ed3b9ace..0d69b7832d54a 100644 --- a/network/wmnd/wmnd.SlackBuild +++ b/network/wmnd/wmnd.SlackBuild @@ -27,6 +27,7 @@ # Now maintained by B. Watson <yalhcru@gmail.com> +# 20210926 bkw: update for v0.4.18. # 20160816 bkw: # - take over maintenance # - BUILD=2 @@ -39,8 +40,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wmnd -VERSION=${VERSION:-0.4.17} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.4.18} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,9 +53,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 @@ -87,14 +85,12 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ sed -i \ - "s,/usr/share/doc/$PRGNAM/,/usr/doc/$PRGNAM-$VERSION/${PRGNAM}rc," \ + -e "s,/usr/share/doc/$PRGNAM/,/usr/doc/$PRGNAM-$VERSION/${PRGNAM}rc," \ + -e "s,it's outer,its outer," \ doc/$PRGNAM.1 CFLAGS="$SLKCFLAGS" \ @@ -114,7 +110,7 @@ make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog* COPYING examples/${PRGNAM}rc NEWS README THANKS TODO \ +cp -a ChangeLog* examples/${PRGNAM}rc *.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/wmnd/wmnd.info b/network/wmnd/wmnd.info index ab516c2634ddd..ab780e211e56d 100644 --- a/network/wmnd/wmnd.info +++ b/network/wmnd/wmnd.info @@ -1,8 +1,8 @@ PRGNAM="wmnd" -VERSION="0.4.17" -HOMEPAGE="http://www.thregr.org/~wavexx/software/wmnd/" -DOWNLOAD="http://www.thregr.org/~wavexx/software/wmnd/releases/wmnd-0.4.17.tar.gz" -MD5SUM="dbf6d6c42ab3e036388d261d2e7bea16" +VERSION="0.4.18" +HOMEPAGE="https://www.thregr.org/~wavexx/software/wmnd/" +DOWNLOAD="https://www.thregr.org/~wavexx/software/wmnd/releases/wmnd-0.4.18.tar.gz" +MD5SUM="729d0208a7acc5ff185735f51020eefe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |