summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-14 08:12:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-14 08:12:43 +0700
commitf380676e905cf001be266bc199ca9e093d59aa2c (patch)
tree392ef626a86283cc690f1683c38ed129eacb30e0
parentc687533de4980b7dca45f8526c961afa478b64ea (diff)
downloadslackbuilds-f380676e905cf001be266bc199ca9e093d59aa2c.tar.gz
network/darkstat: Updated for version 3.0.721.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/darkstat/darkstat.SlackBuild15
-rw-r--r--network/darkstat/darkstat.info6
2 files changed, 13 insertions, 8 deletions
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild
index 7dcba86c4c..67f5b494cb 100644
--- a/network/darkstat/darkstat.SlackBuild
+++ b/network/darkstat/darkstat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for darkstat
# Originally Written by Jorey Bump
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=darkstat
-VERSION=${VERSION:-3.0.719}
+VERSION=${VERSION:-3.0.721}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,7 +50,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README"
+DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README*"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,13 +77,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -fiv
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
diff --git a/network/darkstat/darkstat.info b/network/darkstat/darkstat.info
index 6885bc33e4..360e725f6f 100644
--- a/network/darkstat/darkstat.info
+++ b/network/darkstat/darkstat.info
@@ -1,8 +1,8 @@
PRGNAM="darkstat"
-VERSION="3.0.719"
+VERSION="3.0.721"
HOMEPAGE="https://unix4lyfe.org/darkstat/"
-DOWNLOAD="https://unix4lyfe.org/darkstat/darkstat-3.0.719.tar.bz2"
-MD5SUM="963145de05cb21f4d93a9c244beeaea0"
+DOWNLOAD="https://github.com/emikulic/darkstat/archive/refs/tags/3.0.721/darkstat-3.0.721.tar.gz"
+MD5SUM="4d67d74414d2f458ec82972de43ab367"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""