Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squidclamav: squidclamav-6.10.ebuild ChangeLog squidclamav-6.9.ebuild
Date: Sun, 28 Oct 2012 21:51:11
Message-Id: 20121028215100.67ABD21600@flycatcher.gentoo.org
1 flameeyes 12/10/28 21:51:00
2
3 Modified: ChangeLog
4 Added: squidclamav-6.10.ebuild
5 Removed: squidclamav-6.9.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.29 net-proxy/squidclamav/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.29&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.29&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/ChangeLog?r1=1.28&r2=1.29
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v
21 retrieving revision 1.28
22 retrieving revision 1.29
23 diff -u -r1.28 -r1.29
24 --- ChangeLog 21 Oct 2012 08:55:44 -0000 1.28
25 +++ ChangeLog 28 Oct 2012 21:51:00 -0000 1.29
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-proxy/squidclamav
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.28 2012/10/21 08:55:44 maekke Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.29 2012/10/28 21:51:00 flameeyes Exp $
31 +
32 +*squidclamav-6.10 (28 Oct 2012)
33 +
34 + 28 Oct 2012; Diego E. Pettenò <flameeyes@g.o> +squidclamav-6.10.ebuild,
35 + -squidclamav-6.9.ebuild:
36 + Version bump.
37
38 21 Oct 2012; Markus Meier <maekke@g.o> squidclamav-6.9.ebuild:
39 add ~arm, bug #389555
40
41
42
43 1.1 net-proxy/squidclamav/squidclamav-6.10.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/squidclamav-6.10.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squidclamav/squidclamav-6.10.ebuild?rev=1.1&content-type=text/plain
47
48 Index: squidclamav-6.10.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-6.10.ebuild,v 1.1 2012/10/28 21:51:00 flameeyes Exp $
53
54 EAPI=4
55
56 inherit libtool autotools
57
58 DESCRIPTION="HTTP Antivirus for Squid based on ClamAv and ICAP"
59 HOMEPAGE="http://squidclamav.darold.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~x86"
65 IUSE=""
66
67 RDEPEND="net-proxy/c-icap"
68 DEPEND="${RDEPEND}"
69
70 src_prepare() {
71 # version 6.3 causes maintainer-mode rebuild from tarball, and
72 # contains acinclude.m4 with libtool macros which cause trouble.
73 rm acinclude.m4 || die
74 eautoreconf
75 elibtoolize
76 }
77
78 src_install() {
79 emake DESTDIR="${D}" install
80 find "${D}" -name '*.la' -delete || die
81
82 # delete its own documentation installed
83 rm -r "${D}"/usr/share/${PN} || die
84
85 dodoc README AUTHORS ChangeLog
86
87 # Fix configuration file to adapt to the Gentoo configuration
88 sed -i \
89 -e '/clamd_local/s:\.ctl:.sock:' \
90 "${D}"/etc/squidclamav.conf || die
91 }
92
93 pkg_postinst() {
94 elog "Starting from version 6, Squid Clamav is now a module for the c-icap"
95 elog "server, which is called from squid, rather than being a redirector"
96 elog "directly."
97 elog ""
98 elog "To enable the service, you should add this to your c-icap.conf file:"
99 elog ""
100 elog " Service clamav squidclamav.so"
101 elog ""
102 elog "And then this to squid.conf (for a local ICAP server):"
103 elog ""
104 elog " icap_enable on"
105 elog ""
106 elog " # not strictly needed, but useful for special access"
107 elog " icap_send_client_ip on"
108 elog " icap_send_client_username on"
109 elog ""
110 elog " icap_service clamav respmod_precache bypass=0 icap://localhost:1344/clamav"
111 elog " adaptation_access clamav allow all"
112 }