diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-02-17 10:21:38 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-02-17 10:21:38 +0000 |
commit | 448c5d063ea153d97c14e353c009111d8c9a5704 (patch) | |
tree | fe0e6c9c363eca7bab93ab4a1ecea5d2fc46a239 /net-analyzer | |
parent | Fix typo, szarpaj for the patch https://github.com/gentoo/gentoo-portage-rsyn... (diff) | |
download | gentoo-2-448c5d063ea153d97c14e353c009111d8c9a5704.tar.gz gentoo-2-448c5d063ea153d97c14e353c009111d8c9a5704.tar.bz2 gentoo-2-448c5d063ea153d97c14e353c009111d8c9a5704.zip |
Version bump.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sarg/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/sarg/sarg-2.3.10.ebuild | 69 |
2 files changed, 76 insertions, 2 deletions
diff --git a/net-analyzer/sarg/ChangeLog b/net-analyzer/sarg/ChangeLog index 52957e5c04d3..19ea5d2a7b9b 100644 --- a/net-analyzer/sarg/ChangeLog +++ b/net-analyzer/sarg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/sarg -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.89 2014/11/29 11:37:12 jer Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.90 2015/02/17 10:21:38 jer Exp $ + +*sarg-2.3.10 (17 Feb 2015) + + 17 Feb 2015; Jeroen Roovers <jer@gentoo.org> +sarg-2.3.10.ebuild: + Version bump. 29 Nov 2014; Jeroen Roovers <jer@gentoo.org> files/sarg-2.3.9-configure.patch: diff --git a/net-analyzer/sarg/sarg-2.3.10.ebuild b/net-analyzer/sarg/sarg-2.3.10.ebuild new file mode 100644 index 000000000000..74adfff2420b --- /dev/null +++ b/net-analyzer/sarg/sarg-2.3.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.3.10.ebuild,v 1.1 2015/02/17 10:21:38 jer Exp $ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Squid Analysis Report Generator" +HOMEPAGE="http://sarg.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="+gd ldap pcre" + +DEPEND=" + gd? ( media-libs/gd[png,truetype] ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) +" +RDEPEND="${DEPEND}" + +DOCS=( BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess ) + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-2.3.9-configure.patch \ + "${FILESDIR}"/${PN}-2.3.9-configure-bash.patch + + sed -i \ + -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:' \ + -e 's:/usr/local/sarg/exclude_codes:/etc/sarg/exclude_codes:' \ + sarg.conf || die + + sed -i \ + -e 's:"/var/www/html/squid-reports":"/var/www/localhost/htdocs/squid-reports":' \ + log.c || die #43132 + + sed -i \ + -e 's:/usr/local/sarg/passwd:/etc/sarg/passwd:' \ + htaccess || die + + sed -i \ + -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \ + -e 's:/usr/local/squid/etc/passwd:/etc/squid/passwd:' \ + user_limit_block || die + + sed -i \ + -e 's:/usr/local/squid/etc/block.txt:/etc/squid/etc/block.txt:' \ + sarg-php/sarg-block-it.php || die + + sed -i \ + -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \ + -e 's:/usr/local/\(squidGuard/squidGuard.conf\):/etc/\1:' \ + sarg.1 sarg-php/sarg-squidguard-block.php || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_with gd) \ + $(use_with ldap) \ + $(use_with pcre) \ + --sysconfdir="${EPREFIX}/etc/sarg/" +} |