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