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