summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/c-icap/Manifest12
-rw-r--r--net-proxy/squidclamav/ChangeLog10
-rw-r--r--net-proxy/squidclamav/Manifest12
-rw-r--r--net-proxy/squidclamav/squidclamav-6.3.ebuild63
4 files changed, 82 insertions, 15 deletions
diff --git a/net-proxy/c-icap/Manifest b/net-proxy/c-icap/Manifest
index f231f3c884a8..a04118c95ece 100644
--- a/net-proxy/c-icap/Manifest
+++ b/net-proxy/c-icap/Manifest
@@ -8,18 +8,14 @@ AUX c-icap-0.1.4-crosscompile.patch 1847 RMD160 3afba27bd03027bb916a7050db10d13c
AUX c-icap-0.1.6-implicit.patch 315 RMD160 5e452f2a3ec205474ac651ac7c09d3870197f1db SHA1 951b408eb74d22f94304c4ad34cb30632e3297cf SHA256 b01d114efb6cb3ef5ce2a5945604ae96a7f8ee2b402f77bce0f60e3cd9f34f7e
AUX c-icap.init 1048 RMD160 b47f5163b4cc04c83fec24a3f444436e0c24f101 SHA1 e38a0e39bc977a74e8bfa33de061a25369192baa SHA256 a2f5f719e36266ed1e41f12d3e12dd275d066e55ad09105dc5577947105fa2b1
AUX c-icap.logrotate 188 RMD160 69c5f637b8ebce3a7b25703ecad066ca7264d00e SHA1 0c1f7bc65ff5479a22234eaba823554b3f2a8bf5 SHA256 a1ebd01837312c1fbb5b110486656656001c9b70ab0008f5ee73de6222005b54
-DIST c_icap-0.1.3.tar.gz 526931 RMD160 b81a2b1cca9d8044e4d8c4013a1593e32e24e8a9 SHA1 c4ea6795387a8abd18faed189d60d9e8c1f92092 SHA256 8942bae3a3e016664cf56c89ffb34a4337d1c984dc80e61d1c39e437ffab7baf
-DIST c_icap-0.1.4.tar.gz 528179 RMD160 63637fc0afbe6380cf3609c212f8b3670f876594 SHA1 fa1546601f589e6281e93ed2a122099584e3e11b SHA256 0e09a4a62f57fd5687bc516e3a52938af5fc65e4ee760e5f322abdf3cc4ef826
DIST c_icap-0.1.6.tar.gz 528708 RMD160 3949976edb3fe3265563f280cc2929c590c44930 SHA1 31d322eacdc4fe3ee5f8d5d2c93d7f4faef1f7d7 SHA256 5088b69c9de6093dfcf64fbbcb285f13a9049f34371089668badd88769eee5a9
-EBUILD c-icap-0.1.3.ebuild 2680 RMD160 c8570478729ff14af6d7c16c2965c9f9c329c904 SHA1 0ad3e4f1923717189a5f9f76148c9f7c3c4f0d1b SHA256 d99d73f0796e417113a4b4baf5674869765021794d1258d0d90630a4bdd2758f
-EBUILD c-icap-0.1.4.ebuild 2788 RMD160 59eb02db655d8bcbf58387c4b4aad042bc18326c SHA1 575836c0aaaca30fbb80402aa9b36bc1e0c8239a SHA256 15557c5eba2fefe113e699814a77cc3b2f5d81e208d0e8c4fdbb45342ddf56d3
EBUILD c-icap-0.1.6.ebuild 3026 RMD160 a22296738b3ef6f786b0e51da4480cc97280a431 SHA1 8380988be143a822ef317494c6bd3be2362248db SHA256 295777abc439f40005c70dee9f19172999b2866c1101535b7b90759bd0606deb
-MISC ChangeLog 1276 RMD160 a8411bf443a5892774d59bb0c38090ce198194ee SHA1 000483810ce850bb7e7a447251b5de235ffbcb7c SHA256 2900a7ac9fdea60964f91a337e99e35892b9e37f916e7f5016aa4edfa22bd5b3
+MISC ChangeLog 1394 RMD160 f03dbd1c5ada0abf653afc080c9687d8ff2fe9ed SHA1 c1f70793b2a4d33a5f3b9b56536968c6debba532 SHA256 579a7ec18ff53fa52bfde0400a0b3c1bb7d290bf16a43e7bb44954c410a44db8
MISC metadata.xml 314 RMD160 361f20765aacd066a4cd246dc6e1279b5867e1db SHA1 f94c897e86448ba1ecfd55a90f1391c5d050dcd5 SHA256 62f7e0195ddb28bcab113616feba8f590429a33552ec9bf96f5e3ad5c5f4e542
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3yW8MACgkQAiZjviIA2Xj7jwCgvpCsy5rLlantNcNjw0Pg+qRK
-Vd4AoLk/x6/UrIpuNYSwm8Ebxlcma1I/
-=w3mJ
+iEYEARECAAYFAk4U5YYACgkQAiZjviIA2Xj8WQCdHGND4MayxLcJSIotwo9PeZzK
++40AoLPoY6wSFVqyy+C9XcM/6w7+oOP4
+=k2c/
-----END PGP SIGNATURE-----
diff --git a/net-proxy/squidclamav/ChangeLog b/net-proxy/squidclamav/ChangeLog
index 95e68245384c..2a9111ceb952 100644
--- a/net-proxy/squidclamav/ChangeLog
+++ b/net-proxy/squidclamav/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/squidclamav
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.12 2010/12/12 15:43:43 fauli Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.13 2011/07/06 22:43:27 flameeyes Exp $
+
+*squidclamav-6.3 (06 Jul 2011)
+
+ 06 Jul 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +squidclamav-6.3.ebuild:
+ Version bump.
12 Dec 2010; Christian Faulhammer <fauli@gentoo.org>
squidclamav-6.1.ebuild:
diff --git a/net-proxy/squidclamav/Manifest b/net-proxy/squidclamav/Manifest
index 4182f9d6947e..29fcd8df4002 100644
--- a/net-proxy/squidclamav/Manifest
+++ b/net-proxy/squidclamav/Manifest
@@ -5,14 +5,16 @@ AUX squidclamav-4.0-gentoo.patch 622 RMD160 164f117186fac16c5e69daa52472f214f65a
AUX squidclamav-6.1-crash.patch 704 RMD160 5803802a5bf926876e81f99a1f268468cef75393 SHA1 56a379a00c96825f971bcb6a6f83900cca4b0a0e SHA256 d2bfb3c4894a05f9f435252b6625dd7c07c05d84f77c0cb633d8214d82b2ebad
DIST squidclamav-4.0.tar.gz 102704 RMD160 1c51629626e8c70d6def6694337186893a8284b0 SHA1 da9564d8f55d6d2c425feb6a00c8c316e24092f9 SHA256 ed1149cf05eb06165864e5a08bb8a7dcc28f9b9c9fe5c397d5010396b160bae6
DIST squidclamav-6.1.tar.gz 864708 RMD160 0d05aaf1337635d534f752fef64cfa1bfd518c19 SHA1 9e63ef4b34b8934a97dd5ae61706ca9a2bab276e SHA256 7f85a45949444c56c3765092607c4d5c65ccc2f3abd168fef4ca3fe16e9270fc
+DIST squidclamav-6.3.tar.gz 843729 RMD160 93c21bc1183cbef1199bab10eb32e05b574fc98f SHA1 b5149e52bc9ce55303c98ddcdeb763e2cd71fb5f SHA256 a6d6b65d7ad6696c96fe1d76bff1fa657e09dbd00c2ac8db1f02c6e75308d20c
EBUILD squidclamav-4.0.ebuild 1219 RMD160 2df98bb50c4559366d256c23d950427fc4dccc31 SHA1 491b7b1dfd4515250f4d2f42157200ed2f6a8854 SHA256 9a142525190952464559412509470cc69196a1cfe95014679c39fdb3d48bbbc7
EBUILD squidclamav-6.1.ebuild 1687 RMD160 62f71e7df829c079ab4e0967639e2076106aca6c SHA1 28a55966751efa892793d0c5b4d3bd7705a74f22 SHA256 c967171ba505aca714cd93c414dfe0b0e5e29b439f338dbb8a8ae7b7a003c734
-MISC ChangeLog 2406 RMD160 23becb7675ed472852bb4c5d8b6f67d886f24a95 SHA1 40c5473e8b4b6932777a96a07b5478fd2afef0c9 SHA256 bccaf09996fcf3317d14cadca6b63738053f91dcc144d399fb485d6d8492b849
+EBUILD squidclamav-6.3.ebuild 1829 RMD160 ea54e14f0d904b3efc0b593b7fe5d7f26fc9ae7b SHA1 a38318f1ded07dd861de51ab5cdb424a6661ae52 SHA256 9e54055b119f75defaa5440450f06bb2b0a9dc532389a1fbd737fd00b5ecf4f7
+MISC ChangeLog 2542 RMD160 c403dcedac7f8553ec7e176ad9e746154ab12229 SHA1 8b03509bfddc34d21522df5b588c2173393a8a90 SHA256 457ba3045a1b800b08ebd22f3b753f0165831e2fc7695c9aae4a174e5c22ab81
MISC metadata.xml 601 RMD160 b1d903cfa58a59a30b7927289ee7ece696dcb8a0 SHA1 e5f0e64372872f416af03774c8dc733550934663 SHA256 97bfe798448c67e1d15b82b7acf38f5ff3641a40e5f90d7cc5e57d907342a17d
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk0E7jkACgkQNQqtfCuFneMg9gCgle098bmXum9GQklEE/Lju0El
-ZVAAnj7YJ8FyYcEQ3SgJvijUtBAIUNdf
-=f4Cp
+iEYEARECAAYFAk4U5PoACgkQAiZjviIA2XjhNQCgqNxJVWCEmYAGC/NoJ601q+lU
+EfcAoLvUuABBqkRJBb6aQuBilJP/jkt3
+=dfl1
-----END PGP SIGNATURE-----
diff --git a/net-proxy/squidclamav/squidclamav-6.3.ebuild b/net-proxy/squidclamav/squidclamav-6.3.ebuild
new file mode 100644
index 000000000000..e8a488c08f5d
--- /dev/null
+++ b/net-proxy/squidclamav/squidclamav-6.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-6.3.ebuild,v 1.1 2011/07/06 22:43:27 flameeyes Exp $
+
+EAPI=4
+
+inherit libtool autotools
+
+DESCRIPTION="HTTP Antivirus for Squid based on ClamAv and ICAP"
+HOMEPAGE="http://squidclamav.darold.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-proxy/c-icap"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # version 6.3 causes maintainer-mode rebuild from tarball, and
+ # contains acinclude.m4 with libtool macros which cause trouble.
+ rm acinclude.m4 || die
+ eautoreconf
+ elibtoolize
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -delete || die
+
+ # delete its own documentation installed
+ rm -r "${D}"/usr/share/${PN} || die
+
+ dodoc README AUTHORS ChangeLog
+
+ # Fix configuration file to adapt to the Gentoo configuration
+ sed -i \
+ -e '/clamd_local/s:/tmp/clamd:/var/run/clamav/clamd.sock:' \
+ "${D}"/etc/squidclamav.conf || die
+}
+
+pkg_postinst() {
+ elog "Starting from version 6, Squid Clamav is now a module for the c-icap"
+ elog "server, which is called from squid, rather than being a redirector"
+ elog "directly."
+ elog ""
+ elog "To enable the service, you should add this to your c-icap.conf file:"
+ elog ""
+ elog " Service clamav squidclamav.so"
+ elog ""
+ elog "And then this to squid.conf (for a local ICAP server):"
+ elog ""
+ elog " icap_enable on"
+ elog ""
+ elog " # not strictly needed, but useful for special access"
+ elog " icap_send_client_ip on"
+ elog " icap_send_client_username on"
+ elog ""
+ elog " icap_service clamav respmod_precache bypass=0 icap://localhost:1344/clamav"
+ elog " adaptation_access clamav allow all"
+}