aboutsummaryrefslogtreecommitdiff
path: root/system/apachetop
diff options
context:
space:
mode:
Diffstat (limited to 'system/apachetop')
-rw-r--r--system/apachetop/apachetop.SlackBuild9
-rw-r--r--system/apachetop/apachetop.info8
-rw-r--r--system/apachetop/slack-desc2
3 files changed, 10 insertions, 9 deletions
diff --git a/system/apachetop/apachetop.SlackBuild b/system/apachetop/apachetop.SlackBuild
index e7a3a26f91f8f..0554b0aa6bebf 100644
--- a/system/apachetop/apachetop.SlackBuild
+++ b/system/apachetop/apachetop.SlackBuild
@@ -10,13 +10,13 @@
# See http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=apachetop
-VERSION=${VERSION:-0.15.6}
+VERSION=${VERSION:-0.17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -27,8 +27,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,6 +65,7 @@ patch -p0 < $CWD/apachetop.manpage.diff
# Add --with-adns=<path> if you have adns installed and want ApacheTop support
# Note: The log to parce can be overwritten at runtime, using the '-f' flag.
+./autogen.sh
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/system/apachetop/apachetop.info b/system/apachetop/apachetop.info
index 879151c5ccbef..9270b6d4b86f6 100644
--- a/system/apachetop/apachetop.info
+++ b/system/apachetop/apachetop.info
@@ -1,8 +1,8 @@
PRGNAM="apachetop"
-VERSION="0.15.6"
-HOMEPAGE="http://freecode.com/projects/apachetop"
-DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/apachetop/apachetop-0.15.6.tar.gz/69896c163abd3fd1961f5939fbe6c4cf/apachetop-0.15.6.tar.gz"
-MD5SUM="69896c163abd3fd1961f5939fbe6c4cf"
+VERSION="0.17.4"
+HOMEPAGE="https://github.com/tessus/apachetop"
+DOWNLOAD="https://github.com/tessus/apachetop/archive/0.17.4/apachetop-0.17.4.tar.gz"
+MD5SUM="cee4fd250ace4fb07f6f6cb2f44892e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/apachetop/slack-desc b/system/apachetop/slack-desc
index abde1bd151537..95761fe03adb9 100644
--- a/system/apachetop/slack-desc
+++ b/system/apachetop/slack-desc
@@ -14,6 +14,6 @@ apachetop: ApacheTop was written by Chris Elsworth
apachetop:
apachetop:
apachetop:
-apachetop: Project URL: http://freecode.com/projects/apachetop
+apachetop: Project URL: https://github.com/tessus/apachetop
apachetop:
apachetop: