summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/sarg/sarg-2.3.1.ebuild')
-rw-r--r--net-analyzer/sarg/sarg-2.3.1.ebuild54
1 files changed, 0 insertions, 54 deletions
diff --git a/net-analyzer/sarg/sarg-2.3.1.ebuild b/net-analyzer/sarg/sarg-2.3.1.ebuild
deleted file mode 100644
index 45561e671b87..000000000000
--- a/net-analyzer/sarg/sarg-2.3.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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
-}