From 80c48be9d8863ccabeb4f58e3341527c6ebe0258 Mon Sep 17 00:00:00 2001 From: ponce Date: Tue, 8 May 2012 07:25:31 +0200 Subject: network/darkstat: Updated for version 3.0.715; various cleanups Signed-off-by: Robby Workman --- network/darkstat/darkstat.SlackBuild | 15 ++++----------- network/darkstat/darkstat.info | 8 ++++---- 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'network') diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild index 3b585e000a..0bf715c6e3 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 8034393c5e..70ab414e17 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="" -- cgit v1.2.3