summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-03-08 19:51:30 +0000
committerPeter Volkov <pva@gentoo.org>2008-03-08 19:51:30 +0000
commite9a7e3e5bafb61c12e1b3287644492b858e27d6f (patch)
treec99078dff117612a781e099360798a0c1f1f7247 /net-analyzer
parentRemove broken libjpeg2k plugin (diff)
downloadgentoo-2-e9a7e3e5bafb61c12e1b3287644492b858e27d6f.tar.gz
gentoo-2-e9a7e3e5bafb61c12e1b3287644492b858e27d6f.tar.bz2
gentoo-2-e9a7e3e5bafb61c12e1b3287644492b858e27d6f.zip
Version bump, fixes XSS vulnerability, bug #212731, thank Robert Buchholz.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sarg/ChangeLog7
-rw-r--r--net-analyzer/sarg/sarg-2.2.5.ebuild (renamed from net-analyzer/sarg/sarg-2.2.2.ebuild)18
2 files changed, 17 insertions, 8 deletions
diff --git a/net-analyzer/sarg/ChangeLog b/net-analyzer/sarg/ChangeLog
index 1efda5800673..c3afa7a2f2ce 100644
--- a/net-analyzer/sarg/ChangeLog
+++ b/net-analyzer/sarg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/sarg
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.38 2008/03/06 13:50:38 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.39 2008/03/08 19:51:30 pva Exp $
+
+*sarg-2.2.5 (08 Mar 2008)
+
+ 08 Mar 2008; <pva@gentoo.org> -sarg-2.2.2.ebuild, +sarg-2.2.5.ebuild:
+ Version bump, fixes XSS vulnerability, bug #212731, thank Robert Buchholz.
06 Mar 2008; Steve Dibb <beandog@gentoo.org> sarg-2.2.4.ebuild:
amd64 stable, bug 212208
diff --git a/net-analyzer/sarg/sarg-2.2.2.ebuild b/net-analyzer/sarg/sarg-2.2.5.ebuild
index 6b3f7c098f9c..150711993a50 100644
--- a/net-analyzer/sarg/sarg-2.2.2.ebuild
+++ b/net-analyzer/sarg/sarg-2.2.5.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild,v 1.5 2008/03/03 16:25:05 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.5.ebuild,v 1.1 2008/03/08 19:51:30 pva Exp $
inherit eutils
DESCRIPTION="Squid Analysis Report Generator"
HOMEPAGE="http://sarg.sourceforge.net/sarg.php"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/sarg-2.2.3.1-lots-of-compiler-warnings.patch.gz"
LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE=""
@@ -24,6 +25,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${WORKDIR}"/${PN}-2.2.3.1-lots-of-compiler-warnings.patch
+ epatch "${FILESDIR}"/${PN}-2.2.3.1-rewind.patch
+
# Fixes bug #43132
sed -i \
-e 's:"/usr/local/squid/var/logs/access.log":"/var/log/squid/access.log":' \
@@ -58,10 +62,10 @@ src_install() {
dodir /etc/sarg /usr/sbin
make \
- BINDIR=${D}/usr/sbin \
- MANDIR=${D}/usr/share/man/man1 \
- SYSCONFDIR=${D}/etc/sarg \
- HTMLDIR=${D}/var/www/html \
+ BINDIR="${D}"/usr/sbin \
+ MANDIR="${D}"/usr/share/man/man1 \
+ SYSCONFDIR="${D}"/etc/sarg \
+ HTMLDIR="${D}"/var/www/html \
install || die "sarg installation failed"
dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess