summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-13 14:29:25 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-13 14:29:25 +0000
commitff6cfb6ead0c1ce6ce257da0285d5ff89bf7eb88 (patch)
treef7c7efbb39b0982b0b91b1e7437a4f6d927e0307 /net-proxy/squidclamav
parentVersion bump. (diff)
downloadgentoo-2-ff6cfb6ead0c1ce6ce257da0285d5ff89bf7eb88.tar.gz
gentoo-2-ff6cfb6ead0c1ce6ce257da0285d5ff89bf7eb88.tar.bz2
gentoo-2-ff6cfb6ead0c1ce6ce257da0285d5ff89bf7eb88.zip
Remove obsolete version.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-proxy/squidclamav')
-rw-r--r--net-proxy/squidclamav/ChangeLog6
-rw-r--r--net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch28
-rw-r--r--net-proxy/squidclamav/squidclamav-3.2.ebuild44
3 files changed, 5 insertions, 73 deletions
diff --git a/net-proxy/squidclamav/ChangeLog b/net-proxy/squidclamav/ChangeLog
index 7819d584580d..a747198b8760 100644
--- a/net-proxy/squidclamav/ChangeLog
+++ b/net-proxy/squidclamav/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/squidclamav
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.6 2008/05/14 22:10:05 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.7 2008/07/13 14:29:24 mrness Exp $
+
+ 13 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ -files/squidclamav-3.2-gentoo.patch, -squidclamav-3.2.ebuild:
+ Remove obsolete version.
*squidclamav-3.5 (14 May 2008)
diff --git a/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch b/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch
deleted file mode 100644
index 316aa00dfa39..000000000000
--- a/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
---- squidclamav-3.2.orig/squidclamav.conf.dist 2007-08-22 15:50:41.000000000 +0300
-+++ squidclamav-3.2/squidclamav.conf.dist 2007-12-30 13:56:58.000000000 +0200
-@@ -29,7 +29,7 @@
- #
- # stat 0|1
- #
--# squidguard /usr/local/squidGuard/bin/squidGuard
-+# squidguard /usr/bin/squidGuard
- #
- # whitelist this.trustdomain.com
- # whitelist .*\.domain\.*
-@@ -39,12 +39,12 @@
- #proxy http://127.0.0.1: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
--#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
- #abort ^.*\.gz$
diff --git a/net-proxy/squidclamav/squidclamav-3.2.ebuild b/net-proxy/squidclamav/squidclamav-3.2.ebuild
deleted file mode 100644
index f81ba3b253c2..000000000000
--- a/net-proxy/squidclamav/squidclamav-3.2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
-
-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}
- net-proxy/squid"
-
-src_unpack() {
- unpack ${A}
-
- 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"
-}