Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/sarg: ChangeLog sarg-2.2.2.ebuild sarg-2.2.4.ebuild sarg-2.2.1.ebuild sarg-2.1-r1.ebuild
Date: Mon, 03 Mar 2008 16:25:14
Message-Id: E1JWDTN-0005MP-JD@stork.gentoo.org
1 pva 08/03/03 16:25:05
2
3 Modified: ChangeLog sarg-2.2.2.ebuild
4 Added: sarg-2.2.4.ebuild
5 Removed: sarg-2.2.1.ebuild sarg-2.1-r1.ebuild
6 Log:
7 Version bump, fixes security issue, bug #212208.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.35 net-analyzer/sarg/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 20 Feb 2007 00:28:25 -0000 1.34
24 +++ ChangeLog 3 Mar 2008 16:25:05 -0000 1.35
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-analyzer/sarg
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.34 2007/02/20 00:28:25 jokey Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/ChangeLog,v 1.35 2008/03/03 16:25:05 pva Exp $
31 +
32 +*sarg-2.2.4 (03 Mar 2008)
33 +
34 + 03 Mar 2008; <pva@g.o> -files/sarg-2.1-datafile.patch,
35 + -files/sarg-2.1-laslog.patch, -files/sarg-2.1-sort-options.patch,
36 + +files/sarg-2.2.3.1-rewind.patch, -sarg-2.1-r1.ebuild, -sarg-2.2.1.ebuild,
37 + sarg-2.2.2.ebuild, +sarg-2.2.4.ebuild:
38 + Version bump, fixes security issue, bug #212208.
39
40 20 Feb 2007; Markus Ullmann <jokey@g.o> ChangeLog:
41 Redigest for Manifest2
42
43
44
45 1.5 net-analyzer/sarg/sarg-2.2.2.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild?rev=1.5&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild?rev=1.5&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild?r1=1.4&r2=1.5
50
51 Index: sarg-2.2.2.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild,v
54 retrieving revision 1.4
55 retrieving revision 1.5
56 diff -u -r1.4 -r1.5
57 --- sarg-2.2.2.ebuild 3 Nov 2006 17:25:05 -0000 1.4
58 +++ sarg-2.2.2.ebuild 3 Mar 2008 16:25:05 -0000 1.5
59 @@ -1,6 +1,6 @@
60 -# Copyright 1999-2006 Gentoo Foundation
61 +# Copyright 1999-2008 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild,v 1.4 2006/11/03 17:25:05 blubb Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.2.ebuild,v 1.5 2008/03/03 16:25:05 pva Exp $
65
66 inherit eutils
67
68 @@ -22,7 +22,7 @@
69
70 src_unpack() {
71 unpack ${A}
72 - cd ${S}
73 + cd "${S}"
74
75 # Fixes bug #43132
76 sed -i \
77
78
79
80 1.1 net-analyzer/sarg/sarg-2.2.4.ebuild
81
82 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.4.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/sarg-2.2.4.ebuild?rev=1.1&content-type=text/plain
84
85 Index: sarg-2.2.4.ebuild
86 ===================================================================
87 # Copyright 1999-2008 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/sarg/sarg-2.2.4.ebuild,v 1.1 2008/03/03 16:25:05 pva Exp $
90
91 inherit eutils
92
93 DESCRIPTION="Squid Analysis Report Generator"
94 HOMEPAGE="http://sarg.sourceforge.net/sarg.php"
95 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
96 mirror://gentoo/sarg-2.2.3.1-lots-of-compiler-warnings.patch.gz"
97
98 LICENSE="GPL-2"
99 KEYWORDS="~amd64 ~ppc ~x86"
100 SLOT="0"
101 IUSE=""
102
103 DEPEND="media-libs/gd"
104
105 pkg_setup() {
106 built_with_use -a media-libs/gd png || die \
107 "Please recompile media-libs/gd with USE=\"png\""
108 }
109
110 src_unpack() {
111 unpack ${A}
112 cd "${S}"
113
114 epatch "${WORKDIR}"/${PN}-2.2.3.1-lots-of-compiler-warnings.patch
115 epatch "${FILESDIR}"/${PN}-2.2.3.1-rewind.patch
116
117 # Fixes bug #43132
118 sed -i \
119 -e 's:"/usr/local/squid/var/logs/access.log":"/var/log/squid/access.log":' \
120 -e 's:"/var/www/html/squid-reports":"/var/www/localhost/htdocs/squid-reports":' \
121 log.c || die "setting default for gentoo directories... failed"
122
123 sed -i \
124 -e 's:/usr/local/squid/var/logs/access.log:/var/log/squid/access.log:' \
125 -e 's:/var/www/html/squid-reports:/var/www/localhost/htdocs/squid-reports:' \
126 sarg.conf || die "setting default for gentoo directories... failed"
127
128 # Fixes bug #64743
129 sed -i -e 's:sarg_tmp:sarg:' email.c || die "fixing dir in email.c failed"
130
131 sed -i \
132 -e 's:/usr/local/sarg/sarg.conf:/etc/sarg/sarg.conf:' \
133 -e 's:/usr/local/squid/logs/access.log:/var/log/squid/access.log:' \
134 sarg.1 || die "Failed to fix man page."
135 }
136
137 src_compile() {
138 econf \
139 --enable-bindir=/usr/bin \
140 --enable-mandir=/usr/share/man/man1 \
141 --enable-sysconfdir=/etc/sarg/ || die "econf failed"
142
143 emake || die "emake failed"
144 }
145
146 src_install() {
147 # This is workaround for sarg installation script, which does not create dirs
148 dodir /etc/sarg /usr/sbin
149
150 make \
151 BINDIR="${D}"/usr/sbin \
152 MANDIR="${D}"/usr/share/man/man1 \
153 SYSCONFDIR="${D}"/etc/sarg \
154 HTMLDIR="${D}"/var/www/html \
155 install || die "sarg installation failed"
156
157 dodoc BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess
158 }
159
160
161
162 --
163 gentoo-commits@l.g.o mailing list