diff options
author | wxs <wxs@FreeBSD.org> | 2012-11-25 04:01:26 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2012-11-25 04:01:26 +0800 |
commit | d491c8b4f53be9153e86c39a88044176d97d01a7 (patch) | |
tree | 26716fc98fe348870725ef1e9de62e3702dc395a /www/mitmproxy | |
parent | 5e5468cb14a05b295ebf1104865472b79ce93edc (diff) | |
download | freebsd-ports-gnome-d491c8b4f53be9153e86c39a88044176d97d01a7.tar.gz freebsd-ports-gnome-d491c8b4f53be9153e86c39a88044176d97d01a7.tar.zst freebsd-ports-gnome-d491c8b4f53be9153e86c39a88044176d97d01a7.zip |
'mitmproxy' is an SSL-capable man-in-the-middle HTTP proxy. It provides a
console interface that allows traffic flows to be inspected and edited on the
fly.
'mitmdump' is the command-line version of mitmproxy, with the same
functionality but without the frills. Think tcpdump for HTTP.
WWW: http://mitmproxy.org/index.html
PR: ports/173449
Submitted by: Hung-Yi Chen <gaod@hychen.org>
Feature safe: yes
Diffstat (limited to 'www/mitmproxy')
-rw-r--r-- | www/mitmproxy/Makefile | 26 | ||||
-rw-r--r-- | www/mitmproxy/distinfo | 2 | ||||
-rw-r--r-- | www/mitmproxy/files/patch-setup.py | 14 | ||||
-rw-r--r-- | www/mitmproxy/pkg-descr | 8 | ||||
-rw-r--r-- | www/mitmproxy/pkg-plist | 110 |
5 files changed, 160 insertions, 0 deletions
diff --git a/www/mitmproxy/Makefile b/www/mitmproxy/Makefile new file mode 100644 index 000000000000..c9a55078fcd1 --- /dev/null +++ b/www/mitmproxy/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: mitmproxy +# Date created: 08 November 2012 +# Whom: Hung-Yi Chen <gaod@hychen.org> +# +# $FreeBSD$ +# + +PORTNAME= mitmproxy +PORTVERSION= 0.8 +CATEGORIES= www python +MASTER_SITES= http://mitmproxy.org/download/ + +MAINTAINER= gaod@hychen.org +COMMENT= An SSL-capable man-in-the-middle proxy + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1 \ + ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ + ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \ + ${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid + +USE_PYDISTUTILS=easy_install +USE_PYTHON= 2.6+ +PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} + +.include <bsd.port.mk> diff --git a/www/mitmproxy/distinfo b/www/mitmproxy/distinfo new file mode 100644 index 000000000000..6ab89612d1d0 --- /dev/null +++ b/www/mitmproxy/distinfo @@ -0,0 +1,2 @@ +SHA256 (mitmproxy-0.8.tar.gz) = b176b1036e28715c92e8159fab2a10565a7276afa7ebc83b5976bc7217c3f8db +SIZE (mitmproxy-0.8.tar.gz) = 2766903 diff --git a/www/mitmproxy/files/patch-setup.py b/www/mitmproxy/files/patch-setup.py new file mode 100644 index 000000000000..f306d904fcdd --- /dev/null +++ b/www/mitmproxy/files/patch-setup.py @@ -0,0 +1,14 @@ +--- setup.py.orig 2012-04-09 11:55:00.000000000 +0800 ++++ setup.py 2012-11-08 01:43:57.000000000 +0800 +@@ -1,4 +1,5 @@ + from distutils.core import setup ++from setuptools import setup + import fnmatch, os.path + from libmproxy import version + +@@ -92,5 +93,4 @@ + "Topic :: Internet :: Proxy Servers", + "Topic :: Software Development :: Testing" + ], +- install_requires=['urwid>=1.0', 'pyasn1', 'pyopenssl>=0.12', "PIL", "lxml"], + ) diff --git a/www/mitmproxy/pkg-descr b/www/mitmproxy/pkg-descr new file mode 100644 index 000000000000..685aae6dbf1e --- /dev/null +++ b/www/mitmproxy/pkg-descr @@ -0,0 +1,8 @@ +'mitmproxy' is an SSL-capable man-in-the-middle HTTP proxy. It provides a +console interface that allows traffic flows to be inspected and edited on the +fly. + +'mitmdump' is the command-line version of mitmproxy, with the same +functionality but without the frills. Think tcpdump for HTTP. + +WWW: http://mitmproxy.org/index.html diff --git a/www/mitmproxy/pkg-plist b/www/mitmproxy/pkg-plist new file mode 100644 index 000000000000..cc90d487323c --- /dev/null +++ b/www/mitmproxy/pkg-plist @@ -0,0 +1,110 @@ +bin/mitmdump +bin/mitmproxy +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/certutils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/encoding.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/filt.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/flow.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/proxy.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/script.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/tnetstring.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/utils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/version.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/certutils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/encoding.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/filt.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/flow.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/proxy.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/script.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/tnetstring.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/utils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/version.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/certutils.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/encoding.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/filt.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/flow.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/proxy.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/script.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/tnetstring.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/utils.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/version.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/common.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/contentview.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowdetailview.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowlist.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowview.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/grideditor.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/help.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/palettes.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/common.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/contentview.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowdetailview.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowlist.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowview.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/grideditor.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/help.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/palettes.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/common.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/contentview.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowdetailview.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowlist.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/flowview.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/grideditor.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/help.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console/palettes.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/pyparsing.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/pyparsing.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/pyparsing.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/evalbased.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/javascriptobfuscator.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/packer.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/urlencode.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/evalbased.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/javascriptobfuscator.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/packer.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/urlencode.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/evalbased.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/javascriptobfuscator.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/packer.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers/urlencode.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/mitmproxy +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/mitmdump +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/console +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier/unpackers +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/jsbeautifier +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |