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