summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-04-13 16:53:42 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-04-13 16:53:42 +0000
commit80c25609b09ffa1bb1f872700aef85c16ad3f483 (patch)
treec9fd1291af8f9de512df60a01af29158fd55d743 /net-proxy
parentOld. (diff)
downloadgentoo-2-80c25609b09ffa1bb1f872700aef85c16ad3f483.tar.gz
gentoo-2-80c25609b09ffa1bb1f872700aef85c16ad3f483.tar.bz2
gentoo-2-80c25609b09ffa1bb1f872700aef85c16ad3f483.zip
New package c-icap-modules, URL blocklist and virus scanner for the C-ICAP server. Contributed by Florian Steinel. Tested and works. Fixes bug #456698.
(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/c-icap-modules/ChangeLog10
-rw-r--r--net-proxy/c-icap-modules/Manifest4
-rw-r--r--net-proxy/c-icap-modules/c-icap-modules-0.2.4.ebuild54
-rw-r--r--net-proxy/c-icap-modules/metadata.xml6
4 files changed, 74 insertions, 0 deletions
diff --git a/net-proxy/c-icap-modules/ChangeLog b/net-proxy/c-icap-modules/ChangeLog
new file mode 100644
index 000000000000..ff81957ada74
--- /dev/null
+++ b/net-proxy/c-icap-modules/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-proxy/c-icap-modules
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap-modules/ChangeLog,v 1.1 2013/04/13 16:53:42 tomwij Exp $
+
+*c-icap-modules-0.2.4 (13 Apr 2013)
+
+ 13 Apr 2013; Tom Wijsman <TomWij@gentoo.org> +c-icap-modules-0.2.4.ebuild,
+ +metadata.xml:
+ New package c-icap-modules, URL blocklist and virus scanner for the C-ICAP
+ server. Contributed by Florian Steinel. Tested and works. Fixes bug #456698.
diff --git a/net-proxy/c-icap-modules/Manifest b/net-proxy/c-icap-modules/Manifest
new file mode 100644
index 000000000000..e1d5006c948a
--- /dev/null
+++ b/net-proxy/c-icap-modules/Manifest
@@ -0,0 +1,4 @@
+DIST c_icap_modules-0.2.4.tar.gz 373120 SHA256 63108dfbc36af9f44cfbe073b4248d368eb64c9d3612aeab0d46171be5c15713 SHA512 5752a52f58852f71c98ff60e5670468998fa481807b866b238bfc3f2465387cf4ce4b2ee1544c35021b618cda69798765479129133d9ac25d23662eac1adbc7f WHIRLPOOL 62fae3fa2b3cceffc210b86119715bbfcaa6a48e38986e7553d7442ad1c8402b8d09ab60134e57e05a9a4b7134642f826d34cd00a600eca45b53ada903caf142
+EBUILD c-icap-modules-0.2.4.ebuild 1124 SHA256 e3a789488771370a131aa02956b3ef2894217dccfc0ee2028c6166af974f1cab SHA512 fce676a92ccaa3137d4ded254cfce71ebd608793cd710ddb05081ef161cad052bef30eda7e109eae55c16491fde4044c60bbc5a59f6df134c926a60af22357ee WHIRLPOOL d927fb70ea33316eb050d119a91b3606fdc398ba77b5a1311e1b5ce25a64b7dd7747809a765f15f527736766e63b0239370c4ddd08bb17a217bad3d119e4f281
+MISC ChangeLog 412 SHA256 d01c9aafb4f054318a70d0ed61bdd5013fd81fda35bf644cad10623383244792 SHA512 6a6813728f9b95b3ef10c9a422a815e52d9be81fbd931e1fccfa6f9a8e5a784b96068072a2073c3f0f5c2960e4c27691523e910dcb50bb0d47ebe87af324b786 WHIRLPOOL beda9b38c66e25adf56d13b15f4c73457edf21ca614121c0c457b88d1b7e7239ef6558e166be899def8dfaf477b85875b48279ca2edb67321da557506b3d0499
+MISC metadata.xml 255 SHA256 214c8aa97d0649e331fd7d56de470d4eb4ee67ed4f8d48ccd26ec43cb2131a6b SHA512 c4ecd7b9bd8be3a5d647edf0ad5d11fdb463e10927997b8777ec314c239e3c6e1430e6b5ac2ec8e4e61782213a4b2af53e60ec3d860c3e24c69dfe1f09835e3b WHIRLPOOL 2e25c935d25d387e191c6f6d021a21467cc40184d2e92e4c8bee3a719abbb0d31afbe9ab91f95363dca9f5e8ff770eec90dd4f225b9da173652a814089cd2083
diff --git a/net-proxy/c-icap-modules/c-icap-modules-0.2.4.ebuild b/net-proxy/c-icap-modules/c-icap-modules-0.2.4.ebuild
new file mode 100644
index 000000000000..00651e340c4c
--- /dev/null
+++ b/net-proxy/c-icap-modules/c-icap-modules-0.2.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap-modules/c-icap-modules-0.2.4.ebuild,v 1.1 2013/04/13 16:53:42 tomwij Exp $
+
+EAPI=5
+
+inherit eutils multilib flag-o-matic
+
+MY_PN=c_icap_modules #${PN/-/_}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="URL blocklist and virus scanner for the C-ICAP server"
+HOMEPAGE="http://c-icap.sourceforge.net/"
+SRC_URI="mirror://sourceforge/c-icap/${PN}/0.2.x/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="berkdb clamav"
+
+DEPEND="berkdb? ( sys-libs/db )
+ clamav? ( app-antivirus/clamav )
+ net-proxy/c-icap
+ sys-libs/glibc
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ # some void *** pointers get casted around and can be troublesome to
+ # fix properly.
+ append-flags -fno-strict-aliasing
+
+ econf --sysconfdir=/etc/c-icap \
+ --disable-dependency-tracking \
+ --disable-maintainer-mode \
+ --disable-static \
+ $(use_with berkdb bdb) \
+ $(use_with clamav)
+}
+
+src_compile() {
+ emake LOGDIR="/var/log"
+}
+
+src_install() {
+ dodir /etc/c-icap
+
+ emake LOGDIR="/var/log" \
+ DESTDIR="${D}" install
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/net-proxy/c-icap-modules/metadata.xml b/net-proxy/c-icap-modules/metadata.xml
new file mode 100644
index 000000000000..62e4e0e709c9
--- /dev/null
+++ b/net-proxy/c-icap-modules/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-proxy</herd>
+ <longdescription>URL blocklist and virus scanner for the C-ICAP server</longdescription>
+</pkgmetadata>