summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-04-13 16:53:55 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-04-13 16:53:55 +0000
commita6295cb5aecf6de5d2155fb9022eca43189e9c86 (patch)
tree61918dbf8e0d1c8c4448dc894e4f393ba8b7d1ec /net-proxy
parentNew package c-icap-modules, URL blocklist and virus scanner for the C-ICAP se... (diff)
downloadhistorical-a6295cb5aecf6de5d2155fb9022eca43189e9c86.tar.gz
historical-a6295cb5aecf6de5d2155fb9022eca43189e9c86.tar.bz2
historical-a6295cb5aecf6de5d2155fb9022eca43189e9c86.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.
Package-Manager: portage-2.1.11.60/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/c-icap-modules/Manifest18
-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
3 files changed, 76 insertions, 2 deletions
diff --git a/net-proxy/c-icap-modules/Manifest b/net-proxy/c-icap-modules/Manifest
index e1d5006c948a..ede70690adfd 100644
--- a/net-proxy/c-icap-modules/Manifest
+++ b/net-proxy/c-icap-modules/Manifest
@@ -1,4 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD c-icap-modules-0.2.4.ebuild 1238 SHA256 c6b3e677d84bc2126ed9810771d4c6f349a9a1171ecc1549327be6088e352481 SHA512 1b4929adc7985b9b219b82189ec4e0fd1db015f14144a9cea57848aa6737dc9029d5ececb45e07e139e8bf1592558f0b9dde486c2321b61334c4aa06f6efde3c WHIRLPOOL c5f9eea72f5df92ddff52357339d8ab2ce44bd049313467de876caaf8e88403eb426caa40b5a026654e9e62f865cbd15048563db52fc5d3ac016916186de6c40
+MISC ChangeLog 508 SHA256 2f7b78b59efce24c894b6527e4bcb1b2275b46a5c2264b9194ac1d2ee5c4e651 SHA512 77796dfaa661b14a39039a06e3b0daa4d3c445caa720781cc2dc484ee19b570b60c5d6eec4d4e50fabf36a6439e3756eaca7b115dc73c741c0d9070ddadd92b3 WHIRLPOOL cf2b2f75e91f75693e054e6a1fc84718711257632b80deed71327111e7ca6e69f73a805336fc77602300249210c920ddf27a7dbfe4d7a8244850171ca3d48f30
MISC metadata.xml 255 SHA256 214c8aa97d0649e331fd7d56de470d4eb4ee67ed4f8d48ccd26ec43cb2131a6b SHA512 c4ecd7b9bd8be3a5d647edf0ad5d11fdb463e10927997b8777ec314c239e3c6e1430e6b5ac2ec8e4e61782213a4b2af53e60ec3d860c3e24c69dfe1f09835e3b WHIRLPOOL 2e25c935d25d387e191c6f6d021a21467cc40184d2e92e4c8bee3a719abbb0d31afbe9ab91f95363dca9f5e8ff770eec90dd4f225b9da173652a814089cd2083
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRaY1eAAoJEJWyH81tNOV922wIAJLzMos2gjBlH1xIUe/W1/lh
++U/53HL79pQIkVHfeA9sev9H0PkTnwT1cdVsC8tibO4dGbQ9H4s07aXm1IWcqP02
+jCaPpYQL/SVzVwxge+ggyzn1XHNFxdJ1cFTVmGhomy80LS9O49YlLo105jeUGWDi
+iUEJKFa37TasT9iNi2aqm0POc1Tw+STxfdU7dAE9pc9aVYFv4bV5IqZ50oSh7hK8
+r2LDztnBKxP09MS9pLn9wnJA4U+6FPTRV/8txC0yLc2CxMLJ75cTqs9hiI4eDQ6D
+Hb5M0OiIA3/OjLVI9F61vVxTq/eEu1b0khdF+33VX91SXZ+mnFkMgPbjlokRSa8=
+=1H/s
+-----END PGP SIGNATURE-----
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>