summaryrefslogtreecommitdiff
path: root/system/apachetop/apachetop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/apachetop/apachetop.SlackBuild')
-rw-r--r--system/apachetop/apachetop.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/apachetop/apachetop.SlackBuild b/system/apachetop/apachetop.SlackBuild
index 4051b84461..df3ae7f561 100644
--- a/system/apachetop/apachetop.SlackBuild
+++ b/system/apachetop/apachetop.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for ApacheTop
# Written by Menno Duursma <druiloor@zonnet.nl>
+# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
# This program is free software. It comes without any warranty.
# Granted WTFPLv2, as published by Sam Hocevar dec 2004.
@@ -10,7 +11,7 @@
PRGNAM=apachetop
VERSION=${VERSION:-0.12.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -60,6 +61,9 @@ patch -p0 < $CWD/apachetop.outputfile.patch
# Add mension of the feature added above to the manpage.
patch -p0 < $CWD/apachetop.manpage.diff
+# Add patch from Fedora Project to fix buffer overflow possibility
+patch -p1 < $CWD/apachetop-0.12.6-maxpathlen.patch
+
# 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.
CXXFLAGS="$SLKCFLAGS" \