b5a95594cf
pkgsrc changes: - Instead of maintaining patches/patch-setup.py rewrite the logic to avoid too strict version dependencies via SUBST. Changes: 31 July 2018: mitmproxy 4.0.4 * Security: Protect mitmweb against DNS rebinding. (CVE-2018-14505, @atx) * Reduce certificate lifetime to two years to be conformant with the current CA/Browser Forum Baseline Requirements. (@muffl0n) (https://cabforum.org/2017/03/17/ballot-193-825-day-certificate-lifetimes/) * Update cryptography to version 2.3. 15 June 2018: mitmproxy 4.0.3 * Add support for IPv6 transparent mode on Windows (#3174) * Add Docker images for ARMv7 - Raspberry Pi (#3190) * Major overhaul of our release workflow - you probably won't notice it, but for us it's a big thing! * Fix the Python version detection on Python 3.5, we now show a more intuitive error message (#3188) * Fix application shutdown on Windows (#3172) * Fix IPv6 scope suffixes in block addon (#3164) * Fix options update when added (#3157) * Fix "Edit Flow" button in mitmweb (#3136) 15 June 2018: mitmproxy 4.0.2 * Skipped!
46 lines
2 KiB
Makefile
46 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2018/08/09 11:51:41 leot Exp $
|
|
|
|
DISTNAME= mitmproxy-4.0.4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mitmproxy/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://mitmproxy.org/
|
|
COMMENT= Interactive console program for inspecting and editing traffic flows
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.5:../../security/py-OpenSSL
|
|
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.3.1:../../security/py-asn1
|
|
DEPENDS+= ${PYPKGPREFIX}-blinker>=1.4:../../devel/py-blinker
|
|
DEPENDS+= ${PYPKGPREFIX}-brotlipy>=0.7.0:../../archivers/py-brotlipy
|
|
DEPENDS+= ${PYPKGPREFIX}-certifi>=2015.11.20.1:../../security/py-certifi
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=6.2:../../devel/py-click
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.1.4:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-h2>=3.0.1:../../www/py-h2
|
|
DEPENDS+= ${PYPKGPREFIX}-hyperframe>=5.1.0:../../www/py-hyperframe
|
|
DEPENDS+= ${PYPKGPREFIX}-kaitaistruct>=0.7:../../devel/py-kaitaistruct
|
|
DEPENDS+= ${PYPKGPREFIX}-ldap3>=2.5:../../databases/py-ldap3
|
|
DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6.5:../../security/py-passlib
|
|
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.1.3:../../devel/py-pyparsing
|
|
DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.6.0:../../x11/py-pyperclip
|
|
DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.13.2:../../devel/py-ruamel-yaml
|
|
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.5.4:../../devel/py-sortedcontainers
|
|
DEPENDS+= ${PYPKGPREFIX}-tornado>=4.3.0:../../www/py-tornado
|
|
DEPENDS+= ${PYPKGPREFIX}-urwid>=2.0.1:../../devel/py-urwid
|
|
DEPENDS+= ${PYPKGPREFIX}-wsproto>=0.11.0:../../www/py-wsproto
|
|
|
|
SUBST_CLASSES+= setuppyversions
|
|
SUBST_STAGE.setuppyversions= pre-configure
|
|
SUBST_MESSAGE.setuppyversions= Avoid too strict version requirements
|
|
SUBST_FILES.setuppyversions= setup.py
|
|
SUBST_SED.setuppyversions= -E -e '/>=/ s/, *<[^"]+//g'
|
|
|
|
REPLACE_SH+= mitmproxy/contrib/kaitaistruct/make.sh
|
|
|
|
USE_LANGUAGES= # none
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 34 35
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|