summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-10-12 21:27:05 +0000
committerAlin Năstac <mrness@gentoo.org>2005-10-12 21:27:05 +0000
commit269364d4aa53601b9b65d991536910901c3a4b4e (patch)
tree6585554a61ea469e345b725987ec75bbb27aa7a0
parentVersion bump. (diff)
downloadhistorical-269364d4aa53601b9b65d991536910901c3a4b4e.tar.gz
historical-269364d4aa53601b9b65d991536910901c3a4b4e.tar.bz2
historical-269364d4aa53601b9b65d991536910901c3a4b4e.zip
Version bump (#109038)
Package-Manager: portage-2.0.51.22-r3
-rw-r--r--net-proxy/squidclam/ChangeLog7
-rw-r--r--net-proxy/squidclam/Manifest10
-rw-r--r--net-proxy/squidclam/files/digest-squidclam-0.171
-rw-r--r--net-proxy/squidclam/squidclam-0.17.ebuild52
4 files changed, 65 insertions, 5 deletions
diff --git a/net-proxy/squidclam/ChangeLog b/net-proxy/squidclam/ChangeLog
index 14144b522d12..50585f59627f 100644
--- a/net-proxy/squidclam/ChangeLog
+++ b/net-proxy/squidclam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/squidclam
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclam/ChangeLog,v 1.3 2005/10/04 21:23:33 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclam/ChangeLog,v 1.4 2005/10/12 21:27:05 mrness Exp $
+
+*squidclam-0.17 (12 Oct 2005)
+
+ 12 Oct 2005; Alin Nastac <mrness@gentoo.org> +squidclam-0.17.ebuild:
+ Version bump (#109038).
*squidclam-0.16 (04 Oct 2005)
diff --git a/net-proxy/squidclam/Manifest b/net-proxy/squidclam/Manifest
index fbeb2341d61f..f734062e5dce 100644
--- a/net-proxy/squidclam/Manifest
+++ b/net-proxy/squidclam/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
MD5 7cf53a63be6759dd27cf145cdf997a30 squidclam-0.16.ebuild 1625
MD5 b9f6abcadd999ca55ece37c68ee57f22 squidclam-0.11.ebuild 1624
-MD5 5b61fc09730c60185f131fbe37b318f2 ChangeLog 593
+MD5 870841283714a109dbd40f8d678af2f4 ChangeLog 722
MD5 0fcd3e06211b4df6185d71e97e6ff23f metadata.xml 296
+MD5 afa1c5c02baa3f0403152013469b625c squidclam-0.17.ebuild 1625
MD5 4385df4221997c40aa3875292ebadfce files/digest-squidclam-0.11 65
MD5 e5c252019e94ad6a0ae2662344742e60 files/digest-squidclam-0.16 65
+MD5 7a831ed6b3ebd9b5c46d3b61a4f64d1c files/digest-squidclam-0.17 65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFDQvLhNSP4Vda7IdsRAlawAJ9rZeUoT6DfxmRsTGAoeIRZKVcDAQCfRM7D
-88RRsk0gBzfKkUbNFIbpUzQ=
-=wJe3
+iD8DBQFDTX+5NSP4Vda7IdsRAkxRAJ49aKgDoM2vmNuWwzo/YS58rsQ9LQCgi8I9
+LahzLe8LwTo+DQ+MY0Ga3G0=
+=j+IR
-----END PGP SIGNATURE-----
diff --git a/net-proxy/squidclam/files/digest-squidclam-0.17 b/net-proxy/squidclam/files/digest-squidclam-0.17
new file mode 100644
index 000000000000..2f5f2c30eb5a
--- /dev/null
+++ b/net-proxy/squidclam/files/digest-squidclam-0.17
@@ -0,0 +1 @@
+MD5 f4ab88d079fd7453bd4e92038014766e squidclam-0.17.tar.gz 12838
diff --git a/net-proxy/squidclam/squidclam-0.17.ebuild b/net-proxy/squidclam/squidclam-0.17.ebuild
new file mode 100644
index 000000000000..25313ff9beb7
--- /dev/null
+++ b/net-proxy/squidclam/squidclam-0.17.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclam/squidclam-0.17.ebuild,v 1.1 2005/10/12 21:27:05 mrness Exp $
+
+DESCRIPTION="A redirector for Squid which scans accessed URLs for viruses, using Clam Anti-Virus"
+HOMEPAGE="http://squidclam.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="as-is"
+
+SLOT="0"
+KEYWORDS="~sparc ~x86"
+IUSE=""
+DEPEND="net-misc/curl
+ app-antivirus/clamav"
+RDEPEND="${DEPEND}
+ net-proxy/squid"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e "s:/tmpdata/:/tmp/:" ${S}/sample.conf
+}
+
+src_compile() {
+ ./configure || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin squidclam
+ insinto /etc
+ newins sample.conf squidclam.conf
+ dodoc antivir.php README Changelog TODO sample.conf
+}
+
+pkg_postinst() {
+ ewarn "THIS PACKAGE IS IN ITS EARLY DEVELOPMENT STAGE!"
+ ewarn "See ${HOMEPAGE} for more info.
+ echo
+ einfo "Add following lines to your squid.conf:"
+ einfo "${HILITE} redirect_program /usr/bin/squidclam ${NORMAL}"
+ einfo "${HILITE} redirect_children 15 ${NORMAL} # make a wise choice"
+ einfo "and this line to your acl list to prevent loops:"
+ einfo "${HILITE} redirector_access deny localhost ${NORMAL}"
+ echo
+ ewarn "Squid doesn't pass complete ssl urls to the redirector!"
+ ewarn "Therefore scanning them is pretty useless."
+ ewarn "Add something like the following to avoid this and save bandwidth:"
+ einfo "${HILITE} acl SSL_ports port 443 563 ${NORMAL}"
+ einfo "${HILITE} redirector_access deny SSL_ports ${NORMAL}"
+ echo
+}