pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49730: Update net/mitmproxy to 0.11.3



>Number:         49730
>Category:       pkg
>Synopsis:       Update net/mitmproxy to 0.11.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 07 13:50:00 +0000 2015
>Originator:     Leonardo Taccari
>Release:        NetBSD 7.99.5
>Organization:
Università Politecnica delle Marche
>Environment:
	
	
System: NetBSD boh 7.99.5 NetBSD 7.99.5 (GENERIC) #6: Sun Mar 1 19:07:54 CET 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	net/mitmproxy in pkgsrc (0.9) is not the latest stable version (0.11.3),
	also pointed out by pkgsrc/doc/TODO.
>How-To-Repeat:
	$ cd pkgsrc/net/mitmproxy
	$ make show-var VARNAME=PKGNAME_NOREV
>Fix:
	Please apply the patches from pkg/49729 in order to update
	net/py-netlib, review and import wip/py-configargparse and then apply
	the following patches (please remember to update the DEPENDENDS line
	regarding wip/py-configargparse!... s/wip/devel/ and get rid of the
	comment that marks that (XXX) will be enough after the import :)).
	A possible commit message is attached.


-------------------8<-----------------8<-----------------8<-------------------
Update net/mitmproxy to 0.11.3.

Changes:
29 Dec 2014: mitmproxy 0.11.3:
    * Bug fixes (-w option and #435 issue).

29 Dec 2014: mitmproxy 0.11.2:
    * Configuration files - mitmproxy.conf, mitmdump.conf, common.conf in the
      .mitmproxy directory.
    * Better handling of servers that reject connections that are not SNI.
    * Many other small bugfixes and improvements.

15 November 2014: mitmproxy 0.11.1:
    * Bug fixes: connection leaks some crashes 

7 November 2014: mitmproxy 0.11:
    * Performance improvements for mitmproxy console
    * SOCKS5 proxy mode allows mitmproxy to act as a SOCKS5 proxy server
    * Data streaming for response bodies exceeding a threshold
      (bradpeabody%gmail.com@localhost)
    * Ignore hosts or IP addresses, forwarding both HTTP and HTTPS traffic
      untouched
    * Finer-grained control of traffic replay, including options to ignore
      contents or parameters when matching flows (marcelo.glezer%gmail.com@localhost)
    * Pass arguments to inline scripts 
    * Configurable size limit on HTTP request and response bodies
    * Per-domain specification of interception certificates and keys (see
      --cert option)
    * Certificate forwarding, relaying upstream SSL certificates verbatim (see
      --cert-forward)
    * Search and highlighting for HTTP request and response bodies in
      mitmproxy console (pedro%worcel.com@localhost)
    * Transparent proxy support on Windows
    * Improved error messages and logging
    * Support for FreeBSD in transparent mode, using pf (zbrdge%gmail.com@localhost)
    * Content view mode for WBXML (davidshaw835%air-watch.com@localhost)
    * Better documentation, with a new section on proxy modes
    * Generic TCP proxy mode
    * Countless bugfixes and other small improvements

28 January 2014: mitmproxy 0.10:
    * Support for multiple scripts and multiple script arguments
    * Easy certificate install through the in-proxy web app, which is now
      enabled by default
    * Forward proxy mode, that forwards proxy requests to an upstream HTTP server
    * Reverse proxy now works with SSL
    * Search within a request/response using the "/" and "n" shortcut keys
    * A view that beatifies CSS files if cssutils is available
    * Bug fix, documentation improvements, and more.

25 August 2013: mitmproxy 0.9.2:
    * Improvements to the mitmproxywrapper.py helper script for OSX.
    * Don't take minor version into account when checking for serialized file
      compatibility.
    * Fix a bug causing resource exhaustion under some circumstances for SSL
      connections.
    * Revamp the way we store interception certificates. We used to store these
      on disk, they're now in-memory. This fixes a race condition related to
      cert handling, and improves compatibility with Windows, where the rules
      governing permitted file names are weird, resulting in errors for some
      valid IDNA-encoded names.
    * Display transfer rates for responses in the flow list.
    * Many other small bugfixes and improvements.

16 June 2013: mitmproxy 0.9.1:
    * Use "correct" case for Content-Type headers added by mitmproxy.
    * Make UTF environment detection more robust. 
    * Improved MIME-type detection for viewers.
    * Always read files in binary mode (Windows compatibility fix).
    * Some developer documentation.
-------------------8<-----------------8<-----------------8<-------------------


-------------------8<-----------------8<-----------------8<-------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/mitmproxy/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	9 May 2014 07:37:14 -0000	1.3
+++ Makefile	7 Mar 2015 13:11:41 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.3 2014/05/09 07:37:14 wiz Exp $
 
-DISTNAME=	mitmproxy-0.9
+DISTNAME=	mitmproxy-0.11.3
 CATEGORIES=	net
 MASTER_SITES=	http://mitmproxy.org/download/
 
@@ -10,15 +10,19 @@
 LICENSE=	mit
 
 DEPENDS+=	${PYPKGPREFIX}-asn1>=0.1.2:../../security/py-asn1
-DEPENDS+=	${PYPKGPREFIX}-flask>=0.9:../../www/py-flask
-DEPENDS+=	${PYPKGPREFIX}-imaging>=1.1:../../graphics/py-imaging
-DEPENDS+=	${PYPKGPREFIX}-lxml>=2.3:../../textproc/py-lxml
-DEPENDS+=	${PYPKGPREFIX}-netlib>=0.9:../../net/py-netlib
-DEPENDS+=	${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL
+DEPENDS+=	${PYPKGPREFIX}-tornado>=4.0.2:../../www/py-tornado
+DEPENDS+=	${PYPKGPREFIX}-Pillow>=2.3.0:../../graphics/py-Pillow
+DEPENDS+=	${PYPKGPREFIX}-lxml>=3.3.6:../../textproc/py-lxml
+DEPENDS+=	${PYPKGPREFIX}-netlib>=0.11:../../net/py-netlib
+DEPENDS+=	${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
 DEPENDS+=	${PYPKGPREFIX}-urwid>=1.1:../../devel/py-urwid
+DEPENDS+=	${PYPKGPREFIX}-configargparse>=0.9.3:../../wip/py-configargparse # XXX
 
 USE_LANGUAGES=	# none
-PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-imaging, py-netlib
+PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-netlib
 
+REPLACE_PYTHON=	libmproxy/contrib/*.py libmproxy/contrib/wbxml/*.py
+
+.include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/mitmproxy/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	15 May 2013 22:39:26 -0000	1.1
+++ PLIST	7 Mar 2015 13:11:41 -0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2013/05/15 22:39:26 wiz Exp $
+@comment $NetBSD$
 bin/mitmdump
 bin/mitmproxy
 ${PYSITELIB}/libmproxy/__init__.py
 ${PYSITELIB}/libmproxy/__init__.pyc
 ${PYSITELIB}/libmproxy/__init__.pyo
-${PYSITELIB}/libmproxy/app.py
-${PYSITELIB}/libmproxy/app.pyc
-${PYSITELIB}/libmproxy/app.pyo
 ${PYSITELIB}/libmproxy/cmdline.py
 ${PYSITELIB}/libmproxy/cmdline.pyc
 ${PYSITELIB}/libmproxy/cmdline.pyo
@@ -37,6 +34,7 @@
 ${PYSITELIB}/libmproxy/console/palettes.py
 ${PYSITELIB}/libmproxy/console/palettes.pyc
 ${PYSITELIB}/libmproxy/console/palettes.pyo
+${PYSITELIB}/libmproxy/contrib/README
 ${PYSITELIB}/libmproxy/contrib/__init__.py
 ${PYSITELIB}/libmproxy/contrib/__init__.pyc
 ${PYSITELIB}/libmproxy/contrib/__init__.pyo
@@ -46,6 +44,7 @@
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/__init__.py
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/__init__.pyc
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/__init__.pyo
+${PYSITELIB}/libmproxy/contrib/jsbeautifier/unpackers/README.specs.mkd
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/unpackers/__init__.py
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/unpackers/__init__.pyc
 ${PYSITELIB}/libmproxy/contrib/jsbeautifier/unpackers/__init__.pyo
@@ -67,6 +66,27 @@
 ${PYSITELIB}/libmproxy/contrib/pyparsing.py
 ${PYSITELIB}/libmproxy/contrib/pyparsing.pyc
 ${PYSITELIB}/libmproxy/contrib/pyparsing.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/ASCommandResponse.py
+${PYSITELIB}/libmproxy/contrib/wbxml/ASCommandResponse.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/ASCommandResponse.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXML.py
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXML.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXML.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLByteQueue.py
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLByteQueue.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLByteQueue.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLCodePage.py
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLCodePage.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/ASWBXMLCodePage.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/GlobalTokens.py
+${PYSITELIB}/libmproxy/contrib/wbxml/GlobalTokens.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/GlobalTokens.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/InvalidDataException.py
+${PYSITELIB}/libmproxy/contrib/wbxml/InvalidDataException.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/InvalidDataException.pyo
+${PYSITELIB}/libmproxy/contrib/wbxml/__init__.py
+${PYSITELIB}/libmproxy/contrib/wbxml/__init__.pyc
+${PYSITELIB}/libmproxy/contrib/wbxml/__init__.pyo
 ${PYSITELIB}/libmproxy/controller.py
 ${PYSITELIB}/libmproxy/controller.pyc
 ${PYSITELIB}/libmproxy/controller.pyo
@@ -82,6 +102,28 @@
 ${PYSITELIB}/libmproxy/flow.py
 ${PYSITELIB}/libmproxy/flow.pyc
 ${PYSITELIB}/libmproxy/flow.pyo
+${PYSITELIB}/libmproxy/main.py
+${PYSITELIB}/libmproxy/main.pyc
+${PYSITELIB}/libmproxy/main.pyo
+${PYSITELIB}/libmproxy/onboarding/__init__.py
+${PYSITELIB}/libmproxy/onboarding/__init__.pyc
+${PYSITELIB}/libmproxy/onboarding/__init__.pyo
+${PYSITELIB}/libmproxy/onboarding/app.py
+${PYSITELIB}/libmproxy/onboarding/app.pyc
+${PYSITELIB}/libmproxy/onboarding/app.pyo
+${PYSITELIB}/libmproxy/onboarding/static/bootstrap.min.css
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/css/font-awesome.css
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/css/font-awesome.min.css
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/fonts/FontAwesome.otf
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/fonts/fontawesome-webfont.eot
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/fonts/fontawesome-webfont.svg
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/fonts/fontawesome-webfont.ttf
+${PYSITELIB}/libmproxy/onboarding/static/fontawesome/fonts/fontawesome-webfont.woff
+${PYSITELIB}/libmproxy/onboarding/static/mitmproxy.css
+${PYSITELIB}/libmproxy/onboarding/static/mitmproxy.js.map
+${PYSITELIB}/libmproxy/onboarding/templates/frame.html
+${PYSITELIB}/libmproxy/onboarding/templates/index.html
+${PYSITELIB}/libmproxy/onboarding/templates/layout.html
 ${PYSITELIB}/libmproxy/platform/__init__.py
 ${PYSITELIB}/libmproxy/platform/__init__.pyc
 ${PYSITELIB}/libmproxy/platform/__init__.pyo
@@ -94,12 +136,45 @@
 ${PYSITELIB}/libmproxy/platform/pf.py
 ${PYSITELIB}/libmproxy/platform/pf.pyc
 ${PYSITELIB}/libmproxy/platform/pf.pyo
-${PYSITELIB}/libmproxy/proxy.py
-${PYSITELIB}/libmproxy/proxy.pyc
-${PYSITELIB}/libmproxy/proxy.pyo
+${PYSITELIB}/libmproxy/platform/windows.py
+${PYSITELIB}/libmproxy/platform/windows.pyc
+${PYSITELIB}/libmproxy/platform/windows.pyo
+${PYSITELIB}/libmproxy/protocol/__init__.py
+${PYSITELIB}/libmproxy/protocol/__init__.pyc
+${PYSITELIB}/libmproxy/protocol/__init__.pyo
+${PYSITELIB}/libmproxy/protocol/handle.py
+${PYSITELIB}/libmproxy/protocol/handle.pyc
+${PYSITELIB}/libmproxy/protocol/handle.pyo
+${PYSITELIB}/libmproxy/protocol/http.py
+${PYSITELIB}/libmproxy/protocol/http.pyc
+${PYSITELIB}/libmproxy/protocol/http.pyo
+${PYSITELIB}/libmproxy/protocol/primitives.py
+${PYSITELIB}/libmproxy/protocol/primitives.pyc
+${PYSITELIB}/libmproxy/protocol/primitives.pyo
+${PYSITELIB}/libmproxy/protocol/tcp.py
+${PYSITELIB}/libmproxy/protocol/tcp.pyc
+${PYSITELIB}/libmproxy/protocol/tcp.pyo
+${PYSITELIB}/libmproxy/proxy/__init__.py
+${PYSITELIB}/libmproxy/proxy/__init__.pyc
+${PYSITELIB}/libmproxy/proxy/__init__.pyo
+${PYSITELIB}/libmproxy/proxy/config.py
+${PYSITELIB}/libmproxy/proxy/config.pyc
+${PYSITELIB}/libmproxy/proxy/config.pyo
+${PYSITELIB}/libmproxy/proxy/connection.py
+${PYSITELIB}/libmproxy/proxy/connection.pyc
+${PYSITELIB}/libmproxy/proxy/connection.pyo
+${PYSITELIB}/libmproxy/proxy/primitives.py
+${PYSITELIB}/libmproxy/proxy/primitives.pyc
+${PYSITELIB}/libmproxy/proxy/primitives.pyo
+${PYSITELIB}/libmproxy/proxy/server.py
+${PYSITELIB}/libmproxy/proxy/server.pyc
+${PYSITELIB}/libmproxy/proxy/server.pyo
 ${PYSITELIB}/libmproxy/script.py
 ${PYSITELIB}/libmproxy/script.pyc
 ${PYSITELIB}/libmproxy/script.pyo
+${PYSITELIB}/libmproxy/stateobject.py
+${PYSITELIB}/libmproxy/stateobject.pyc
+${PYSITELIB}/libmproxy/stateobject.pyo
 ${PYSITELIB}/libmproxy/tnetstring.py
 ${PYSITELIB}/libmproxy/tnetstring.pyc
 ${PYSITELIB}/libmproxy/tnetstring.pyo
@@ -109,4 +184,38 @@
 ${PYSITELIB}/libmproxy/version.py
 ${PYSITELIB}/libmproxy/version.pyc
 ${PYSITELIB}/libmproxy/version.pyo
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/libmproxy/web/__init__.py
+${PYSITELIB}/libmproxy/web/__init__.pyc
+${PYSITELIB}/libmproxy/web/__init__.pyo
+${PYSITELIB}/libmproxy/web/app.py
+${PYSITELIB}/libmproxy/web/app.pyc
+${PYSITELIB}/libmproxy/web/app.pyo
+${PYSITELIB}/libmproxy/web/static/css/app.css
+${PYSITELIB}/libmproxy/web/static/css/app.css.map
+${PYSITELIB}/libmproxy/web/static/css/vendor.css
+${PYSITELIB}/libmproxy/web/static/css/vendor.css.map
+${PYSITELIB}/libmproxy/web/static/fonts/fontawesome-webfont.eot
+${PYSITELIB}/libmproxy/web/static/fonts/fontawesome-webfont.svg
+${PYSITELIB}/libmproxy/web/static/fonts/fontawesome-webfont.ttf
+${PYSITELIB}/libmproxy/web/static/fonts/fontawesome-webfont.woff
+${PYSITELIB}/libmproxy/web/static/images/chrome-devtools/LICENSE
+${PYSITELIB}/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png
+${PYSITELIB}/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png
+${PYSITELIB}/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png
+${PYSITELIB}/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceExecutableIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceFlashIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceImageIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceJavaIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceNotModifiedIcon.png
+${PYSITELIB}/libmproxy/web/static/images/resourceRedirectIcon.png
+${PYSITELIB}/libmproxy/web/static/js/app.js
+${PYSITELIB}/libmproxy/web/static/js/app.js.map
+${PYSITELIB}/libmproxy/web/static/js/vendor.js
+${PYSITELIB}/libmproxy/web/static/js/vendor.js.map
+${PYSITELIB}/libmproxy/web/templates/index.html
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/requires.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/mitmproxy/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	15 May 2013 22:39:26 -0000	1.1
+++ distinfo	7 Mar 2015 13:11:41 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1 2013/05/15 22:39:26 wiz Exp $
 
-SHA1 (mitmproxy-0.9.tar.gz) = fff2765dc814e23767381efc3b27aa2f1dbaf0b1
-RMD160 (mitmproxy-0.9.tar.gz) = 1b075bc605932df6e4eb21e45a133722a39ec18b
-Size (mitmproxy-0.9.tar.gz) = 3116986 bytes
+SHA1 (mitmproxy-0.11.3.tar.gz) = e36e7c8d50983d2ae5a4038da278cb65fb4ea2ad
+RMD160 (mitmproxy-0.11.3.tar.gz) = 14700b3ba104c4ea76c098d708d6c7a349020f04
+Size (mitmproxy-0.11.3.tar.gz) = 6172130 bytes

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index