security/py-openssl: Add devel/py-typing-extensions to RUN_DEPENDS
Unless typing-extensions is installed, runtime error happens as
following.
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 5, in <module>
from certbot.main import main
File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, in
<module>
from certbot._internal import main as internal_main
File "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", line
20, in <module>
import josepy as jose
File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", line 41, in
<module>
from josepy.json_util import (
File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", line 25,
in <module>
(Only the first 15 lines of the commit message are shown above )
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}
- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with
USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk
PR: 273727
Approved by: tcberner (portmgr)
Exp-run by: antoine
security/py-openssl: Update to 23.2.0
This patch combines the efforts from the people invloved in the PR.
I just do the integrating and testing.
PR: 266680
Approved by: sbz (earlier version)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39037
framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a
rust dependency.
PR: 254853
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
security/py-openssl: update to 21.0.0
this is to make devel/py-twisted work
(from context of net-p2p/deluge)
PR: 264970
Approved by: sbz (maintainer timeout, two weeks)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
security/py-openssl: restore previous version
py-openssl new version rely on a minimum version of
security/py-cryptography which is not yet available in the tree. This
cause problems on consumers that fails at runtime due to unsatisfied
pkg_resources requirement
pkg_resources.ContextualVersionConflict: (cryptography 3.3.2
(/usr/local/lib/python3.10/site-packages),
Requirement.parse('cryptography>=35.0'), {'PyOpenSSL'})
Reported by: yasu
security/py-openssl: unbreak run for consumers
Partially revert r566075 to previous py-openssl release only for
${OSVERSION} < 1200085 and base OpenSSL 1.0.2 with PORTEPOCH bump
This step is needed because since 20.0 release py-openssl have dropped off
support
for openssl < 1.1.0 which still in base fo FreeBSD 11.4+ branch
Due to dependency on recent cryptography, bump py-cryptography to 3.3.2 release
under same conditions as py-openssl. 3.3.2 was last release which not requred
Rust to build
With hat: ports-secteam
Pointy hat to: sbz (for skip dependencies verification and no reaction to
complains)
Reported by: many via ML
security/py-openssl: Update to 19.0.0
While I'm here:
* Improve the "do-test" target to easen future QA and add the required
dependencies for it.
* Sort variables a bit according to the PHB to pet portclippy/portlint.
Changelog:
Backward-incompatible changes:
* X509Store.add_cert no longer raises an error if one add a duplicate cert
* pyOpenSSL now works with OpenSSL 1.1.1
* pyOpenSSL now handles NUL bytes in X509Name.get_components()
PR: 237006
Submitted by: timp87@gmail.com (based on)
Approved by: sbz (maintainer)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
security/py-openssl: Fix RUN_DEPENDS
- Fix RUN_DEPENDS minimum version of cryptography to match that in setup.py [1]
- Remove EXAMPLESDIR, already set and noop'd by USE_PYTHON=concurrent
PR: 222520 [1]
Submitted by: Yasuhiro KIMURA <yasu utahime org> [1]
Approved by: portmgr (blanket)
[NEW] security/py3-openssl: Create Python 3.x version of port
The latest www/py-requests update [1] unbundled its dependencies, now
requiring chardet, idna, urllib3 and certifi from ports.
www/py3-requests port was not tested during QA, which would have highlighted
the need for many new py3-* ports (and their dependencies).
This change creates one of those ports.
[1] https://svnweb.freebsd.org/changeset/ports/442565
PR: 219833
- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch
PR: ports/163521
Submitted by: Pedro Giffuni <pfg apache.org>
Hat: portmgr
Exp run by: pav
Fix an issue in the py-openssl package that can lead to
interpreter crash with the following error message:
Fatal Python error: ceval: tstate mix-up
Abort trap: 6 (core dumped)
Detailed explanation and analysis can be found here:
https://sourceforge.net/tracker2/?func=detail&aid=2543118&group_id=31249&atid=401760
Bump PORTREVISION.
Approved by: MAINTAINER
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav