Re: git: 0e63dc863448 - main - security/py-openssl: restore previous version

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Thu, 24 Mar 2022 12:03:45 UTC
Am 24.03.22 um 12:29 schrieb Sofian Brabez:
> The branch main has been updated by sbz:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=0e63dc8634485b1b16e1b11e56580b482cc5c3bd
>
> commit 0e63dc8634485b1b16e1b11e56580b482cc5c3bd
> Author:     Sofian Brabez <sbz@FreeBSD.org>
> AuthorDate: 2022-03-24 11:10:59 +0000
> Commit:     Sofian Brabez <sbz@FreeBSD.org>
> CommitDate: 2022-03-24 11:27:58 +0000
>
>      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/Makefile | 2 +-
>   security/py-openssl/distinfo | 6 +++---
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
> index 79371eeebbd4..c708b56d4d53 100644
> --- a/security/py-openssl/Makefile
> +++ b/security/py-openssl/Makefile
> @@ -1,7 +1,7 @@
>   # Created by: ijliao
>   
>   PORTNAME=	openssl
> -PORTVERSION=	22.0.0
> +PORTVERSION=	20.0.1


Hi,
I'm not sure, but shouldn't "PORTEPOCH= 1" be set here now?


Greetings
Jochen

>   CATEGORIES=	security python
>   MASTER_SITES=	CHEESESHOP
>   PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> diff --git a/security/py-openssl/distinfo b/security/py-openssl/distinfo
> index 5e3728a1af4f..a13e9b15cf52 100644
> --- a/security/py-openssl/distinfo
> +++ b/security/py-openssl/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1647962240
> -SHA256 (pyOpenSSL-22.0.0.tar.gz) = 660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf
> -SIZE (pyOpenSSL-22.0.0.tar.gz) = 178438
> +TIMESTAMP = 1648120923
> +SHA256 (pyOpenSSL-20.0.1.tar.gz) = 4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
> +SIZE (pyOpenSSL-20.0.1.tar.gz) = 173736