Changeset - a9bb8329c623
[Not reviewed]
default
0 1 3
Nathan Brink (binki) - 16 years ago 2008-12-05 16:07:15
ohnobinki@ohnopublishing.net
bumped to net-proxy/squidclamav-3.8
Had to edit files/squidclamav-3.8-gentoo.patch because of new features and changed to the distributed configuration file
4 files changed with 87 insertions and 0 deletions:
0 comments (0 inline, 0 general)
net-proxy/squidclamav/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for net-proxy/squidclamav
 
# Copyright 1999-2008 Nathan Brink; Distributed under the GPL v2
 
# $Header: $
 

	
 
*squidclamav-3.8 (05 December 2008)
 
	
 
  05 Dec 2008; Nathan Phillip Brink <ohnobinki@ohnopublishing.net> +files/squidclamav-3.8-gentoo.patch, +squidclamav-3.8.ebuild:
 
  Bump to squidclamav-3.8 from squidclamav-3.5. Some changes had to be made from files/squidclamav-3.5-gentoo.patch after it was copied to files/squidclamav-3.8-gentoo.patch because of new features.
net-proxy/squidclamav/Manifest
Show inline comments
 
AUX squidclamav-3.3-gentoo.patch 847 RMD160 e1d37e416afe5336d34deb1569e94c6a63de92bf SHA1 ac73fd56a2adda1ba086766c795d6c9e7f7913ff SHA256 18708ef04c57e7217e37e04da8850215bae72dd0d58aecb3c5dcd17f5b83c54a
 
AUX squidclamav-3.4-gentoo.patch 847 RMD160 1d9b8992a9b8ddaca5ecb52fd4bf4e414ce2ff5a SHA1 15020f7f02541ea50520a96b8f36b8c8005b21d9 SHA256 66c4730dfa33e7bdf730be07b5920f71b44ebb227a3db8a8f0290ed693a53cd6
 
AUX squidclamav-3.5-gentoo.patch 847 RMD160 ff2dc9aa19381d00e701a2c27dd179d5c08a2abf SHA1 41b00e75da3f60267424607cdf5c284ab4fd3d1b SHA256 fd3b74b4b487d609ee11c61a059b66416f95eaaf8489019387569cc812a729fc
 
AUX squidclamav-3.8-gentoo.patch 912 RMD160 23259dfdd54b6445e6f21156fb7ceedf669e74f3 SHA1 800b98b90ab660752591b20f4de50d1048e79e56 SHA256 52f7c994dee981f1a8460eb7eb99eee9f478ee4ef12456723e1c0667735c8d85
 
AUX squidclamav-3.8-gentoo.patch~ 847 RMD160 ff2dc9aa19381d00e701a2c27dd179d5c08a2abf SHA1 41b00e75da3f60267424607cdf5c284ab4fd3d1b SHA256 fd3b74b4b487d609ee11c61a059b66416f95eaaf8489019387569cc812a729fc
 
DIST squidclamav-3.3.tar.gz 122467 RMD160 a7f99a26167cbd2232de1ebba51f52d81cd8122d SHA1 6e6894e571b770a817a5f1a0d0ec3941902d5fb7 SHA256 09a096ca0bd82cc0e28b56c616142db26f50b67c5b31416648f4d97a38fb1fe0
 
DIST squidclamav-3.4.tar.gz 100096 RMD160 40cec47d7aa2c1dd441e9efd53733611f8e0701d SHA1 2e10c72355757ef38f43d729889a15628fd2e4e9 SHA256 47e73b34d23ae6abffa6c75cc9002177a78ea22fe94c42d08a7a7c575717a42e
 
DIST squidclamav-3.5.tar.gz 100096 RMD160 40cec47d7aa2c1dd441e9efd53733611f8e0701d SHA1 2e10c72355757ef38f43d729889a15628fd2e4e9 SHA256 47e73b34d23ae6abffa6c75cc9002177a78ea22fe94c42d08a7a7c575717a42e
 
DIST squidclamav-3.8.tar.gz 97961 RMD160 b44c043f31479b3505f7c8210d1445cb025ee4ed SHA1 8af4ddfd6b0ba82d59ae135be375d681400f9281 SHA256 91adf488dba06a4c26fba31eebe00c4e2bb812ab28e66bcd6bb198a8cb3b2c08
 
EBUILD squidclamav-3.3.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
EBUILD squidclamav-3.4.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
EBUILD squidclamav-3.5.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
EBUILD squidclamav-3.8.ebuild 1239 RMD160 60beaf3b88042be2cd6e902db64df60007259b20 SHA1 9cb8fff32a74fee3efdd29c6e19271d4d1892045 SHA256 ba66ea937d2e7656232a6930807407f45eed535d1c5fb70ac06a066f350fbb70
 
MISC ChangeLog 483 RMD160 fc1c114eee62b7d03ced92ab135f870f1b8fe1df SHA1 247cf927df94e7ad4e94070cd811317986f2b0ca SHA256 e644e2630e010f3fa178bbecfa27f2fbf6052729fded4eda12aad34e766f7aef
 
MISC ChangeLog~ 648 RMD160 3a0a6c197565ef0b6bf349d2f41b015f0f864c63 SHA1 5acedaa3921c79e031e0671b1cc4a2cf5a6f6be2 SHA256 fe63dc25faa2898b98314f51b5d1114e47fcef281f21d34ead0f0a1f1dda21eb
net-proxy/squidclamav/files/squidclamav-3.8-gentoo.patch
Show inline comments
 
new file 100644
 
diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
 
--- squidclamav-3.8.orig/squidclamav.conf.dist	2007-08-22 15:50:41.000000000 +0300
 
+++ squidclamav-3.8/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,13 +39,13 @@
 
 #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
 
 #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)
net-proxy/squidclamav/squidclamav-3.8.ebuild
Show inline comments
 
new file 100644
 
# 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"
 
}
0 comments (0 inline, 0 general)