1 |
pva 11/09/29 05:56:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sarg-2.3.1-r2.ebuild |
5 |
Log: |
6 |
Fix man page installation path, bug #379395 by Eugeny Shkrigunov. |
7 |
|
8 |
(Portage version: 2.1.10.16/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.61 net-analyzer/sarg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.61&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.61&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/ChangeLog?r1=1.60&r2=1.61 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v |
20 |
retrieving revision 1.60 |
21 |
retrieving revision 1.61 |
22 |
diff -u -r1.60 -r1.61 |
23 |
--- ChangeLog 12 Sep 2011 06:04:09 -0000 1.60 |
24 |
+++ ChangeLog 29 Sep 2011 05:56:25 -0000 1.61 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-analyzer/sarg |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.60 2011/09/12 06:04:09 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.61 2011/09/29 05:56:25 pva Exp $ |
30 |
+ |
31 |
+*sarg-2.3.1-r2 (29 Sep 2011) |
32 |
+ |
33 |
+ 29 Sep 2011; Peter Volkov <pva@g.o> +sarg-2.3.1-r2.ebuild: |
34 |
+ Fix man page installation path, bug #379395 by Eugeny Shkrigunov. |
35 |
|
36 |
12 Sep 2011; Peter Volkov <pva@g.o> -sarg-2.2.5-r5.ebuild, |
37 |
-sarg-2.3.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/sarg/sarg-2.3.1-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/sarg-2.3.1-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/sarg-2.3.1-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sarg-2.3.1-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.3.1-r2.ebuild,v 1.1 2011/09/29 05:56:25 pva Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
inherit eutils autotools |
54 |
|
55 |
DESCRIPTION="Squid Analysis Report Generator" |
56 |
HOMEPAGE="http://sarg.sourceforge.net/sarg.php" |
57 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
SLOT="0" |
62 |
IUSE="" |
63 |
|
64 |
DEPEND="media-libs/gd[png,truetype]" |
65 |
RDEPEND="${DEPEND}" |
66 |
|
67 |
src_prepare() { |
68 |
einfo "Running sed to substitute paths..." |
69 |
sed \ |
70 |
-e 's:/usr/local/squid/var/logs/access.log:/var/log/squid/access.log:' \ |
71 |
-e 's:/usr/local/\(squidGuard/squidGuard.conf\):/etc/\1:' \ |
72 |
-e 's:/var/www/html/squid-reports:/var/www/localhost/htdocs/squid-reports:' \ |
73 |
-e 's:/usr/local/sarg/exclude_codes:/etc/sarg/exclude_codes:' \ |
74 |
-i sarg.conf || die |
75 |
|
76 |
sed -e 's:"/var/www/html/squid-reports":"/var/www/localhost/htdocs/squid-reports":' \ |
77 |
-i log.c || die #43132 |
78 |
|
79 |
sed -e 's:/usr/local/sarg/passwd:/etc/sarg/passwd:' \ |
80 |
-i htaccess || die |
81 |
|
82 |
sed -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \ |
83 |
-e 's:/usr/local/squid/etc/passwd:/etc/squid/passwd:' \ |
84 |
-i user_limit_block || die |
85 |
|
86 |
sed -e 's:/usr/local/squid/etc/block.txt:/etc/squid/etc/block.txt:' \ |
87 |
-i sarg-php/sarg-block-it.php || die |
88 |
|
89 |
sed -e 's:/usr/local/\(sarg/sarg.conf\):/etc/\1:' \ |
90 |
-e 's:/usr/local/\(squidGuard/squidGuard.conf\):/etc/\1:' \ |
91 |
-i sarg.1 sarg-php/sarg-squidguard-block.php || die |
92 |
|
93 |
epatch "${FILESDIR}/${P}-underlinking.patch" |
94 |
|
95 |
# https://sourceforge.net/tracker/?func=detail&aid=3415225&group_id=68910&atid=522793 |
96 |
sed 's:\(@mandir@\):\1/man1:' -i Makefile.in || die #379395 |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf --sysconfdir=/etc/sarg/ |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
emake DESTDIR="${D}" install |
105 |
dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess |
106 |
} |