aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Schaefer <us@ulischaefer.net>2012-05-29 17:39:12 -0400
committerErik Hanson <erik@slackbuilds.org>2012-06-03 15:21:09 -0500
commit2aa198578a6d30bfaa71fc6bcd429030b0af763d (patch)
tree598bc7140c777a57fa2096a56c8e627f9afb73c1
parent7a767e227bfa47ce20d99df28d3179761f1e634d (diff)
network/mrtg: Updated for version 2.17.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--network/mrtg/mrtg.SlackBuild6
-rw-r--r--network/mrtg/mrtg.info6
2 files changed, 7 insertions, 5 deletions
diff --git a/network/mrtg/mrtg.SlackBuild b/network/mrtg/mrtg.SlackBuild
index d737c05202ed..5bb05ec97a95 100644
--- a/network/mrtg/mrtg.SlackBuild
+++ b/network/mrtg/mrtg.SlackBuild
@@ -5,7 +5,7 @@
# Written by Ulrich schaefer (us@ulischaefer.net)
PRGNAM=mrtg
-VERSION=${VERSION:-2.17.2}
+VERSION=${VERSION:-2.17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -65,6 +65,8 @@ CPPFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+sed -i "s/lib\${/lib${LIBDIRSUFFIX}\${/" $PKG/usr/bin/mrtg
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/mrtg/mrtg.info b/network/mrtg/mrtg.info
index 5c76ee121508..8c289342ecbb 100644
--- a/network/mrtg/mrtg.info
+++ b/network/mrtg/mrtg.info
@@ -1,8 +1,8 @@
PRGNAM="mrtg"
-VERSION="2.17.2"
+VERSION="2.17.4"
HOMEPAGE="http://oss.oetiker.ch/mrtg/"
-DOWNLOAD="http://oss.oetiker.ch/mrtg/pub/mrtg-2.17.2.tar.gz"
-MD5SUM="f4c251ef883da2509188711eff4577ad"
+DOWNLOAD="http://oss.oetiker.ch/mrtg/pub/mrtg-2.17.4.tar.gz"
+MD5SUM="197565e97f97212eef7b414463c8d40c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ulrich Schaefer"