diff options
author | Renat Lumpau <rl03@gentoo.org> | 2005-09-30 17:22:44 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2005-09-30 17:22:44 +0000 |
commit | b4eb10c6f541924be626375461d58606efb7263d (patch) | |
tree | 6e5fd0a286097e5b9670ad2d9eaf22f6a8c17102 /app-admin/apachetop | |
parent | Stable on sparc (diff) | |
download | historical-b4eb10c6f541924be626375461d58606efb7263d.tar.gz historical-b4eb10c6f541924be626375461d58606efb7263d.tar.bz2 historical-b4eb10c6f541924be626375461d58606efb7263d.zip |
Revbump wrt security bug #104473.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-admin/apachetop')
-rw-r--r-- | app-admin/apachetop/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/apachetop/Manifest | 11 | ||||
-rw-r--r-- | app-admin/apachetop/apachetop-0.12.5-r1.ebuild | 39 | ||||
-rw-r--r-- | app-admin/apachetop/files/CAN-2005-2660.patch | 20 | ||||
-rw-r--r-- | app-admin/apachetop/files/digest-apachetop-0.12.5-r1 | 1 |
5 files changed, 74 insertions, 5 deletions
diff --git a/app-admin/apachetop/ChangeLog b/app-admin/apachetop/ChangeLog index 7d30a52e684c..df244ea031ed 100644 --- a/app-admin/apachetop/ChangeLog +++ b/app-admin/apachetop/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/apachetop # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.28 2005/09/28 00:30:31 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.29 2005/09/30 17:22:44 rl03 Exp $ + +*apachetop-0.12.5-r1 (30 Sep 2005) + + 30 Sep 2005; Renat Lumpau <rl03@gentoo.org> +files/CAN-2005-2660.patch, + +apachetop-0.12.5-r1.ebuild: + Revbump wrt security bug #104473. 28 Sep 2005; Renat Lumpau <rl03@gentoo.org> -apachetop-0.11.ebuild, -apachetop-0.12.ebuild: diff --git a/app-admin/apachetop/Manifest b/app-admin/apachetop/Manifest index 9390cab7786d..e2f0cbf09046 100644 --- a/app-admin/apachetop/Manifest +++ b/app-admin/apachetop/Manifest @@ -1,14 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 8298b477a8cde25dfe4ceb303bfadb49 apachetop-0.12.5-r1.ebuild 1099 MD5 ae59afc3a444b95bceb4f44742ab5209 apachetop-0.12.5.ebuild 1000 -MD5 cd3f99def9543d896b7a058eed40486c ChangeLog 3421 +MD5 35c60f695a24436c7c8999dd46892ab6 ChangeLog 3599 MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 ddba3662bcd820b6ba4b41b4e254724b files/CAN-2005-2660.patch 577 +MD5 946d0848d81bf273d4d8a0cf79667a31 files/digest-apachetop-0.12.5-r1 68 MD5 946d0848d81bf273d4d8a0cf79667a31 files/digest-apachetop-0.12.5 68 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFDOeQzEzitwsaoONoRAkgCAKCODnRjM18ildbFT8uqxNsGR49zVgCbBwVo -L5iliq6szyNPzMRTFRXCIQk= -=wMWe +iD8DBQFDPXR9EzitwsaoONoRAttRAJ9j3ANNmb9cw2cT2vX2WrBzYLXOlgCfQith +n4DtQ+2Hs/OoC7Yxt2R57Ck= +=3L6g -----END PGP SIGNATURE----- diff --git a/app-admin/apachetop/apachetop-0.12.5-r1.ebuild b/app-admin/apachetop/apachetop-0.12.5-r1.ebuild new file mode 100644 index 000000000000..26090fa72882 --- /dev/null +++ b/app-admin/apachetop/apachetop-0.12.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/apachetop-0.12.5-r1.ebuild,v 1.1 2005/09/30 17:22:44 rl03 Exp $ + +inherit eutils + +DESCRIPTION="A realtime Apache log analyzer" +HOMEPAGE="http://clueful.shagged.org/apachetop/" +SRC_URI="http://clueful.shagged.org/apachetop/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" +IUSE="apache2 fam pcre adns" + +DEPEND="sys-apps/sed + sys-libs/readline + sys-libs/ncurses + fam? ( virtual/fam ) + pcre? ( dev-libs/libpcre ) + adns? ( net-libs/adns )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/CAN-2005-2660.patch +} + +src_compile() { + useq apache2 && logfile="/var/log/apache2/access_log" + useq apache2 || logfile="/var/log/apache/access_log" + econf --with-logfile="${logfile}" `use_with fam` `use_with pcre` `use_with adns` || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc README INSTALL TODO AUTHORS ChangeLog NEWS +} diff --git a/app-admin/apachetop/files/CAN-2005-2660.patch b/app-admin/apachetop/files/CAN-2005-2660.patch new file mode 100644 index 000000000000..cea26afa4c5b --- /dev/null +++ b/app-admin/apachetop/files/CAN-2005-2660.patch @@ -0,0 +1,20 @@ +--- apachetop-0.12.5.orig/src/apachetop.cc 2005-09-27 20:48:10.000000000 -0400 ++++ apachetop-0.12.5/src/apachetop.cc 2005-09-27 20:49:26.000000000 -0400 +@@ -1105,7 +1105,16 @@ + FILE *d; + va_list args; + +- if (cf.debug && (d = fopen(DEBUG_OUTPUT, "a"))) ++ static char fileName[1024] = {'\0'}; ++ ++ if ( !strlen( fileName ) ) ++ { ++ strcpy( fileName, "/tmp/atop.XXXXXX" ); ++ mkdtemp( fileName ); ++ strncat( fileName, "/debug", sizeof(fileName ) ); ++ } ++ ++ if (cf.debug && (d = fopen(fileName, "a"))) + { + va_start(args, fmt); + vfprintf(d, fmt, args); diff --git a/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 b/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 new file mode 100644 index 000000000000..e9a79fb4e6c3 --- /dev/null +++ b/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 @@ -0,0 +1 @@ +MD5 47c40c26319d57100008a2a56dcefe06 apachetop-0.12.5.tar.gz 126967 |