Bug 229827 - [NEW_PORT] net/py-pyicap: A Python framework for writing ICAP servers
Summary: [NEW_PORT] net/py-pyicap: A Python framework for writing ICAP servers
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Danilo G. Baio
URL: https://github.com/netom/pyicap
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 12:30 UTC by Silvio Ap Silva
Modified: 2018-07-20 01:12 UTC (History)
1 user (show)

See Also:


Attachments
shar file for new port (1.60 KB, text/plain)
2018-07-17 12:30 UTC, Silvio Ap Silva
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio Ap Silva 2018-07-17 12:30:56 UTC
Created attachment 195192 [details]
shar file for new port

A python icap server to provide responses for squid users.
You can use a framework by importing stuff from the pyicap package, extending the protocol handler class and starting the server, passing your handler to it.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-20 01:07:23 UTC
A commit references this bug:

Author: dbaio
Date: Fri Jul 20 01:07:03 UTC 2018
New revision: 474985
URL: https://svnweb.freebsd.org/changeset/ports/474985

Log:
  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>

Changes:
  head/net/Makefile
  head/net/py-pyicap/
  head/net/py-pyicap/Makefile
  head/net/py-pyicap/distinfo
  head/net/py-pyicap/pkg-descr
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2018-07-20 01:12:52 UTC
Committed, thanks!