1 |
mrness 09/04/26 12:47:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: squidguard-1.4-r3.ebuild |
5 |
Removed: squidguard-1.4-r2.ebuild |
6 |
Log: |
7 |
Avoid entering emergency mode by using fprintf instead sgLogFatalError (#259272). |
8 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 net-proxy/squidguard/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 25 Apr 2009 09:58:43 -0000 1.34 |
24 |
+++ ChangeLog 26 Apr 2009 12:47:15 -0000 1.35 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-proxy/squidguard |
27 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v 1.34 2009/04/25 09:58:43 mrness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/ChangeLog,v 1.35 2009/04/26 12:47:15 mrness Exp $ |
30 |
+ |
31 |
+*squidguard-1.4-r3 (26 Apr 2009) |
32 |
+ |
33 |
+ 26 Apr 2009; Alin Năstac <mrness@g.o> |
34 |
+ files/squidguard-1.4-vsnprintf.patch, -squidguard-1.4-r2.ebuild, |
35 |
+ +squidguard-1.4-r3.ebuild: |
36 |
+ Avoid entering emergency mode by using fprintf instead sgLogFatalError |
37 |
+ (#259272). |
38 |
|
39 |
*squidguard-1.4-r2 (25 Apr 2009) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-proxy/squidguard/squidguard-1.4-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/squidguard-1.4-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/squidguard-1.4-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: squidguard-1.4-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidguard/squidguard-1.4-r3.ebuild,v 1.1 2009/04/26 12:47:15 mrness Exp $ |
54 |
|
55 |
WANT_AUTOMAKE=none |
56 |
EAPI="2" |
57 |
|
58 |
inherit eutils autotools |
59 |
|
60 |
DESCRIPTION="Combined filter, redirector and access controller plugin for Squid." |
61 |
HOMEPAGE="http://www.squidguard.org" |
62 |
SRC_URI="http://www.squidguard.org/Downloads/squidGuard-${PV}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
67 |
IUSE="ldap" |
68 |
|
69 |
RDEPEND=">=sys-libs/db-2 |
70 |
ldap? ( net-nds/openldap )" |
71 |
DEPEND="${RDEPEND} |
72 |
sys-devel/bison |
73 |
sys-devel/flex" |
74 |
|
75 |
S="${WORKDIR}/squidGuard-${PV}" |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}/${P}-gentoo.patch" |
79 |
epatch "${FILESDIR}/${P}-autoheader.patch" |
80 |
epatch "${FILESDIR}/${P}-vsnprintf.patch" |
81 |
epatch "${FILESDIR}/${P}-cross-compile.patch" |
82 |
eautoreconf |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
econf \ |
87 |
$(use_with ldap) \ |
88 |
--with-sg-config=/etc/squidGuard/squidGuard.conf \ |
89 |
--with-sg-logdir=/var/log/squidGuard \ |
90 |
|| die "configure has failed" |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
emake prefix="/usr" INSTDIR="${D}" install || die "emake install has failed" |
95 |
|
96 |
keepdir /var/log/squidGuard |
97 |
fowners squid:squid /var/log/squidGuard |
98 |
|
99 |
insinto /etc/squidGuard/sample |
100 |
doins "${FILESDIR}"/squidGuard.conf.* |
101 |
insinto /etc/squidGuard/sample/db |
102 |
doins "${FILESDIR}"/blockedsites |
103 |
|
104 |
dodoc ANNOUNCE CHANGELOG README |
105 |
dohtml doc/*.html |
106 |
docinto text |
107 |
dodoc doc/*.txt |
108 |
} |
109 |
|
110 |
pkg_postinst() { |
111 |
einfo "To enable squidGuard, add the following lines to /etc/squid/squid.conf:" |
112 |
einfo " url_rewrite_program /usr/bin/squidGuard" |
113 |
einfo " url_rewrite_children 10" |
114 |
einfo "" |
115 |
einfo "Remember to edit /etc/squidGuard/squidGuard.conf first!" |
116 |
einfo "Examples can be found in /etc/squidGuard/sample/" |
117 |
} |