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/squidclamav: ChangeLog squidclamav-4.0.ebuild squidclamav-3.5.ebuild
Date: Sat, 25 Apr 2009 09:44:45
Message-Id: E1LxeR8-0001wH-NC@stork.gentoo.org
1 mrness 09/04/25 09:44:42
2
3 Modified: ChangeLog
4 Added: squidclamav-4.0.ebuild
5 Removed: squidclamav-3.5.ebuild
6 Log:
7 Version bump (#266387).
8 (Portage version: 2.1.6.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 net-proxy/squidclamav/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 12 Oct 2008 07:53:36 -0000 1.8
24 +++ ChangeLog 25 Apr 2009 09:44:42 -0000 1.9
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-proxy/squidclamav
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.8 2008/10/12 07:53:36 mrness Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.9 2009/04/25 09:44:42 mrness Exp $
31 +
32 +*squidclamav-4.0 (25 Apr 2009)
33 +
34 + 25 Apr 2009; Alin Năstac <mrness@g.o>
35 + -files/squidclamav-3.5-gentoo.patch, +files/squidclamav-4.0-gentoo.patch,
36 + -squidclamav-3.5.ebuild, +squidclamav-4.0.ebuild:
37 + Version bump (#266387).
38
39 *squidclamav-3.6 (12 Oct 2008)
40
41
42
43
44 1.1 net-proxy/squidclamav/squidclamav-4.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/squidclamav-4.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/squidclamav-4.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: squidclamav-4.0.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/squidclamav/squidclamav-4.0.ebuild,v 1.1 2009/04/25 09:44:42 mrness Exp $
54
55 EAPI="2"
56
57 inherit eutils
58
59 DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
60 HOMEPAGE="http://www.samse.fr/GPL/"
61 SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 DEPEND="net-misc/curl
69 dev-libs/openssl
70 sys-libs/zlib
71 app-arch/bzip2"
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 epatch "${FILESDIR}/${P}-gentoo.patch"
76 }
77
78 src_install() {
79 dosbin squidclamav || die "dosbin failed"
80 insinto /etc
81 newins squidclamav.conf.dist squidclamav.conf
82 keepdir /var/log/squidclamav
83 fowners squid:squid /var/log/squidclamav
84 dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
85 }
86
87 pkg_postinst() {
88 einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
89 einfo " url_rewrite_program /usr/sbin/squidclamav"
90 einfo " url_rewrite_children 15"
91 einfo " url_rewrite_access deny localhost # prevent loops"
92 einfo " url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
93 }