summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-12 00:15:26 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 13:08:47 -0600
commit6dab5e1c9758df678bf5dbb44edd959d9aea1d17 (patch)
tree241dd0c0299a7b172e18570744b0e5513db69dcd /network
parent3c672421ff68e4cb05959f43865575d4ffb4c5e3 (diff)
downloadslackbuilds-6dab5e1c9758df678bf5dbb44edd959d9aea1d17.tar.gz
network/bmon: Updated for version 3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/bmon/bmon.SlackBuild23
-rw-r--r--network/bmon/bmon.info8
2 files changed, 10 insertions, 21 deletions
diff --git a/network/bmon/bmon.SlackBuild b/network/bmon/bmon.SlackBuild
index d0f3184558..66e42026c0 100644
--- a/network/bmon/bmon.SlackBuild
+++ b/network/bmon/bmon.SlackBuild
@@ -7,16 +7,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=bmon
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -49,17 +47,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# bmon is by the author of libnl, but apparently bmon only works with
-# 0.x versions of libnl (specifically, it won't build with the libnl 1.1
-# that's included in Slackware 13). There's no --disable-libnl or similar
-# option to the configure script, so we have to patch it.
-patch -p1 < $CWD/disable_libnl.diff
-
-# missing = signs... sigh.
-patch -p1 < $CWD/dumb_compile_error_fixes.diff
-
-autoreconf
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,9 +60,11 @@ make
make install DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-cp -a BUGS TODO ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/bmon/bmon.info b/network/bmon/bmon.info
index 28d66a2756..980f8f0b52 100644
--- a/network/bmon/bmon.info
+++ b/network/bmon/bmon.info
@@ -1,10 +1,10 @@
PRGNAM="bmon"
-VERSION="2.1.0"
+VERSION="3.1"
HOMEPAGE="http://people.suug.ch/~tgr/bmon/"
-DOWNLOAD="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/bmon-2.1.0.tar.gz"
-MD5SUM="3111a027907016c0902d67350c619df6"
+DOWNLOAD="http://www.carisma.slowglass.com/~tgr/bmon/files/bmon-3.1.tar.gz"
+MD5SUM="7341089378fd5558de42e2424693943b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="confuse"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"