Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 21:41:51 GMT
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 761dc8a9f4dd - main - net/py-urllib3: disable SSL by default
Message-ID:  <202309252141.38PLfp0B022193@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=761dc8a9f4ddef2adad122a57a477e65457582fb

commit 761dc8a9f4ddef2adad122a57a477e65457582fb
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-09-25 21:27:08 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-09-25 21:27:08 +0000

    net/py-urllib3: disable SSL by default
    
    The [secure] extra (provided by the SSL option) is deprecated:
    https://github.com/urllib3/urllib3/issues/2680
    ...but the pyOpenSSL bit is un-deprecated:
    https://github.com/urllib3/urllib3/issues/3126
    
    Given that even pyOpenSSL is regarded as an optional third-party
    module, disable by default. By side effect, reduces build load,
    induced by mainline py-cryptography's required Rust code, for those
    ports using sphinx to build documentation, as this is part of
    sphinx's dependency tree.
---
 net/py-urllib3/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile
index 8d1148d22a44..e4cb36bc83c4 100644
--- a/net/py-urllib3/Makefile
+++ b/net/py-urllib3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	urllib3
 PORTVERSION=	1.26.16
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI \
@@ -35,7 +36,7 @@ PYTEST_IGNORED_TESTS=	test_ssl_read_timeout
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	BROTLI SOCKS SSL
-OPTIONS_DEFAULT=SOCKS SSL
+OPTIONS_DEFAULT=SOCKS
 
 BROTLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR}
 SOCKS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6<2.0:net/py-pysocks@${PY_FLAVOR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309252141.38PLfp0B022193>