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.1.ebuild |
Date: | Fri, 02 Nov 2007 15:49:10 |
Message-Id: | E1Inyla-0007qQ-5q@stork.gentoo.org |
1 | mrness 07/11/02 15:49:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: squidclamav-3.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.2.12) |
8 | |
9 | Revision Changes Path |
10 | 1.4 net-proxy/squidclamav/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/ChangeLog?r1=1.3&r2=1.4 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- ChangeLog 11 Apr 2007 13:38:04 -0000 1.3 |
23 | +++ ChangeLog 2 Nov 2007 15:49:01 -0000 1.4 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-proxy/squidclamav |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.3 2007/04/11 13:38:04 mrness Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.4 2007/11/02 15:49:01 mrness Exp $ |
29 | + |
30 | +*squidclamav-3.1 (02 Nov 2007) |
31 | + |
32 | + 02 Nov 2007; Alin Năstac <mrness@g.o> |
33 | + +files/squidclamav-3.1-gentoo.patch, +squidclamav-3.1.ebuild: |
34 | + Version bump. |
35 | |
36 | 11 Apr 2007; Alin Năstac <mrness@g.o> squidclamav-3.0.ebuild: |
37 | Simplify postinst info messages. |
38 | |
39 | |
40 | |
41 | 1.1 net-proxy/squidclamav/squidclamav-3.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/squidclamav-3.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidclamav/squidclamav-3.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: squidclamav-3.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2007 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.1.ebuild,v 1.1 2007/11/02 15:49:01 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-7.12.1 |
64 | dev-libs/openssl |
65 | sys-libs/zlib |
66 | app-arch/bzip2" |
67 | RDEPEND="${DEPEND} |
68 | net-proxy/squid" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | |
73 | epatch "${FILESDIR}/${P}-gentoo.patch" |
74 | } |
75 | |
76 | src_install() { |
77 | dosbin squidclamav || die "dosbin failed" |
78 | insinto /etc |
79 | newins squidclamav.conf.dist squidclamav.conf |
80 | keepdir /var/log/squidclamav |
81 | fowners squid:squid /var/log/squidclamav |
82 | dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi* |
83 | } |
84 | |
85 | pkg_postinst() { |
86 | einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:" |
87 | einfo " url_rewrite_program /usr/sbin/squidclamav" |
88 | einfo " url_rewrite_children 15" |
89 | einfo " url_rewrite_access deny localhost # prevent loops" |
90 | einfo " url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned" |
91 | } |
92 | |
93 | |
94 | |
95 | -- |
96 | gentoo-commits@g.o mailing list |