Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squidguard: ChangeLog squidguard-1.2.1-r2.ebuild squidguard-1.2.1-r1.ebuild
Date: Tue, 25 Sep 2007 11:37:29
Message-Id: E1Ia8b7-0007M5-0L@stork.gentoo.org
1 mrness 07/09/25 11:29:01
2
3 Modified: ChangeLog
4 Added: squidguard-1.2.1-r2.ebuild
5 Removed: squidguard-1.2.1-r1.ebuild
6 Log:
7 Fix regular expresion matching (#193712).
8 (Portage version: 2.1.2.12)
9
10 Revision Changes Path
11 1.15 net-proxy/squidguard/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 24 Sep 2007 22:45:41 -0000 1.14
24 +++ ChangeLog 25 Sep 2007 11:29:00 -0000 1.15
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-proxy/squidguard
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v 1.14 2007/09/24 22:45:41 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v 1.15 2007/09/25 11:29:00 mrness Exp $
30 +
31 +*squidguard-1.2.1-r2 (25 Sep 2007)
32 +
33 + 25 Sep 2007; Alin Năstac <mrness@g.o>
34 + +files/squidguard-1.2.1-regexp.patch, -squidguard-1.2.1-r1.ebuild,
35 + +squidguard-1.2.1-r2.ebuild:
36 + Fix regular expresion matching (#193712).
37
38 24 Sep 2007; Brent Baude <ranger@g.o> squidguard-1.2.1-r1.ebuild:
39 Marking squidguard-1.2.1-r1 ppc64 stable for bug 189781
40
41
42
43 1.1 net-proxy/squidguard/squidguard-1.2.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/squidguard-1.2.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/squidguard-1.2.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: squidguard-1.2.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/squidguard-1.2.1-r2.ebuild,v 1.1 2007/09/25 11:29:00 mrness Exp $
53
54 inherit eutils autotools
55
56 DESCRIPTION="Combined filter, redirector and access controller plugin for Squid."
57 HOMEPAGE="http://www.squidguard.org"
58 SRC_URI="http://www.squidguard.org/Downloads/squidGuard-${PV}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="amd64 ppc ppc64 x86"
63 IUSE="ldap"
64
65 RDEPEND="net-proxy/squid
66 >=sys-libs/db-2
67 ldap? ( net-nds/openldap )"
68 DEPEND="${RDEPEND}
69 sys-devel/bison
70 sys-devel/flex"
71
72 S="${WORKDIR}/squidGuard-${PV}"
73
74 src_unpack() {
75 unpack ${A} || die "unpack problem"
76
77 cd "${S}"
78 epatch "${FILESDIR}/${P}-gentoo.patch"
79 epatch "${FILESDIR}/${P}-tests.patch"
80 epatch "${FILESDIR}/${P}-regexp.patch"
81 eautoconf
82 }
83
84 src_compile() {
85 econf \
86 $(use_with ldap) \
87 --with-sg-config=/etc/squidGuard/squidGuard.conf \
88 --with-sg-logdir=/var/log/squidGuard \
89 || die "configure has failed"
90
91 emake || die "make has failed"
92 }
93
94 src_install() {
95 make prefix="/usr" INSTDIR="${D}" install || die "make install has failed"
96
97 keepdir /var/log/squidGuard
98 fowners squid:squid /var/log/squidGuard
99
100 insinto /etc/squidGuard/sample
101 doins "${FILESDIR}"/squidGuard.conf.*
102 insinto /etc/squidGuard/sample/db
103 doins "${FILESDIR}"/blockedsites
104
105 dodoc ANNOUNCE CHANGELOG README
106 dohtml doc/*.html
107 docinto text
108 dodoc doc/*.txt
109 }
110
111 pkg_postinst() {
112 einfo "To enable squidGuard, add the following lines to /etc/squid/squid.conf:"
113 einfo " url_rewrite_program /usr/bin/squidGuard"
114 einfo " url_rewrite_children 10"
115 einfo ""
116 einfo "Remember to edit /etc/squidGuard/squidGuard.conf first!"
117 einfo "Examples can be found in /etc/squidGuard/sample/"
118 }
119
120
121
122 --
123 gentoo-commits@g.o mailing list