summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d737c05202..5bb05ec97a 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 5c76ee1215..8c289342ec 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"