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
commitfda58596c39c0cecf560a33fe10e9f878472dcce (patch)
tree72fc8524b60939c6e1c618c46d33d07574b92625 /net-proxy
parentVersion bump. (diff)
downloadgentoo-2-fda58596c39c0cecf560a33fe10e9f878472dcce.tar.gz
gentoo-2-fda58596c39c0cecf560a33fe10e9f878472dcce.tar.bz2
gentoo-2-fda58596c39c0cecf560a33fe10e9f878472dcce.zip
Version bump (#109038)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/squidclam/ChangeLog7
-rw-r--r--net-proxy/squidclam/Manifest12
-rw-r--r--net-proxy/squidclam/files/digest-squidclam-0.171
-rw-r--r--net-proxy/squidclam/squidclam-0.17.ebuild52
4 files changed, 61 insertions, 11 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..261568545bdd 100644
--- a/net-proxy/squidclam/Manifest
+++ b/net-proxy/squidclam/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 7cf53a63be6759dd27cf145cdf997a30 squidclam-0.16.ebuild 1625
MD5 b9f6abcadd999ca55ece37c68ee57f22 squidclam-0.11.ebuild 1624
MD5 5b61fc09730c60185f131fbe37b318f2 ChangeLog 593
MD5 0fcd3e06211b4df6185d71e97e6ff23f metadata.xml 296
+MD5 7cf53a63be6759dd27cf145cdf997a30 squidclam-0.17.ebuild 1625
MD5 4385df4221997c40aa3875292ebadfce files/digest-squidclam-0.11 65
MD5 e5c252019e94ad6a0ae2662344742e60 files/digest-squidclam-0.16 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDQvLhNSP4Vda7IdsRAlawAJ9rZeUoT6DfxmRsTGAoeIRZKVcDAQCfRM7D
-88RRsk0gBzfKkUbNFIbpUzQ=
-=wJe3
------END PGP SIGNATURE-----
+MD5 7a831ed6b3ebd9b5c46d3b61a4f64d1c files/digest-squidclam-0.17 65
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
+}