mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
26805cd314
commit
59a599b2b2
3 changed files with 17 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue