summaryrefslogtreecommitdiff
path: root/system/apachetop/apachetop.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-10-01 08:10:38 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-10-01 08:43:51 -0500
commitfde51ee5cfc5b9ea1a64956453da13b3b14f62fa (patch)
tree8a775404f0990c6892012021d13d9166276f75cf /system/apachetop/apachetop.SlackBuild
parent0edc246dd96b72f920ce62943b2c37b879dcaef3 (diff)
downloadslackbuilds-fde51ee5cfc5b9ea1a64956453da13b3b14f62fa.tar.gz
system/apachetop: Change maintainer & patch possible buffer overflow
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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" \