summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-09-12 06:04:09 +0000
committerPeter Volkov <pva@gentoo.org>2011-09-12 06:04:09 +0000
commitf8e7a6afe16c75ee7e91567d5c3b45723eb90bfb (patch)
treedc501842164c7ed52d634f874027a1bd91d07eac /net-analyzer/sarg
parentFix build with newer versions of libav (bug #376419). (diff)
downloadgentoo-2-f8e7a6afe16c75ee7e91567d5c3b45723eb90bfb.tar.gz
gentoo-2-f8e7a6afe16c75ee7e91567d5c3b45723eb90bfb.tar.bz2
gentoo-2-f8e7a6afe16c75ee7e91567d5c3b45723eb90bfb.zip
Drop old.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/sarg')
-rw-r--r--net-analyzer/sarg/ChangeLog6
-rw-r--r--net-analyzer/sarg/sarg-2.2.5-r5.ebuild79
-rw-r--r--net-analyzer/sarg/sarg-2.3.1.ebuild54
3 files changed, 5 insertions, 134 deletions
diff --git a/net-analyzer/sarg/ChangeLog b/net-analyzer/sarg/ChangeLog
index 1da54b2a42e5..4195507a24c5 100644
--- a/net-analyzer/sarg/ChangeLog
+++ b/net-analyzer/sarg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/sarg
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.59 2011/05/31 16:40:36 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.60 2011/09/12 06:04:09 pva Exp $
+
+ 12 Sep 2011; Peter Volkov <pva@gentoo.org> -sarg-2.2.5-r5.ebuild,
+ -sarg-2.3.1.ebuild:
+ Drop old.
31 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> sarg-2.3.1-r1.ebuild:
x86 stable wrt bug #368569
diff --git a/net-analyzer/sarg/sarg-2.2.5-r5.ebuild b/net-analyzer/sarg/sarg-2.2.5-r5.ebuild
deleted file mode 100644
index 356e7a973c67..000000000000
--- a/net-analyzer/sarg/sarg-2.2.5-r5.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.5-r5.ebuild,v 1.3 2009/04/18 13:40:56 ranger 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
- mirror://gentoo/${P}-patchset-5.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-SLOT="0"
-IUSE=""
-
-DEPEND="media-libs/gd[png,truetype]"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- EPATCH_SOURCE="${WORKDIR}/patches/" EPATCH_SUFFIX="patch" epatch
-
- 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:"/usr/local/squid/var/logs/access.log":"/var/log/squid/access.log":' \
- -e 's:"/var/www/html/squid-reports":"/var/www/localhost/htdocs/squid-reports":' \
- -e 's:"/usr/local/sarg/passwd":"/etc/sarg/passwd":' \
- -i log.c || die #43132
-
- sed -e 's:/usr/local/sarg/passwd:/etc/sarg/passwd:' \
- -i htaccess || die
-
- sed -e 's:/usr/local/squid/logs/access.log:/var/log/squid/access.log:' \
- -i splitlog.c convlog.c || 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:' \
- -e 's:/usr/local/squid/logs/access.log:/var/log/squid/access.log:' \
- -i sarg.1 sarg-php/sarg-squidguard-block.php || die
-
- sed -i -e 's:sarg_tmp:sarg:' email.c || die #64743
- eautoreconf
-}
-
-src_configure() {
- econf \
- --enable-bindir=/usr/bin \
- --enable-mandir=/usr/share/man/man1 \
- --enable-sysconfdir=/etc/sarg/
-}
-
-src_install() {
- # This is workaround for sarg installation script, which does not create dirs
- 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 \
- install || die "sarg installation failed"
-
- dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess
-}
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
-}