summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-10-04 20:25:11 +0000
committerStuart Herbert <stuart@gentoo.org>2003-10-04 20:25:11 +0000
commitd5d05e7bf134df033c6d8ed714ec0f3b6b79e0b4 (patch)
tree88692dbaaa38fc74b56638959d61d6fa38ce6634 /app-admin/apachetop
parentInitial import; from bug #29860 (diff)
downloadgentoo-2-d5d05e7bf134df033c6d8ed714ec0f3b6b79e0b4.tar.gz
gentoo-2-d5d05e7bf134df033c6d8ed714ec0f3b6b79e0b4.tar.bz2
gentoo-2-d5d05e7bf134df033c6d8ed714ec0f3b6b79e0b4.zip
Initial import; from bug #29860
Diffstat (limited to 'app-admin/apachetop')
-rw-r--r--app-admin/apachetop/ChangeLog9
-rw-r--r--app-admin/apachetop/Manifest5
-rw-r--r--app-admin/apachetop/apachetop-0.5.ebuild33
-rw-r--r--app-admin/apachetop/files/digest-apachetop-0.51
-rw-r--r--app-admin/apachetop/metadata.xml5
5 files changed, 51 insertions, 2 deletions
diff --git a/app-admin/apachetop/ChangeLog b/app-admin/apachetop/ChangeLog
new file mode 100644
index 000000000000..537df57f7137
--- /dev/null
+++ b/app-admin/apachetop/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-apache/ApacheTop
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.1 2003/10/04 20:25:07 stuart Exp $
+
+*apachetop-0.5 (04 Oct 2003)
+
+ 04 Oct 2003; Stuart Herbert <stuart@gentoo.org> apachetop-0.5.ebuild:
+ Initial commit; ebuild by Richard Garand <richard@garandnet.net>; submitted
+ for bug #29860
diff --git a/app-admin/apachetop/Manifest b/app-admin/apachetop/Manifest
index 821e59bb501f..f6617a82e5de 100644
--- a/app-admin/apachetop/Manifest
+++ b/app-admin/apachetop/Manifest
@@ -1,3 +1,4 @@
-MD5 2720317349e2628da3b8daaafb3951b4 apachetop-0.5.ebuild 809
-MD5 364739317193e69d7af753b0461dbcd8 ChangeLog 232
+MD5 54d53b9b0d57d0f34c53e8d00fee1eaa apachetop-0.5.ebuild 912
+MD5 d582937ad41680cc724dc39d6cdf01b4 ChangeLog 418
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 fa651f53193886eec73464ab4c216750 files/digest-apachetop-0.5 64
diff --git a/app-admin/apachetop/apachetop-0.5.ebuild b/app-admin/apachetop/apachetop-0.5.ebuild
new file mode 100644
index 000000000000..ca04c8bdf8a2
--- /dev/null
+++ b/app-admin/apachetop/apachetop-0.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/apachetop-0.5.ebuild,v 1.1 2003/10/04 20:25:07 stuart Exp $
+
+MY_P="ApacheTop-${PV}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A realtime Apache log analyzer"
+HOMEPAGE="http://clueful.shagged.org/apachetop/"
+SRC_URI="http://clueful.shagged.org/apachetop/files/${P}.tar.gz"
+
+IUSE="apache2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="!apache2? ( >=net-www/apache-1.3.28 )
+ apache2? ( >=net-www/apache-2.0.47 )
+ sys-apps/sed"
+
+src_compile() {
+ if use apache2
+ then
+ sed -i 's%DEFAULT_LOGFILE "/var/httpd/apache_log"%DEFAULT_LOGFILE "/etc/apache2/logs/access_log"%' *
+ else
+ sed -i 's%DEFAULT_LOGFILE "/var/httpd/apache_log"%DEFAULT_LOGFILE "/etc/apache/logs/access_log"%' *
+ fi
+ emake linux || die
+}
+
+src_install() {
+ dobin apachetop || die
+}
diff --git a/app-admin/apachetop/files/digest-apachetop-0.5 b/app-admin/apachetop/files/digest-apachetop-0.5
new file mode 100644
index 000000000000..3f71090b1e54
--- /dev/null
+++ b/app-admin/apachetop/files/digest-apachetop-0.5
@@ -0,0 +1 @@
+MD5 02fd919e77b9791f6162cb462daa7749 apachetop-0.5.tar.gz 22787
diff --git a/app-admin/apachetop/metadata.xml b/app-admin/apachetop/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/app-admin/apachetop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>