summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-11-02 15:49:02 +0000
committerAlin Năstac <mrness@gentoo.org>2007-11-02 15:49:02 +0000
commit2d4fc46792fbd171c22eba843900d368b0ec2da8 (patch)
treedbd11fc5020fb393c271e930ed93ad6e59f48e51 /net-proxy
parentRemove obsolete versions. Version bump. Install HTML documentation. (diff)
downloadhistorical-2d4fc46792fbd171c22eba843900d368b0ec2da8.tar.gz
historical-2d4fc46792fbd171c22eba843900d368b0ec2da8.tar.bz2
historical-2d4fc46792fbd171c22eba843900d368b0ec2da8.zip
Version bump.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/squidclamav/ChangeLog8
-rw-r--r--net-proxy/squidclamav/Manifest28
-rw-r--r--net-proxy/squidclamav/files/digest-squidclamav-3.13
-rw-r--r--net-proxy/squidclamav/files/squidclamav-3.1-gentoo.patch28
-rw-r--r--net-proxy/squidclamav/squidclamav-3.1.ebuild44
5 files changed, 102 insertions, 9 deletions
diff --git a/net-proxy/squidclamav/ChangeLog b/net-proxy/squidclamav/ChangeLog
index 54f51b75e203..5958e3b224a7 100644
--- a/net-proxy/squidclamav/ChangeLog
+++ b/net-proxy/squidclamav/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/squidclamav
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.3 2007/04/11 13:38:04 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.4 2007/11/02 15:49:01 mrness Exp $
+
+*squidclamav-3.1 (02 Nov 2007)
+
+ 02 Nov 2007; Alin Năstac <mrness@gentoo.org>
+ +files/squidclamav-3.1-gentoo.patch, +squidclamav-3.1.ebuild:
+ Version bump.
11 Apr 2007; Alin Năstac <mrness@gentoo.org> squidclamav-3.0.ebuild:
Simplify postinst info messages.
diff --git a/net-proxy/squidclamav/Manifest b/net-proxy/squidclamav/Manifest
index 730e6bc01911..81b7213156df 100644
--- a/net-proxy/squidclamav/Manifest
+++ b/net-proxy/squidclamav/Manifest
@@ -5,15 +5,24 @@ AUX squidclamav-3.0-gentoo.patch 661 RMD160 8f972f27c37a76dc955a289266ddfc461227
MD5 8e1662e9916165026ef30be441b2aabf files/squidclamav-3.0-gentoo.patch 661
RMD160 8f972f27c37a76dc955a289266ddfc461227f9fd files/squidclamav-3.0-gentoo.patch 661
SHA256 9bf7e316520ffedc322fecf7d3f9eed31b18aaf5ca3f8ec73dd320d77e444528 files/squidclamav-3.0-gentoo.patch 661
+AUX squidclamav-3.1-gentoo.patch 847 RMD160 b381fc967d7e1d0f8537ae9f8a4f9c3e83a9391c SHA1 69b04c8b238f40e1e7075dd8ad07bb1e947a9210 SHA256 e67c81508c3e76bb63f46e1075747a5a38519d19f2a2d86de6a5aaa66e93d173
+MD5 668a23f4354b7ff40f1dd210e37fa691 files/squidclamav-3.1-gentoo.patch 847
+RMD160 b381fc967d7e1d0f8537ae9f8a4f9c3e83a9391c files/squidclamav-3.1-gentoo.patch 847
+SHA256 e67c81508c3e76bb63f46e1075747a5a38519d19f2a2d86de6a5aaa66e93d173 files/squidclamav-3.1-gentoo.patch 847
DIST squidclamav-3.0.tar.gz 128954 RMD160 7d24d0a3c722413a666a0a4ee82c3b1e3e2357b4 SHA1 8fbfa33392a3b403739041c8fd023c63740462cb SHA256 190f62280bbef6a38da1cfcf16ba1158bb65a5be7e18221f83565ca701c3a3b6
+DIST squidclamav-3.1.tar.gz 118434 RMD160 5431089570712111db13c8ea37fdabf1002a1ab2 SHA1 0832fc530fc11b967443a71ee899361b4d3b9a42 SHA256 17b634239e1750e85253420f886a2b436621fc0ea8d992e058c03ec6d5c86f82
EBUILD squidclamav-3.0.ebuild 1247 RMD160 da2e6caf701b852dae0908e3967128e3c0d18495 SHA1 58a81bcd051b47dade3733f31e6fef1f525dfc18 SHA256 aee14714a70ebb30184d41163e05b595e4bbe8317415cfc6b5b992736811e2bb
MD5 8b392f7a40e1e5816c6e247c16d4f8a9 squidclamav-3.0.ebuild 1247
RMD160 da2e6caf701b852dae0908e3967128e3c0d18495 squidclamav-3.0.ebuild 1247
SHA256 aee14714a70ebb30184d41163e05b595e4bbe8317415cfc6b5b992736811e2bb squidclamav-3.0.ebuild 1247
-MISC ChangeLog 653 RMD160 2f3b23bb13ca13d03b6dadfe964ecd09dd7888bf SHA1 7b1d82d09069074700522c95c2faa2726b6fad32 SHA256 76fb1f2c45ad37520d7846801079ff166b92515a87dbe0a43d85a87c7ad31489
-MD5 87ba2db95a4908f245f408977421322a ChangeLog 653
-RMD160 2f3b23bb13ca13d03b6dadfe964ecd09dd7888bf ChangeLog 653
-SHA256 76fb1f2c45ad37520d7846801079ff166b92515a87dbe0a43d85a87c7ad31489 ChangeLog 653
+EBUILD squidclamav-3.1.ebuild 1248 RMD160 ccc3e13e25cf574aa0017cd8e525d51c6d1c5a1a SHA1 965881b4a143d89eebcfb0892038c82cec52b0a6 SHA256 b885173dfb01b3c6f30b553b01cef9cd0b4a489689f792f3ccb6b54409163fd6
+MD5 4d927bd0b70b251ba85352a3a4cbd5ab squidclamav-3.1.ebuild 1248
+RMD160 ccc3e13e25cf574aa0017cd8e525d51c6d1c5a1a squidclamav-3.1.ebuild 1248
+SHA256 b885173dfb01b3c6f30b553b01cef9cd0b4a489689f792f3ccb6b54409163fd6 squidclamav-3.1.ebuild 1248
+MISC ChangeLog 814 RMD160 9797e7bbbf1dcede1d3eb10db79db7963e573dd8 SHA1 68bf8eec84bae5e82bf4e5a0d91a95713bb09e27 SHA256 13abfa0349f8f89a1676c5cd55cd7b488c3fea1e98d309a2dc611ad97d66d994
+MD5 00fd977d162b795be1d95114ce17e896 ChangeLog 814
+RMD160 9797e7bbbf1dcede1d3eb10db79db7963e573dd8 ChangeLog 814
+SHA256 13abfa0349f8f89a1676c5cd55cd7b488c3fea1e98d309a2dc611ad97d66d994 ChangeLog 814
MISC metadata.xml 327 RMD160 f8064541c8e6cb884bc8742791f177f1fa5bafcf SHA1 c19339e33115e3eec128917cfdf1645d4f06e001 SHA256 e36b5b3fe77428545f7ae44d2f036f11dcbd84a6391e5c6d691ac1698d46af71
MD5 e326529b235145b7616df6fde4656721 metadata.xml 327
RMD160 f8064541c8e6cb884bc8742791f177f1fa5bafcf metadata.xml 327
@@ -21,10 +30,13 @@ SHA256 e36b5b3fe77428545f7ae44d2f036f11dcbd84a6391e5c6d691ac1698d46af71 metadata
MD5 bd82363bdd4b1baaacd4eef70943a237 files/digest-squidclamav-3.0 247
RMD160 63c23fb9423e9a0c9629ba16321b21cdc2f658d1 files/digest-squidclamav-3.0 247
SHA256 1c2effbf3d4a6b9fa48a427e76f31a73efe68e712e3644d7c56ab5fb72b0a5b7 files/digest-squidclamav-3.0 247
+MD5 511a7f3f342c5a7985602006d5b78d5d files/digest-squidclamav-3.1 247
+RMD160 1e8d9bc4c262ff3b1cbece36a9f52020d8ed7f1f files/digest-squidclamav-3.1 247
+SHA256 c1f3bffc19653b377391a6da5ff6c65f65b1f9f04a19c55e9814199bff9bcba8 files/digest-squidclamav-3.1 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
+Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGHOTFJnxX6mF440QRAro/AJ4nIm8t/FStJIhta7hqwFu9G4kAnACdE99x
-96376DKD+KKoW2p/ntiktKs=
-=XMlV
+iD8DBQFHK0b4VSA5X31g7/gRAt07AJoDNjfq0GgeHiLlY7GqFOwON201WwCfZfEh
+SXfUrfY1e6PSdP6otSIs2Kw=
+=ZMdP
-----END PGP SIGNATURE-----
diff --git a/net-proxy/squidclamav/files/digest-squidclamav-3.1 b/net-proxy/squidclamav/files/digest-squidclamav-3.1
new file mode 100644
index 000000000000..3314613bb1e1
--- /dev/null
+++ b/net-proxy/squidclamav/files/digest-squidclamav-3.1
@@ -0,0 +1,3 @@
+MD5 a181cc67d3e74af3558cbbddbd4a12ae squidclamav-3.1.tar.gz 118434
+RMD160 5431089570712111db13c8ea37fdabf1002a1ab2 squidclamav-3.1.tar.gz 118434
+SHA256 17b634239e1750e85253420f886a2b436621fc0ea8d992e058c03ec6d5c86f82 squidclamav-3.1.tar.gz 118434
diff --git a/net-proxy/squidclamav/files/squidclamav-3.1-gentoo.patch b/net-proxy/squidclamav/files/squidclamav-3.1-gentoo.patch
new file mode 100644
index 000000000000..624d2ebaef14
--- /dev/null
+++ b/net-proxy/squidclamav/files/squidclamav-3.1-gentoo.patch
@@ -0,0 +1,28 @@
+diff -Nru squidclamav-3.1.orig/squidclamav.conf.dist squidclamav-3.1/squidclamav.conf.dist
+--- squidclamav-3.1.orig/squidclamav.conf.dist 2007-08-22 15:50:41.000000000 +0300
++++ squidclamav-3.1/squidclamav.conf.dist 2007-11-02 17:44:11.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.1.ebuild b/net-proxy/squidclamav/squidclamav-3.1.ebuild
new file mode 100644
index 000000000000..87a03ed773ae
--- /dev/null
+++ b/net-proxy/squidclamav/squidclamav-3.1.ebuild
@@ -0,0 +1,44 @@
+# 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.1.ebuild,v 1.1 2007/11/02 15:49:01 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-7.12.1
+ 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"
+}