summaryrefslogtreecommitdiff
path: root/net/mitmproxy/patches
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-04-21 08:20:45 +0000
committerleot <leot@pkgsrc.org>2016-04-21 08:20:45 +0000
commit6ba1ec27f0d83ae85e7433d4a82ab641705c7f16 (patch)
tree32d96cd2ff8aa666051d36434e4710f3f2c5a8ac /net/mitmproxy/patches
parent8777dac6d0a5a85216e2657a4974994fead2a64c (diff)
downloadpkgsrc-6ba1ec27f0d83ae85e7433d4a82ab641705c7f16.tar.gz
Update net/mitmproxy to 0.17
Changes: 9 April 2016: mitmproxy 0.17 * Simplify repository and release structure. mitmproxy now comes as a single package, including netlib and pathod. * Rename the Python package from libmproxy to mitmproxy. * New option to add server certs to client chain (CVE-2016-2402, John Kozyrakis) * Enable HTTP/2 by default (Thomas Kriechbaumer) * Improved HAR extractor (Shadab Zafar) * Add icon for OSX and Windows binaries * Add content view for query parameters (Will Coster) * Initial work on Python 3 compatibility * locust.io export (Zohar Lorberbaum) * Fix XSS vulnerability in HTTP errors (Will Coster) * Numerous bugfixes and minor improvements
Diffstat (limited to 'net/mitmproxy/patches')
-rw-r--r--net/mitmproxy/patches/patch-setup.py109
1 files changed, 66 insertions, 43 deletions
diff --git a/net/mitmproxy/patches/patch-setup.py b/net/mitmproxy/patches/patch-setup.py
index b6e447aa648..3ca534ed279 100644
--- a/net/mitmproxy/patches/patch-setup.py
+++ b/net/mitmproxy/patches/patch-setup.py
@@ -1,90 +1,113 @@
-$NetBSD: patch-setup.py,v 1.3 2016/02/16 13:54:00 leot Exp $
+$NetBSD: patch-setup.py,v 1.4 2016/04/21 08:20:45 leot Exp $
Avoid too strict version requirements.
---- setup.py.orig 2016-02-14 16:04:47.000000000 +0000
+--- setup.py.orig 2016-04-10 00:43:47.000000000 +0000
+++ setup.py
-@@ -51,19 +51,19 @@ setup(
+@@ -59,64 +59,64 @@ setup(
+ # https://packaging.python.org/en/latest/requirements/#install-requires
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[
- "netlib>={}, <{}".format(version.MINORVERSION, version.NEXT_MINORVERSION),
-- "h2>=2.1.0, <2.2",
-- "tornado>=4.3, <4.4",
-- "configargparse>=0.10, <0.11",
-- "pyperclip>=1.5.22, <1.6",
+- "backports.ssl_match_hostname>=3.5.0.1, <3.6",
- "blinker>=1.4, <1.5",
-- "pyparsing>=2.1,<2.2",
-- "html2text==2016.1.8",
+- "click>=6.2, <7.0",
++ "backports.ssl_match_hostname>=3.5.0.1",
++ "blinker>=1.4",
++ "click>=6.2",
+ "certifi>=2015.11.20.1", # no semver here - this should always be on the last release!
+- "configargparse>=0.10, <0.11",
- "construct>=2.5.2, <2.6",
+- "cryptography>=1.3,<1.4",
+- "Flask>=0.10.1, <0.11",
+- "h2>=2.1.2, <3.0",
+- "hpack>=2.1.0, <3.0",
+- "html2text>=2016.1.8, <=2016.4.2",
+- "hyperframe>=3.2.0, <4.0",
+- "lxml>=3.5.0, <3.7",
+- "Pillow>=3.2, <3.3",
+- "passlib>=1.6.5, <1.7",
+- "pyasn1>=0.1.9, <0.2",
+- "pyOpenSSL>=16.0, <17.0",
+- "pyparsing>=2.1,<2.2",
+- "pyperclip>=1.5.22, <1.6",
+- "requests>=2.9.1, <2.10",
- "six>=1.10, <1.11",
-- "Pillow>=3.1, <3.2",
-- "watchdog>=0.8.3, <0.9",
-- "click>=6.2, <7.0",
+- "tornado>=4.3, <4.4",
- "urwid>=1.3.1, <1.4",
-+ "h2>=2.1.0",
-+ "tornado>=4.3",
+- "watchdog>=0.8.3, <0.9",
+ "configargparse>=0.10",
-+ "pyperclip>=1.5.22",
-+ "blinker>=1.4",
-+ "pyparsing>=2.1",
-+ "html2text>=2016.1.8",
+ "construct>=2.5.2",
++ "cryptography>=1.3",
++ "Flask>=0.10.1",
++ "h2>=2.1.2",
++ "hpack>=2.1.0",
++ "html2text>=2016.1.8",
++ "hyperframe>=3.2.0",
++ "lxml>=3.5.0",
++ "Pillow>=3.2",
++ "passlib>=1.6.5",
++ "pyasn1>=0.1.9",
++ "pyOpenSSL>=16.0",
++ "pyparsing>=2.1",
++ "pyperclip>=1.5.22",
++ "requests>=2.9.1",
+ "six>=1.10",
-+ "Pillow>=3.1",
-+ "watchdog>=0.8.3",
-+ "click>=6.2",
++ "tornado>=4.3",
+ "urwid>=1.3.1",
++ "watchdog>=0.8.3",
],
extras_require={
':sys_platform == "win32"': [
-@@ -71,34 +71,34 @@ setup(
- "lxml==3.4.4", # there are no Windows wheels for newer versions, so we pin this.
+- "pydivert>=0.0.7, <0.1",
++ "pydivert>=0.0.7",
],
':sys_platform != "win32"': [
-- "lxml>=3.5.0, <3.6",
-+ "lxml>=3.5.0",
],
# Do not use a range operator here: https://bitbucket.org/pypa/setuptools/issues/380
# Ubuntu Trusty and other still ship with setuptools < 17.1
':python_version == "2.7"': [
-- "enum34>=1.0.4, <1.2",
+- "enum34>=1.0.4, <2",
+- "ipaddress>=1.0.15, <1.1",
+ "enum34>=1.0.4",
++ "ipaddress>=1.0.15",
],
'dev': [
+- "coveralls>=1.1, <1.2",
- "mock>=1.3.0, <1.4",
-- "pytest>=2.8.7, <2.9",
-- "pytest-xdist>=1.14, <1.15",
+- "pytest>=2.8.7,<2.10",
- "pytest-cov>=2.2.1, <2.3",
- "pytest-timeout>=1.0.0, <1.1",
-- "coveralls>=1.1, <1.2",
+- "pytest-xdist>=1.14, <1.15",
+- "sphinx>=1.3.5, <1.5",
+- "sphinx-autobuild>=0.5.2, <0.7",
+- "sphinxcontrib-documentedlist>=0.3.0, <0.4",
+- "sphinx_rtd_theme>=0.1.9, <0.2",
++ "coveralls>=1.1",
+ "mock>=1.3.0",
+ "pytest>=2.8.7",
-+ "pytest-xdist>=1.14",
+ "pytest-cov>=2.2.1",
+ "pytest-timeout>=1.0.0",
-+ "coveralls>=1.1",
- "pathod>={}, <{}".format(version.MINORVERSION, version.NEXT_MINORVERSION),
-- "sphinx>=1.3.5, <1.4",
-- "sphinx-autobuild>=0.5.2, <0.6",
-- "sphinxcontrib-documentedlist>=0.3.0, <0.4"
++ "pytest-xdist>=1.14",
+ "sphinx>=1.3.5",
+ "sphinx-autobuild>=0.5.2",
+ "sphinxcontrib-documentedlist>=0.3.0",
++ "sphinx_rtd_theme>=0.1.9",
],
'contentviews': [
-- "pyamf>=0.8.0, <0.9",
+- "cssutils>=1.0.1, <1.1",
- "protobuf>=2.6.1, <2.7",
-- "cssutils>=1.0.1, <1.1"
-+ "pyamf>=0.8.0",
-+ "protobuf>=2.6.1",
+- "pyamf>=0.8.0, <0.9",
+ "cssutils>=1.0.1",
++ "protobuf>=2.6.1",
++ "pyamf>=0.8.0",
],
'examples': [
- "pytz==2015.7.0",
-- "harparser>=0.2, <0.3",
- "beautifulsoup4>=4.4.1, <4.5",
-+ "harparser>=0.2",
+- "harparser>=0.2, <0.3",
+- "pytz>=2015.07.0, <=2016.3",
+ "beautifulsoup4>=4.4.1",
++ "harparser>=0.2",
++ "pytz>=2015.07.0",
]
}
)