Version bump, closes #41429, added dependency on sys-libs/libtermcap-compat.
authorChuck Short <zul@gentoo.org>
Tue, 30 Mar 2004 23:07:39 +0000 (23:07 +0000)
committerChuck Short <zul@gentoo.org>
Tue, 30 Mar 2004 23:07:39 +0000 (23:07 +0000)
app-admin/apachetop/ChangeLog
app-admin/apachetop/Manifest
app-admin/apachetop/apachetop-0.11.ebuild [new file with mode: 0644]
app-admin/apachetop/files/digest-apachetop-0.11 [new file with mode: 0644]

index 4b6ac2bc1fb54b79f3bcac5965cfa812a725a859..99ecb87540b99aee61e1c3d30b3eb4b57d6b0042 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-admin/apachetop
 # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.8 2004/03/30 22:44:55 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.9 2004/03/30 23:07:38 zul Exp $
+
+  30 Mar 2004; Chuck Short <zul@gentoo.org> :
+  Version bump, closes #41429.
+  Added depend on sys-libs/libtermcap-compat or apachetop would not build.
 
 *apachetop-0.10 (30 Mar 2004)
 
index 265dfb173c356935f688a1c0e32e700c3c7fec2b..f094dc47295bf4ce7016297de4bf70610593d23f 100644 (file)
@@ -1,8 +1,10 @@
 MD5 a9fbbdefd0e53dbb0dac8540baa1fc56 apachetop-0.9.ebuild 988
+MD5 eec30e8bbc90da8c89977634d559f15f apachetop-0.11.ebuild 1005
 MD5 d9c478c00c7994adad349d6886004be7 apachetop-0.5.ebuild 916
 MD5 53f85f82d4a949b7e9ad1ec1f26c863e apachetop-0.10.ebuild 978
-MD5 a22745e3f269957c917961ec81d0e00a ChangeLog 1212
+MD5 ce4caa79b85ada389b1cf9016e461c6e ChangeLog 1365
 MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
 MD5 fa651f53193886eec73464ab4c216750 files/digest-apachetop-0.5 64
 MD5 f7955800245ad93f3a76fdc0e2ba3d3c files/digest-apachetop-0.9 65
 MD5 bc10fbd48e170dd3c0f72960dd8074cf files/digest-apachetop-0.10 66
+MD5 fdecf3384b463c0f2b2d46f6417c7a69 files/digest-apachetop-0.11 66
diff --git a/app-admin/apachetop/apachetop-0.11.ebuild b/app-admin/apachetop/apachetop-0.11.ebuild
new file mode 100644 (file)
index 0000000..3c6e763
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/apachetop-0.11.ebuild,v 1.1 2004/03/30 23:07:38 zul Exp $
+
+S=${WORKDIR}/${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 ~sparc ~mips"
+
+DEPEND="!apache2? ( >=net-www/apache-1.3.28 )
+       apache2? ( >=net-www/apache-2.0.47 )
+       sys-apps/sed
+       sys-libs/libtermcap-compat"
+
+src_compile() {
+       if use apache2
+       then
+               sed -i 's%DEFAULT_LOGFILE "/var/httpd/apache_log"%DEFAULT_LOGFILE "/var/log/apache2/access_log"%' src/apachetop.h
+       else
+               sed -i 's%DEFAULT_LOGFILE "/var/httpd/apache_log"%DEFAULT_LOGFILE "/var/log/access_log"%' src/apachetop.h
+       fi
+       ./configure
+       emake || die
+}
+
+src_install() {
+       dobin src/apachetop || die
+
+       dodoc README INSTALL TODO AUTHORS ChangeLog NEWS
+}
diff --git a/app-admin/apachetop/files/digest-apachetop-0.11 b/app-admin/apachetop/files/digest-apachetop-0.11
new file mode 100644 (file)
index 0000000..6b43490
--- /dev/null
@@ -0,0 +1 @@
+MD5 cd83ad174f792d971361093a04f82b07 apachetop-0.11.tar.gz 124473