aboutsummaryrefslogtreecommitdiff
path: root/security/py-openssl
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2021-02-25 13:32:25 +0000
committerDima Panov <fluffy@FreeBSD.org>2021-02-25 13:32:25 +0000
commitd2a8beaf97588d0b5b1ce50d33c04da23fb4e071 (patch)
tree6971854bb9f0011967ebe36175ad19338b9cc60b /security/py-openssl
parent4b8b16c513c008d6d42e661d8ef9b9e0377dd7af (diff)
downloadports-d2a8beaf97588d0b5b1ce50d33c04da23fb4e071.tar.gz
ports-d2a8beaf97588d0b5b1ce50d33c04da23fb4e071.zip
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
Notes
Notes: svn path=/head/; revision=566534
Diffstat (limited to 'security/py-openssl')
-rw-r--r--security/py-openssl/Makefile15
-rw-r--r--security/py-openssl/distinfo2
2 files changed, 17 insertions, 0 deletions
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index 23fef66fd77d..294d280f6e22 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -29,6 +29,21 @@ NO_ARCH= yes
CPE_VENDOR= jean-paul_calderone
CPE_PRODUCT= py${PORTNAME}
+# Use options.mk to use OSVERSION and handle redefine PORTEPOCH
+.include <bsd.port.options.mk>
+
+# We need to keep old py-cryptography and py-penssl for 11.x release
+# due to outdated OpenSSL version in base
+.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == "base"
+. if ${OSVERSION} >= 1103500 && ${OSVERSION} < 1200085
+# 1103500 352193 2019-09-10 11.3-STABLE got OpenSSL 1.0.2t
+# 1200085 339270 2018-10-19 12.0-STABLE got OpenSSL 1.1.1
+#.sinclude "${.CURDIR}/Makefile.${OPSYS}-${OSREL:R}"
+PORTVERSION= 19.1.0
+PORTEPOCH= 1
+. endif
+.endif
+
# These tests will be skipped due the following reasons:
#
# * test_connect_refused: Avoid stalling in build environments that don't have
diff --git a/security/py-openssl/distinfo b/security/py-openssl/distinfo
index a2cf9da1ff24..5fe3a9600094 100644
--- a/security/py-openssl/distinfo
+++ b/security/py-openssl/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1613747780
+SHA256 (pyOpenSSL-19.1.0.tar.gz) = 9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507
+SIZE (pyOpenSSL-19.1.0.tar.gz) = 160510
SHA256 (pyOpenSSL-20.0.1.tar.gz) = 4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
SIZE (pyOpenSSL-20.0.1.tar.gz) = 173736