Bug 180747 - [MAINTAINER] www/mitmproxy: Update to 0.9.1
Summary: [MAINTAINER] www/mitmproxy: Update to 0.9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-22 22:40 UTC by Hung-Yi Chen
Modified: 2013-08-21 17:20 UTC (History)
0 users

See Also:


Attachments
mitmproxy.diff (6.54 KB, patch)
2013-07-22 22:40 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2013-07-22 22:40:00 UTC
	Update to 0.9.1.

        mitmproxy 0.9.1 needs py-netlib, please commit PR.180746 first.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2013-08-04 17:06:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-08-21 17:14:57 UTC
Author: wg
Date: Wed Aug 21 16:14:48 2013
New Revision: 325156
URL: http://svnweb.freebsd.org/changeset/ports/325156

Log:
  www/mitmproxy: update to 0.9.1
  
  - Update to 0.9.1 [1]
  - Fix flask dependency name
  - Add LICENSE (MIT)
  - Remove leading article from COMMENT
  
  Changes: https://github.com/mitmproxy/mitmproxy/blob/v0.9.1/CHANGELOG
  
  PR:		ports/180747
  Submitted by:	Hung-Yi Chen <gaod hychen.org> (maintainer)

Modified:
  head/www/mitmproxy/Makefile
  head/www/mitmproxy/distinfo
  head/www/mitmproxy/files/patch-setup.py
  head/www/mitmproxy/pkg-plist

Modified: head/www/mitmproxy/Makefile
==============================================================================
--- head/www/mitmproxy/Makefile	Wed Aug 21 16:03:24 2013	(r325155)
+++ head/www/mitmproxy/Makefile	Wed Aug 21 16:14:48 2013	(r325156)
@@ -2,21 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	mitmproxy
-PORTVERSION=	0.8.1
+PORTVERSION=	0.9.1
 CATEGORIES=	www python
 MASTER_SITES=	http://mitmproxy.org/download/
 
 MAINTAINER=	gaod@hychen.org
-COMMENT=	An SSL-capable man-in-the-middle proxy
+COMMENT=	SSL-capable man-in-the-middle proxy
+
+LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1>0:${PORTSDIR}/devel/py-asn1 \
+		${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
 		${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
 		${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
+		${PYTHON_PKGNAMEPREFIX}netlib>0:${PORTSDIR}/net/py-netlib \
 		${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \
 		${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid
 
 USE_PYDISTUTILS=easy_install
-USE_PYTHON=	2.6+
+USE_PYTHON=	yes
 PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
 
 .include <bsd.port.mk>

Modified: head/www/mitmproxy/distinfo
==============================================================================
--- head/www/mitmproxy/distinfo	Wed Aug 21 16:03:24 2013	(r325155)
+++ head/www/mitmproxy/distinfo	Wed Aug 21 16:14:48 2013	(r325156)
@@ -1,2 +1,2 @@
-SHA256 (mitmproxy-0.8.1.tar.gz) = efccd77e6734cbf3472d4ebf65d5bfed424a110ec1ee7ff28828e8e452e51783
-SIZE (mitmproxy-0.8.1.tar.gz) = 2782437
+SHA256 (mitmproxy-0.9.1.tar.gz) = 18e0ca349ac8565eaa422693123e864251edbaab7e7c938ea5481d5511715eec
+SIZE (mitmproxy-0.9.1.tar.gz) = 3121659

Modified: head/www/mitmproxy/files/patch-setup.py
==============================================================================
--- head/www/mitmproxy/files/patch-setup.py	Wed Aug 21 16:03:24 2013	(r325155)
+++ head/www/mitmproxy/files/patch-setup.py	Wed Aug 21 16:14:48 2013	(r325156)
@@ -1,14 +1,22 @@
---- setup.py.orig	2012-04-09 11:55:00.000000000 +0800
-+++ setup.py	2012-11-08 01:43:57.000000000 +0800
+--- setup.py.orig	2013-07-23 03:08:39.785592808 +0800
++++ setup.py	2013-07-23 03:09:19.367592415 +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 @@
+@@ -92,13 +93,4 @@
              "Topic :: Internet :: Proxy Servers",
              "Topic :: Software Development :: Testing"
          ],
--        install_requires=['urwid>=1.0', 'pyasn1', 'pyopenssl>=0.12', "PIL", "lxml"],
+-        install_requires=[
+-            "netlib>=%s"%version.VERSION,
+-            "urwid>=1.1",
+-            "pyasn1>0.1.2",
+-            "pyopenssl>=0.13",
+-            "PIL",
+-            "lxml",
+-            "flask"
+-        ],
  )

Modified: head/www/mitmproxy/pkg-plist
==============================================================================
--- head/www/mitmproxy/pkg-plist	Wed Aug 21 16:03:24 2013	(r325155)
+++ head/www/mitmproxy/pkg-plist	Wed Aug 21 16:14:48 2013	(r325156)
@@ -1,7 +1,7 @@
 bin/mitmdump
 bin/mitmproxy
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/__init__.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/certutils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/app.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.py
@@ -14,7 +14,7 @@ bin/mitmproxy
 %%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/app.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.pyc
@@ -27,7 +27,7 @@ bin/mitmproxy
 %%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/app.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/cmdline.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/controller.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/dump.pyo
@@ -67,10 +67,13 @@ bin/mitmproxy
 %%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/html2text.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/pyparsing.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/html2text.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/pyparsing.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/contrib/html2text.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
@@ -93,9 +96,18 @@ bin/mitmproxy
 %%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%%/libmproxy/platform/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/linux.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/osx.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/pf.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/__init__.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/common.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/linux.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/osx.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/pf.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/linux.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/osx.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/libmproxy/platform/pf.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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-08-21 17:15:07 UTC
Responsible Changed
From-To: madpilot->wg

I'll take it.
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-08-21 17:15:15 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!