summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-09-19 09:20:05 +0000
committerPeter Volkov <pva@gentoo.org>2010-09-19 09:20:05 +0000
commit8497b5b8ce903e2d980abc038465207e430843ef (patch)
tree89a0c081d2530e0074dd0aadd6fe1160b782e551 /net-analyzer/sarg
parentRemove old. (diff)
downloadhistorical-8497b5b8ce903e2d980abc038465207e430843ef.tar.gz
historical-8497b5b8ce903e2d980abc038465207e430843ef.tar.bz2
historical-8497b5b8ce903e2d980abc038465207e430843ef.zip
Version bump, bug #318097, thank cpa for report and Jeroen Roovers for initial scratch ebuild.
Package-Manager: portage-2.1.9.7/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/sarg')
-rw-r--r--net-analyzer/sarg/ChangeLog10
-rw-r--r--net-analyzer/sarg/Manifest4
-rw-r--r--net-analyzer/sarg/sarg-2.3.1.ebuild54
3 files changed, 65 insertions, 3 deletions
diff --git a/net-analyzer/sarg/ChangeLog b/net-analyzer/sarg/ChangeLog
index 21134590f993..57d52cfb5ab2 100644
--- a/net-analyzer/sarg/ChangeLog
+++ b/net-analyzer/sarg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/sarg
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.53 2009/04/18 13:40:56 ranger Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.54 2010/09/19 09:20:05 pva Exp $
+
+*sarg-2.3.1 (19 Sep 2010)
+
+ 19 Sep 2010; Peter Volkov <pva@gentoo.org> +sarg-2.3.1.ebuild:
+ Version bump, bug #318097, thank cpa for report and Jeroen Roovers for
+ initial scratch ebuild.
18 Apr 2009; Brent Baude <ranger@gentoo.org> sarg-2.2.5-r5.ebuild:
Marking sarg-2.2.5-r5 ppc for bug 222121
diff --git a/net-analyzer/sarg/Manifest b/net-analyzer/sarg/Manifest
index e6701dadf0f7..a7ef1ef1c2ca 100644
--- a/net-analyzer/sarg/Manifest
+++ b/net-analyzer/sarg/Manifest
@@ -1,5 +1,7 @@
DIST sarg-2.2.5-patchset-5.tar.bz2 19830 RMD160 af81d065b8f9148052cb48c06ccc16267af7df7b SHA1 4abc7999a90d7e86fed182c44b9348e68acb9dd3 SHA256 e2660de19c117743077667fad002ebd8813d6dc40b381b0c056eb42b47139e0a
DIST sarg-2.2.5.tar.gz 639563 RMD160 df88b592b4425a4d2d4a79a13ed8a47a5dc1bc20 SHA1 ac885a617d8701c548267db0d12e7e56bb14ed90 SHA256 4798d8219c3d8e06fe122f0ae49754d18abfb901463e5edd71f4b7a529c1e81d
+DIST sarg-2.3.1.tar.gz 1073514 RMD160 b990ffd6baa170f0fd63c160555882779343c140 SHA1 823849387090bd6ff85db045a38db5a5ac7b7887 SHA256 2228d5dea0e9ce7a3996e0ec238a4e8ca0681e809eda85e9bf334e76cd621d0f
EBUILD sarg-2.2.5-r5.ebuild 2440 RMD160 337d452068f06c18e66a78dea526d25cd00ecbb7 SHA1 d79631a5a2b4fa1c84ec47b6d5be82a37d965e63 SHA256 ab84c1fa11ec62e7f67bf09d18ac4ce1d850599d656b70a3fcb26331dcb431e2
-MISC ChangeLog 7459 RMD160 874503ca4e6c55fb506eea2352ec775328648111 SHA1 433b504cbed482972272aeabb1b9c0e9cc174bfc SHA256 b033e46786a0ca9a2d8a2a81dcf0d136c3f47fb3eb824116df69afaaa720ebe3
+EBUILD sarg-2.3.1.ebuild 1651 RMD160 af7551bc016fc038c9562c7879d634c15270cb18 SHA1 6e9358b3cd2a2699c19b01bc527ca212196044cf SHA256 5e0f0b2829acbe7ae13babee13448c66875df8cdb641fc2110d4f1fa754156ac
+MISC ChangeLog 7648 RMD160 b1b7749b0d7905e82f82f3d0b5523297ce5e9655 SHA1 2551dfc4658fc426b31be7b811bcf84c064bd38e SHA256 3a20304775c63ba6eda590195c0ddb4069559e3fe26a4b658961f48920509dad
MISC metadata.xml 499 RMD160 e1d8c2429d6e6bd52372c29d5921a33d3751be8f SHA1 cbbf1d8a5bf9bcbeffc62ea41e8145a04b863a55 SHA256 73e57d3a1296fbef657981debed6854802edc051c1a4be60bfb37bdcbbb748a0
diff --git a/net-analyzer/sarg/sarg-2.3.1.ebuild b/net-analyzer/sarg/sarg-2.3.1.ebuild
new file mode 100644
index 000000000000..45561e671b87
--- /dev/null
+++ b/net-analyzer/sarg/sarg-2.3.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.3.1.ebuild,v 1.1 2010/09/19 09:20:05 pva Exp $
+
+EAPI="2"
+inherit eutils autotools
+
+DESCRIPTION="Squid Analysis Report Generator"
+HOMEPAGE="http://sarg.sourceforge.net/sarg.php"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="media-libs/gd[png,truetype]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ einfo "Running sed to substitute paths..."
+ sed \
+ -e 's:/usr/local/squid/var/logs/access.log:/var/log/squid/access.log:' \
+ -e 's:/usr/local/\(squidGuard/squidGuard.conf\):/etc/\1:' \
+ -e 's:/var/www/html/squid-reports:/var/www/localhost/htdocs/squid-reports:' \
+ -i sarg.conf || die
+
+ sed \
+ -e 's:"/var/www/html/squid-reports":"/var/www/localhost/htdocs/squid-reports":' \
+ -i log.c || die #43132
+
+ sed -e 's:/usr/local/sarg/passwd:/etc/sarg/passwd:' \
+ -i htaccess || die
+
+ sed -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \
+ -e 's:/usr/local/squid/etc/passwd:/etc/squid/passwd:' \
+ -i user_limit_block || die
+
+ sed -e 's:/usr/local/squid/etc/block.txt:/etc/squid/etc/block.txt:' \
+ -i sarg-php/sarg-block-it.php || die
+
+ sed -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \
+ -e 's:/usr/local/\(squidGuard/squidGuard.conf\):/etc/\1:' \
+ -i sarg.1 sarg-php/sarg-squidguard-block.php || die
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/sarg/
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "sarg installation failed"
+ dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess || die
+}