I looked at the older versions and distname is pyOpenSSL, so in newer 
version they changed it to all lowercase.

On 2/13/25 18:05, Yusuf Yaman wrote:
> Hi,
>
> I changed distname to all lowercase and it worked for me.
>
> -DISTNAME=      pyOpenSSL-${PORTVERSION}
> +DISTNAME=      pyopenssl-${PORTVERSION}
>
>
> see pypi page and download files section, there is showing the distfile
> name.
>
> On 2/13/25 18:01, Yasuhiro Kimura wrote:
>> Hello,
>>
>> New version of certbot 3.2.0 is released. I tried to update related
>> ports and found 3.20 requires pyOpenSSL 25.0.0 or later. Since current
>> version of security/py-openssl is 24.1.0, I decided to update it
>> first. I changed DISTVERSION to 25.0.0 in security/py-openssl/Makefile
>> and tried to update distinfo with `make makesum`. But it fails because
>> of download failure of distfile as following.
>>
>> % pwd
>> /usr/ports/security/py-openssl
>> % git diff
>> diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
>> index 19e354cf6b4a..7cefad155281 100644
>> --- a/security/py-openssl/Makefile
>> +++ b/security/py-openssl/Makefile
>> @@ -1,5 +1,5 @@
>>    PORTNAME=      openssl
>> -PORTVERSION=   24.1.0
>> +PORTVERSION=   25.0.0
>>    PORTEPOCH=     1
>>    CATEGORIES=    security python
>>    MASTER_SITES=  PYPI
>> % make makesum
>> ===>  License APACHE20 accepted by the user
>> ===>  License APACHE20 accepted by the user
>> ===>   py311-openssl-25.0.0,1 depends on file: /usr/local/sbin/pkg - found
>> => pyOpenSSL-25.0.0.tar.gz doesn't seem to exist in 
>> /net/freebsd/ports/distfiles/.
>> => Attempting to fetch 
>> https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-25.0.0.tar.gz
>> fetch: 
>> https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-25.0.0.tar.gz:
>>  Not Found
>> => Attempting to fetch 
>> https://pypi.org/packages/source/p/pyOpenSSL/pyOpenSSL-25.0.0.tar.gz
>> fetch: https://pypi.org/packages/source/p/pyOpenSSL/pyOpenSSL-25.0.0.tar.gz: 
>> Not Found
>> => Attempting to fetch 
>> http://distcache.FreeBSD.org/ports-distfiles/pyOpenSSL-25.0.0.tar.gz
>> fetch: http://distcache.FreeBSD.org/ports-distfiles/pyOpenSSL-25.0.0.tar.gz: 
>> Not Found
>> => Couldn't fetch it - please try to retrieve this
>> => port manually into /net/freebsd/ports/distfiles/ and try again.
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/ports/security/py-openssl
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/ports/security/py-openssl
>> %
>>
>> IIRC such download failure also happened when I tried to update
>> certbot ports before. So this might be something that happens from
>> time to time.
>>
>> Then what should I do to fix it? Should I report it upstream (author)
>> or PyPI? Please let me know if soneone knows.
>>
>> Regards.
>>
>> ---
>> Yasuhiro Kimura
>>


Reply via email to