summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-21 23:58:22 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-21 23:58:22 +0000
commit8b085791aafb09bbe14cdb26ef1bf7fe8a569ffd (patch)
treeb779cb2b0ae25e747c3857a719f0ba260561804d /net-proxy/squidclamav
parentRevision bump to use a more OpenRC-designed init script. (diff)
downloadgentoo-2-8b085791aafb09bbe14cdb26ef1bf7fe8a569ffd.tar.gz
gentoo-2-8b085791aafb09bbe14cdb26ef1bf7fe8a569ffd.tar.bz2
gentoo-2-8b085791aafb09bbe14cdb26ef1bf7fe8a569ffd.zip
Remove old.
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/squidclamav')
-rw-r--r--net-proxy/squidclamav/ChangeLog7
-rw-r--r--net-proxy/squidclamav/files/squidclamav-4.0-gentoo.patch19
-rw-r--r--net-proxy/squidclamav/squidclamav-4.0.ebuild43
-rw-r--r--net-proxy/squidclamav/squidclamav-6.3.ebuild63
4 files changed, 6 insertions, 126 deletions
diff --git a/net-proxy/squidclamav/ChangeLog b/net-proxy/squidclamav/ChangeLog
index 4dd023d9aba2..4189dd5dfc18 100644
--- a/net-proxy/squidclamav/ChangeLog
+++ b/net-proxy/squidclamav/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/squidclamav
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.16 2011/08/20 17:54:21 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.17 2011/10/21 23:58:21 flameeyes Exp $
+
+ 21 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ -squidclamav-4.0.ebuild, -files/squidclamav-4.0-gentoo.patch,
+ -squidclamav-6.3.ebuild:
+ Remove old.
*squidclamav-6.4 (20 Aug 2011)
diff --git a/net-proxy/squidclamav/files/squidclamav-4.0-gentoo.patch b/net-proxy/squidclamav/files/squidclamav-4.0-gentoo.patch
deleted file mode 100644
index 1e8ae2902f01..000000000000
--- a/net-proxy/squidclamav/files/squidclamav-4.0-gentoo.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- squidclamav-4.0/squidclamav.conf.dist 2009-03-04 16:51:08.000000000 +0100
-+++ squidclamav-4.0/squidclamav.conf.dist.new 2009-04-16 13:52:58.000000000 +0200
-@@ -56,13 +56,13 @@
- #squid_port 3128
- #logfile /var/log/squidclamav.log
- #redirect http://proxy.domain.com/cgi-bin/clwarn.cgi
--#squidguard /usr/local/squidGuard/bin/squidGuard
-+#squidguard /usr/bin/squidGuard
- #debug 0
- #force 1
- #stat 1
- #maxredir 10
--#clamd_local /tmp/clamd
--#clamd_ip 192.168.1.5
-+#clamd_local /var/run/clamav/clamd.sock
-+#clamd_ip 127.0.0.1
- #clamd_port 3310
- #timeout 60
- #useragent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
diff --git a/net-proxy/squidclamav/squidclamav-4.0.ebuild b/net-proxy/squidclamav/squidclamav-4.0.ebuild
deleted file mode 100644
index c94576dd92b9..000000000000
--- a/net-proxy/squidclamav/squidclamav-4.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-4.0.ebuild,v 1.1 2009/04/25 09:44:42 mrness Exp $
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
-HOMEPAGE="http://www.samse.fr/GPL/"
-SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="net-misc/curl
- dev-libs/openssl
- sys-libs/zlib
- app-arch/bzip2"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-gentoo.patch"
-}
-
-src_install() {
- dosbin squidclamav || die "dosbin failed"
- insinto /etc
- newins squidclamav.conf.dist squidclamav.conf
- keepdir /var/log/squidclamav
- fowners squid:squid /var/log/squidclamav
- dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
-}
-
-pkg_postinst() {
- einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /usr/sbin/squidclamav"
- einfo " url_rewrite_children 15"
- einfo " url_rewrite_access deny localhost # prevent loops"
- einfo " url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
-}
diff --git a/net-proxy/squidclamav/squidclamav-6.3.ebuild b/net-proxy/squidclamav/squidclamav-6.3.ebuild
deleted file mode 100644
index e8a488c08f5d..000000000000
--- a/net-proxy/squidclamav/squidclamav-6.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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"
-}