summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-07-16 21:16:11 +0000
committerAlin Năstac <mrness@gentoo.org>2009-07-16 21:16:11 +0000
commitc7a0f8d725235549a6a594fe2888cf311bf2a463 (patch)
tree0beed7f4bd4d5b6d72a598e66f69f780f91af65f /net-libs/libecap
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-c7a0f8d725235549a6a594fe2888cf311bf2a463.tar.gz
gentoo-2-c7a0f8d725235549a6a594fe2888cf311bf2a463.tar.bz2
gentoo-2-c7a0f8d725235549a6a594fe2888cf311bf2a463.zip
Initial import from bug 277883
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libecap')
-rw-r--r--net-libs/libecap/ChangeLog11
-rw-r--r--net-libs/libecap/files/libecap-limits.patch11
-rw-r--r--net-libs/libecap/libecap-0.0.2.ebuild28
-rw-r--r--net-libs/libecap/metadata.xml6
4 files changed, 56 insertions, 0 deletions
diff --git a/net-libs/libecap/ChangeLog b/net-libs/libecap/ChangeLog
new file mode 100644
index 000000000000..944a0dddfe53
--- /dev/null
+++ b/net-libs/libecap/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-libs/libecap
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libecap/ChangeLog,v 1.1 2009/07/16 21:16:10 mrness Exp $
+
+*libecap-0.0.2 (16 Jul 2009)
+
+ 16 Jul 2009; Alin Năstac <mrness@gentoo.org> +files/libecap-limits.patch,
+ +metadata.xml, +libecap-0.0.2.ebuild:
+ Initial import from bug 277883, thanks to Ivan Mironov
+ <mironov.ivan@gmail.com>.
+
diff --git a/net-libs/libecap/files/libecap-limits.patch b/net-libs/libecap/files/libecap-limits.patch
new file mode 100644
index 000000000000..2f3497d760db
--- /dev/null
+++ b/net-libs/libecap/files/libecap-limits.patch
@@ -0,0 +1,11 @@
+diff -ur libecap-0.0.2.orig/src/libecap/common/name.cc libecap-0.0.2.new/src/libecap/common/name.cc
+--- libecap-0.0.2.orig/src/libecap/common/name.cc 2008-05-14 04:18:00.000000000 +0600
++++ libecap-0.0.2.new/src/libecap/common/name.cc 2009-07-04 19:07:51.086046555 +0600
+@@ -1,6 +1,6 @@
+ #include <libecap/common/name.h>
+ #include <libecap/common/errors.h>
+-#include <limits>
++#include <limits.h>
+
+ libecap::Name::Id libecap::Name::TheLastId = libecap::Name::nameUnidentified;
+
diff --git a/net-libs/libecap/libecap-0.0.2.ebuild b/net-libs/libecap/libecap-0.0.2.ebuild
new file mode 100644
index 000000000000..bef033d3e2ba
--- /dev/null
+++ b/net-libs/libecap/libecap-0.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libecap/libecap-0.0.2.ebuild,v 1.1 2009/07/16 21:16:10 mrness Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="API for implementing ICAP content analysis and adaptation"
+HOMEPAGE="http://www.e-cap.org/"
+SRC_URI="http://www.measurement-factory.com/tmp/ecap/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-limits.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc CREDITS NOTICE README change.log || die "dodoc failed"
+}
diff --git a/net-libs/libecap/metadata.xml b/net-libs/libecap/metadata.xml
new file mode 100644
index 000000000000..b482186b5988
--- /dev/null
+++ b/net-libs/libecap/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>eCAP is a software interface that allows a network application, such as an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module</longdescription>
+</pkgmetadata>