pkgsrc/net/mitmproxy/Makefile
leot c3ccbbc4d3 mitmproxy: Update to 5.0.0
Changes:
5.0.0
-----
** Major Changes **
  * Added new Table UI (@Jessonsotoventura)
  * Added EKU extension to certificates. This fixes support for macOS Catalina (@vin01)

** Security Fixes **
  * Fixed command injection vulnerabilities when exporting flows as curl/httpie commands (@cript0nauta)
  * Do not echo unsanitized user input in HTTP error responses (@fimad)

** Full Changelog **
  * Moved to Github CI for Continuous Integration, dropping support for old Linux and macOS releases. (#3728)
  * Vastly improved command parsing, in particular for setting flow filters (@typoon)
  * Added a new flow export for raw responses (@mckeimic)
  * URLs are now edited in an external editor (@Jessonsotoventura)
  * mitmproxy now has a command history (@typoon)
  * Added terminal like keyboard shortcuts for the command bar (ctrl+w, ctrl+a, ctrl+f, ...) (@typoon)
  * Fixed issue with improper handling of non-ascii characters in URLs (@rjt-gupta)
  * Filtering can now use unicode characters (@rjt-gupta)
  * Fixed issue with user keybindings not being able to override default keybindings
  * Improved installation instructions
  * Added support for IPV6-only environments (@sethb157)
  * Fixed bug with server replay (@rjt-gupta)
  * Fixed issue with duplicate error responses (@ccssrryy)
  * Users can now set a specific external editor using $MITMPROXY_EDITOR (@rjt-gupta)
  * Config file can now be called `config.yml` or `config.yaml` (@ylmrx)
  * Fixed crash on `view.focus.[next|prev]` (@ylmrx)
  * Updated documentation to help using mitmproxy certificate on Android (@jannst)
  * Added support to parse IPv6 entries from `pfctl` on MacOS. (@tomlabaude)
  * Fixed instructions on how to build the documentation (@jannst)
  * Added a new `--allow-hosts` option (@pierlon)
  * Added support for zstd content-encoding (@tsaaristo)
  * Fixed issue where the replay server would corrupt the Date header (@tonyb486)
  * Improve speed for WebSocket interception (@MathieuBordere)
  * Fixed issue with parsing JPEG files. (@lusceu)
  * Improve example code style (@BoboTiG)
  * Fixed issue converting void responses to HAR (@worldmind)
  * Color coded http status codes in mitmweb (@arun-94)
  * Added organization to generated certificates (@Abcdefghijklmnopqrstuvwxyzxyz)
  * Errors are now displayed on sys.stderr (@JessicaFavin)
  * Fixed issue with replay timestamps (@rjt-gupta)
  * Fixed copying in mitmweb on macOS (@XZzYassin)
2019-12-17 10:21:51 +00:00

53 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2019/12/17 10:21:51 leot Exp $
DISTNAME= mitmproxy-5.0.0
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>=19.0:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.3.1:../../security/py-asn1
DEPENDS+= ${PYPKGPREFIX}-blinker>=1.4:../../devel/py-blinker
DEPENDS+= ${PYPKGPREFIX}-brotli>=1.0:../../archivers/py-brotli
DEPENDS+= ${PYPKGPREFIX}-certifi>=2019.9.11:../../security/py-certifi
DEPENDS+= ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.1.4:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-flask>=1.1.1:../../www/py-flask
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.6.1:../../databases/py-ldap3
DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6.5:../../security/py-passlib
DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.6.0:../../devel/py-protobuf
DEPENDS+= ${PYPKGPREFIX}-publicsuffix2>=2.20190812:../../www/py-publicsuffix2
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.4.2:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.6.0:../../x11/py-pyperclip
DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.16:../../devel/py-ruamel-yaml
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../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.14.0:../../www/py-wsproto
DEPENDS+= ${PYPKGPREFIX}-zstandard>=0.11.0:../../archivers/py-zstandard
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'
SUBST_SED.setuppyversions+= -E -e '/==[0-9.]+",/ s/==/>=/g'
REPLACE_SH+= mitmproxy/contrib/kaitaistruct/make.sh
USE_LANGUAGES= # none
# Only for Python 3.x
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"