Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Peter Volkov (pva)" <pva@g.o>
Subject: gentoo-x86 commit in net-analyzer/sarg: sarg-2.2.5-r4.ebuild ChangeLog sarg-2.2.5-r3.ebuild
Date: Wed, 08 Apr 2009 14:52:58 +0000
pva         09/04/08 14:52:58

  Modified:             ChangeLog
  Added:                sarg-2.2.5-r4.ebuild
  Removed:              sarg-2.2.5-r3.ebuild
  Log:
  Add more large files support into sarg, bug #245627, thank Kunszt Arpad for report and Janos FARAGO for this patch.
  (Portage version: 2.2_rc28/cvs/Linux i686)

Revision  Changes    Path
1.50                 net-analyzer/sarg/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog	6 Apr 2009 07:02:44 -0000	1.49
+++ ChangeLog	8 Apr 2009 14:52:58 -0000	1.50
@@ -1,6 +1,13 @@
 # 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.49 2009/04/06 07:02:44 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.50 2009/04/08 14:52:58 pva Exp $
+
+*sarg-2.2.5-r4 (08 Apr 2009)
+
+  08 Apr 2009; Peter Volkov <pva@g.o> -sarg-2.2.5-r3.ebuild,
+  +sarg-2.2.5-r4.ebuild:
+  Add more large files support into sarg, bug #245627, thank Kunszt Arpad
+  for report and Janos FARAGO for this patch.
 
 *sarg-2.2.5-r3 (06 Apr 2009)
 



1.1                  net-analyzer/sarg/sarg-2.2.5-r4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.5-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.5-r4.ebuild?rev=1.1&content-type=text/plain

Index: sarg-2.2.5-r4.ebuild
===================================================================
# 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-r4.ebuild,v 1.1 2009/04/08 14:52:58 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
		mirror://gentoo/${P}-patchset-4.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
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in sys-fs/nilfs-utils: - New directory
Next by thread:
gentoo-x86 commit in app-portage/porticron: porticron-0.3.ebuild ChangeLog porticron-0.2.3.ebuild
Previous by date:
gentoo-x86 commit in sys-fs/nilfs-utils: - New directory
Next by date:
gentoo commit in xml/htdocs/proj/en/metastructure/herds: herds.xml


Updated May 24, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.