As current port version 4.0.4 from Jul 31 2018 has not been upgraded since then please upgrade to upstream version 5.3.0 from Nov 1 2020 Thank you
There're some dependencies needed to be upgraded first.
Please post the list of dependencies so that work there can be organized.
ping! Please share your problems that prevent from upgrading the port.
Having a quick look: https://github.com/mitmproxy/mitmproxy/blob/master/setup.py#L66 --> http://dev.freshports.org/security/py-cryptography/ (Just got bumped, this will be a pain to bump) http://dev.freshports.org/www/py-h2/ http://dev.freshports.org/www/py-hyperframe/ http://dev.freshports.org/net/py-ldap3/ http://dev.freshports.org/security/py-openssl/ Pending: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245930 (still too hold however)
6.0.1 was out. I'll take a look...Q__Q
In 6.0.1, the following is the list of dependencies needed to be upgraded. devel/py-protobuf, needs to upgradae to 3.14 devel/py-sortedcontainers, needs to upgradae to 2.3 net/py-ldap3, needs to upgradae to 2.8 net/py-wsproto, needs to upgradae to 1.0 security/py-cryptography, needs to upgradae to 3.3 security/py-openssl, needs to upgradae to 20.0 www/py-h2, needs to upgradae to 4.0 www/py-hyperframe, needs to upgradae to 6.0
Created attachment 221015 [details] www__mitmproxy.diff Attached is patch of mitmproxy 6.0.2.
Please commit as current port version 4.0.4_2 now fails to build: ===> mitmproxy-4.0.4_2 depends on package: py38-hyperframe>=5.1.0<6 - not found ===> Installing existing package /packages/All/py38-hyperframe-6.0.0.txz [12amd64-default-jails-job-07] Installing py38-hyperframe-6.0.0... [12amd64-default-jails-job-07] Extracting py38-hyperframe-6.0.0: .......... done ===> mitmproxy-4.0.4_2 depends on package: py38-hyperframe>=5.1.0<6 - not found *** Error code 1 Stop. make: stopped in /usr/ports/www/mitmproxy =>> Cleaning up wrkdir ===> Cleaning for mitmproxy-4.0.4_2 build of www/mitmproxy | mitmproxy-4.0.4_2 ended at Sat Jan 2 14:06:16 CET 2021 build time: 00:00:29 !!! build failure encountered !!!