Add libecap 1.0.1

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. For each applicable
protocol message being processed, an eCAP-enabled host application
supplies the message details to the adaptation module and gets back
an adapted message, a "not interested" response, or a "block this
message now!" instruction.  These exchanges often include message
bodies.

The adaptation module can also exchange meta-information with the
host application to supply additional details such as configuration
options, a reason behind the decision to ignore a message, or a
detected virus name.

If you are familiar with the ICAP protocol (RFC 3507), then you
may think of eCAP as an "embedded ICAP", where network interactions
with an ICAP server are replaced with function calls to an adaptation
module.

The libecap library implements the eCAP API in C++.
This commit is contained in:
prlw1 2016-06-17 16:39:55 +00:00
parent ebbcf465d5
commit e5e3e12de0
5 changed files with 82 additions and 0 deletions

20
www/libecap/DESCR Normal file
View file

@ -0,0 +1,20 @@
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. For each applicable
protocol message being processed, an eCAP-enabled host application
supplies the message details to the adaptation module and gets back
an adapted message, a "not interested" response, or a "block this
message now!" instruction. These exchanges often include message
bodies.
The adaptation module can also exchange meta-information with the
host application to supply additional details such as configuration
options, a reason behind the decision to ignore a message, or a
detected virus name.
If you are familiar with the ICAP protocol (RFC 3507), then you
may think of eCAP as an "embedded ICAP", where network interactions
with an ICAP server are replaced with function calls to an adaptation
module.
The libecap library implements the eCAP API in C++.

19
www/libecap/Makefile Normal file
View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2016/06/17 16:39:55 prlw1 Exp $
DISTNAME= libecap-1.0.1
CATEGORIES= www
MASTER_SITES= http://www.measurement-factory.com/tmp/ecap/
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= http://www.e-cap.org/
COMMENT= C++ implementation of eCAP API
LICENSE= 2-clause-bsd
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= libecap.pc.in
.include "../../mk/bsd.pkg.mk"

25
www/libecap/PLIST Normal file
View file

@ -0,0 +1,25 @@
@comment $NetBSD: PLIST,v 1.1 2016/06/17 16:39:55 prlw1 Exp $
include/libecap/adapter/service.h
include/libecap/adapter/xaction.h
include/libecap/common/area.h
include/libecap/common/autoconf.h
include/libecap/common/body.h
include/libecap/common/body_size.h
include/libecap/common/delay.h
include/libecap/common/errors.h
include/libecap/common/forward.h
include/libecap/common/header.h
include/libecap/common/libecap.h
include/libecap/common/log.h
include/libecap/common/memory.h
include/libecap/common/message.h
include/libecap/common/name.h
include/libecap/common/named_values.h
include/libecap/common/names.h
include/libecap/common/options.h
include/libecap/common/registry.h
include/libecap/common/version.h
include/libecap/host/host.h
include/libecap/host/xaction.h
lib/libecap.la
lib/pkgconfig/libecap.pc

12
www/libecap/buildlink3.mk Normal file
View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2016/06/17 16:39:55 prlw1 Exp $
BUILDLINK_TREE+= libecap
.if !defined(LIBECAP_BUILDLINK3_MK)
LIBECAP_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libecap+= libecap>=1.0.1
BUILDLINK_PKGSRCDIR.libecap?= ../../www/libecap
.endif # LIBECAP_BUILDLINK3_MK
BUILDLINK_TREE+= -libecap

6
www/libecap/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/06/17 16:39:55 prlw1 Exp $
SHA1 (libecap-1.0.1.tar.gz) = 89533c2ac77fee7b26f53c20c25a1423ce1498b7
RMD160 (libecap-1.0.1.tar.gz) = 72cac0074be057805511d33156baacb0eeaef4ed
SHA512 (libecap-1.0.1.tar.gz) = 0054ad11b3f558d7c623060a69207a1b8e679803cabdf1a2bce4b04335d71c016eec770fc9d2cbf3d0a93502c255cb528305f9f8e6df4e095fcb980667045919
Size (libecap-1.0.1.tar.gz) = 339799 bytes