aboutsummaryrefslogtreecommitdiff
path: root/www/mitmproxy
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2017-04-28 21:47:58 +0000
committerShaun Amott <shaun@FreeBSD.org>2017-04-28 21:47:58 +0000
commit78c31188f0c88eec1f9f87eb8d8fc755946735db (patch)
tree2fe66ec8c51f8f4b0c35c8bc21789d5e4d4c4223 /www/mitmproxy
parent324a93cc7b015f1f16ab2b0ff0e9a33e8bbc065c (diff)
downloadports-78c31188f0c88eec1f9f87eb8d8fc755946735db.tar.gz
ports-78c31188f0c88eec1f9f87eb8d8fc755946735db.zip
Notes
Diffstat (limited to 'www/mitmproxy')
-rw-r--r--www/mitmproxy/Makefile41
-rw-r--r--www/mitmproxy/distinfo5
2 files changed, 34 insertions, 12 deletions
diff --git a/www/mitmproxy/Makefile b/www/mitmproxy/Makefile
index 64794f987b06..94277e7150f3 100644
--- a/www/mitmproxy/Makefile
+++ b/www/mitmproxy/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= mitmproxy
-PORTVERSION= 0.15
+PORTVERSION= 2.0.1
CATEGORIES= www python
-MASTER_SITES= http://mitmproxy.org/download/
+MASTER_SITES= http://github.com/mitmproxy/mitmproxy/archive/
MAINTAINER= gaod@hychen.org
COMMENT= SSL-capable man-in-the-middle proxy
@@ -12,16 +12,37 @@ COMMENT= SSL-capable man-in-the-middle proxy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1 \
- ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask \
- ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml \
- ${PYTHON_PKGNAMEPREFIX}netlib>0:net/py-netlib \
- ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
- ${PYTHON_PKGNAMEPREFIX}pillow>=2.3.0:graphics/py-pillow \
- ${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid
+DISTFILES= v${PORTVERSION}${EXTRACT_SUFX}
-USES= python
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.2:devel/py3-click \
+ ${PYTHON_PKGNAMEPREFIX}blinker>=1.4:devel/py-blinker \
+ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi \
+ ${PYTHON_PKGNAMEPREFIX}construct28>=2.8:devel/py-construct28 \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3:security/py-cryptography \
+ ${PYTHON_PKGNAMEPREFIX}cssutils>=1.0.1:www/py-cssutils \
+ ${PYTHON_PKGNAMEPREFIX}html2text>=2016.1.8:textproc/py-html2text \
+ ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.5:security/py-passlib \
+ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.9:devel/py-pyasn1 \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl \
+ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.3:devel/py-pyparsing \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.13.2:devel/py-ruamel.yaml \
+ ${PYTHON_PKGNAMEPREFIX}tornado>=4.3:www/py-tornado \
+ ${PYTHON_PKGNAMEPREFIX}urwid>=1.3.1:devel/py-urwid \
+ ${PYTHON_PKGNAMEPREFIX}watchdog>=0.8.3:devel/py-watchdog \
+ ${PYTHON_PKGNAMEPREFIX}brotli>=0.5.1:archivers/py-brotli \
+ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.5.4:devel/py-sortedcontainers \
+ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.5.22:devel/py-pyperclip \
+ ${PYTHON_PKGNAMEPREFIX}hyperframe>=5.0.0:www/py-hyperframe \
+ ${PYTHON_PKGNAMEPREFIX}kaitaistruct>=0.6:devel/py-kaitaistruct \
+ ${PYTHON_PKGNAMEPREFIX}jsbeautifier>=1.6.3:textproc/py-jsbeautifier \
+ ${PYTHON_PKGNAMEPREFIX}h2>=3.0.0:www/py-h2
+
+USES= python:3.5+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
+post-extract:
+ @${REINPLACE_CMD} -e 's/brotlipy/brotli/' -e 's/, <.*",/",/' ${WRKSRC}/setup.py
+
.include <bsd.port.mk>
diff --git a/www/mitmproxy/distinfo b/www/mitmproxy/distinfo
index 1c5c78453122..0af8ed69a582 100644
--- a/www/mitmproxy/distinfo
+++ b/www/mitmproxy/distinfo
@@ -1,2 +1,3 @@
-SHA256 (mitmproxy-0.15.tar.gz) = 3565086026b5ca0b048e826498a9ed9b37489f5b5639a728d280f73783914aac
-SIZE (mitmproxy-0.15.tar.gz) = 1503247
+TIMESTAMP = 1491955196
+SHA256 (v2.0.1.tar.gz) = b0ccc49924762ea78290d62c463be8c041f1837f9005f583ad09c47122547e9d
+SIZE (v2.0.1.tar.gz) = 28498142