diff options
-rw-r--r-- | app-admin/apachetop/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/apachetop/Manifest | 2 | ||||
-rw-r--r-- | app-admin/apachetop/apachetop-0.11.ebuild | 36 | ||||
-rw-r--r-- | app-admin/apachetop/files/digest-apachetop-0.11 | 1 |
4 files changed, 44 insertions, 1 deletions
diff --git a/app-admin/apachetop/ChangeLog b/app-admin/apachetop/ChangeLog index 4b6ac2bc1fb5..99ecb87540b9 100644 --- a/app-admin/apachetop/ChangeLog +++ b/app-admin/apachetop/ChangeLog @@ -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) diff --git a/app-admin/apachetop/Manifest b/app-admin/apachetop/Manifest index 265dfb173c35..fb5755e6f530 100644 --- a/app-admin/apachetop/Manifest +++ b/app-admin/apachetop/Manifest @@ -1,4 +1,5 @@ MD5 a9fbbdefd0e53dbb0dac8540baa1fc56 apachetop-0.9.ebuild 988 +MD5 4a6d90e3680b0000d727e44538dedc41 apachetop-0.11.ebuild 1007 MD5 d9c478c00c7994adad349d6886004be7 apachetop-0.5.ebuild 916 MD5 53f85f82d4a949b7e9ad1ec1f26c863e apachetop-0.10.ebuild 978 MD5 a22745e3f269957c917961ec81d0e00a ChangeLog 1212 @@ -6,3 +7,4 @@ 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 index 000000000000..3c6e763bbc89 --- /dev/null +++ b/app-admin/apachetop/apachetop-0.11.ebuild @@ -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 index 000000000000..6b434903b8b9 --- /dev/null +++ b/app-admin/apachetop/files/digest-apachetop-0.11 @@ -0,0 +1 @@ +MD5 cd83ad174f792d971361093a04f82b07 apachetop-0.11.tar.gz 124473 |