aboutsummaryrefslogtreecommitdiff
path: root/network/darkstat
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-05-08 07:25:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:28 -0500
commit80c48be9d8863ccabeb4f58e3341527c6ebe0258 (patch)
treece49037758efa79fb80e3a6bf177a1158c924387 /network/darkstat
parent63ac2ff324096001f0e0ad141ccc2f003dce6295 (diff)
network/darkstat: Updated for version 3.0.715; various cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/darkstat')
-rw-r--r--network/darkstat/darkstat.SlackBuild15
-rw-r--r--network/darkstat/darkstat.info8
2 files changed, 8 insertions, 15 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild
index 3b585e000ad2..0bf715c6e385 100644
--- a/network/darkstat/darkstat.SlackBuild
+++ b/network/darkstat/darkstat.SlackBuild
@@ -5,7 +5,7 @@
# Written by Jorey Bump
PRGNAM=darkstat
-VERSION=${VERSION:-3.0.707}
+VERSION=${VERSION:-3.0.715}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,20 +24,16 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS COPYING.GPL NEWS README THANKS"
+DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e # Exit on most errors
@@ -59,7 +55,6 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man
@@ -70,10 +65,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/darkstat/darkstat.info b/network/darkstat/darkstat.info
index 8034393c5e98..70ab414e173a 100644
--- a/network/darkstat/darkstat.info
+++ b/network/darkstat/darkstat.info
@@ -1,8 +1,8 @@
PRGNAM="darkstat"
-VERSION="3.0.707"
-HOMEPAGE="http://dmr.ath.cx/net/darkstat/"
-DOWNLOAD="http://dmr.ath.cx/net/darkstat/darkstat-3.0.707.tar.bz2"
-MD5SUM="91c70f96498dd679b21330214361e4dc"
+VERSION="3.0.715"
+HOMEPAGE="http://unix4lyfe.org/darkstat/"
+DOWNLOAD="http://unix4lyfe.org/darkstat/darkstat-3.0.715.tar.bz2"
+MD5SUM="5b7abc7538dcd8e30667dac150e81d77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""