Add net/py-pyicap: Lightweight Python framework for writing ICAP services

A Python framework for writing ICAP servers (RFC 3507).

ICAP is a protocol that is used by HTTP proxies to ask a separate service (an
ICAP server) to do modification on HTTP requests and responses it proxies. Such
proxy is an ICAP client.
ICAP can be used to check permissions, scan viruses, place ads or otherwise
modify the headers, content or request URL or HTTP requests and/or responses.
These can be done without modifying the proxy server's code.

The popular proxy software Squid 3.x supports the ICAP protocol, and this
framework was tested with Squid3.

WWW: https://github.com/netom/pyicap

PR:		229827
Submitted by:	Silvio Ap Silva <contato@kanazuchi.com>
This commit is contained in:
Danilo G. Baio 2018-07-20 01:07:02 +00:00
parent a524303917
commit 798d4541aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474985
4 changed files with 37 additions and 0 deletions

View file

@ -1096,6 +1096,7 @@
SUBDIR += py-port-for
SUBDIR += py-portend
SUBDIR += py-pygeoip
SUBDIR += py-pyicap
SUBDIR += py-pynmsg
SUBDIR += py-pynsq
SUBDIR += py-pypcap

20
net/py-pyicap/Makefile Normal file
View file

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= pyicap
DISTVERSION= 1.0b1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= contato@kanazuchi.com
COMMENT= Lightweight Python framework for writing ICAP services
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
net/py-pyicap/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1531829175
SHA256 (pyicap-1.0b1.tar.gz) = ad3eeb90085d56fc96dac68d57d8b02fc25671bd9de52e86e415855be70cbd73
SIZE (pyicap-1.0b1.tar.gz) = 15334

13
net/py-pyicap/pkg-descr Normal file
View file

@ -0,0 +1,13 @@
A Python framework for writing ICAP servers (RFC 3507).
ICAP is a protocol that is used by HTTP proxies to ask a separate service (an
ICAP server) to do modification on HTTP requests and responses it proxies. Such
proxy is an ICAP client.
ICAP can be used to check permissions, scan viruses, place ads or otherwise
modify the headers, content or request URL or HTTP requests and/or responses.
These can be done without modifying the proxy server's code.
The popular proxy software Squid 3.x supports the ICAP protocol, and this
framework was tested with Squid3.
WWW: https://github.com/netom/pyicap