summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/squidclamav/Manifest2
-rw-r--r--net-proxy/squidclamav/metadata.xml13
-rw-r--r--net-proxy/squidclamav/squidclamav-6.10.ebuild66
-rw-r--r--net-proxy/squidclamav/squidclamav-6.8.ebuild62
4 files changed, 0 insertions, 143 deletions
diff --git a/net-proxy/squidclamav/Manifest b/net-proxy/squidclamav/Manifest
deleted file mode 100644
index 43ff895cb6de..000000000000
--- a/net-proxy/squidclamav/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST squidclamav-6.10.tar.gz 436639 BLAKE2B 667f1ee9c204fa2bb2d98b2108abd19da253cf055d365d902ed9533ed842188c0675ec3120a518235b3ddd0b9f9e0fc11c2e020493b967b4a6f234e7195666ff SHA512 36a49720ea8984d3075364cc6150bd5063983aaeaaad538f6e4fde013b92243b0aeb39ef151e0a6752259739e1258d8170fa27eedf3a91384a5814fd81ae9382
-DIST squidclamav-6.8.tar.gz 840634 BLAKE2B 5088003645daa61ad3e21cdc7ad7c72d52d1f08e60f80e011002a4acd27c85b1cc9e6aa82f1734747e844f5439920aece1f9b072e8338f4a911213865f65aee0 SHA512 03d4ccbb970c1b3c9f0d632eae2b0c43fa0d2fc4b2fd495ef972018c069e20b7a4d198989a6010a1778c87a173fa90c49ea3d2332b89a5a9f6b5b7cb914879d0
diff --git a/net-proxy/squidclamav/metadata.xml b/net-proxy/squidclamav/metadata.xml
deleted file mode 100644
index 4f9c96bd930a..000000000000
--- a/net-proxy/squidclamav/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <longdescription>
- SquidClamAV is a <pkg>net-proxy/squid</pkg> redirector which allows easy antivirus file
- scanning. It can use either a local or a remote ClamAV daemon. As
- of version 6.0, it is now an ICAP module for
- <pkg>net-proxy/c-icap</pkg>.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">squidclamav</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-proxy/squidclamav/squidclamav-6.10.ebuild b/net-proxy/squidclamav/squidclamav-6.10.ebuild
deleted file mode 100644
index ecfc677d0e8f..000000000000
--- a/net-proxy/squidclamav/squidclamav-6.10.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 ~arm ~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_configure() {
- econf --disable-static --enable-shared
-}
-
-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:\.ctl:.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"
-}
diff --git a/net-proxy/squidclamav/squidclamav-6.8.ebuild b/net-proxy/squidclamav/squidclamav-6.8.ebuild
deleted file mode 100644
index 045c33fafdcd..000000000000
--- a/net-proxy/squidclamav/squidclamav-6.8.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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:\.ctl:.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"
-}