Hi, this is an update for Lagrange to 1.17.5. The patch got removed as it was merged upstream.
Some testing done on amd64. No issues found. portcheck and 'make port-lib-depends-check' are happy. Changes listed here [1]. Comments? Thanks! [1] https://github.com/skyjake/lagrange/releases Index: Makefile =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/net/lagrange/Makefile,v retrieving revision 1.72 diff -u -p -u -p -r1.72 Makefile --- Makefile 22 Nov 2023 19:01:46 -0000 1.72 +++ Makefile 6 Dec 2023 16:06:51 -0000 @@ -1,5 +1,5 @@ COMMENT = SDL multi protocol navigator -VERSION = 1.17.4 +VERSION = 1.17.5 DISTNAME = lagrange-${VERSION} Index: distinfo =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/net/lagrange/distinfo,v retrieving revision 1.59 diff -u -p -u -p -r1.59 distinfo --- distinfo 22 Nov 2023 19:01:46 -0000 1.59 +++ distinfo 6 Dec 2023 16:06:51 -0000 @@ -1,2 +1,2 @@ -SHA256 (lagrange-1.17.4.tar.gz) = jim/TLrNxnvRKL3EGkbjsLnVSuCvgoggkPCuYyxnjdo= -SIZE (lagrange-1.17.4.tar.gz) = 10209579 +SHA256 (lagrange-1.17.5.tar.gz) = Aa4gZqaGXw+GHF4VnxkusSDBs2sE0DLNC/zy/8vZkOA= +SIZE (lagrange-1.17.5.tar.gz) = 10213173 Index: patches/patch-lib_the_Foundation_src_tlsrequest_c =================================================================== RCS file: patches/patch-lib_the_Foundation_src_tlsrequest_c diff -N patches/patch-lib_the_Foundation_src_tlsrequest_c --- patches/patch-lib_the_Foundation_src_tlsrequest_c 18 Nov 2023 08:38:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,29 +0,0 @@ -These LIBRESSL_VERSION_NUMBER should be removed unless they really -want to care about unsupported LibreSSL. - -hunk 1: we added these constants specifically for this software -hunk 2: this has been available since LibreSSL 3.6. - -https://codeberg.org/skyjake/the_Foundation/pulls/16 - -Index: lib/the_Foundation/src/tlsrequest.c ---- lib/the_Foundation/src/tlsrequest.c.orig -+++ lib/the_Foundation/src/tlsrequest.c -@@ -452,7 +452,7 @@ iTlsCertificate *newSelfSignedRSA_TlsCertificate( - d->pkey = EVP_PKEY_new(); - EVP_PKEY_assign_RSA(d->pkey, rsa); - X509_set_pubkey(d->cert, d->pkey); --#if !defined (LIBRESSL_VERSION_NUMBER) -+#if !defined (LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x3060000fL - /* Random serial number. */ { - BIGNUM *big = BN_new(); - if (BN_rand(big, 64, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) { -@@ -554,7 +554,7 @@ void validUntil_TlsCertificate(const iTlsCertificate * - iZap(*untilDate_out); - if (d->cert) { - struct tm time; --#if defined (LIBRESSL_VERSION_NUMBER) -+#if defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3060000fL - const ASN1_TIME *notAfter = X509_get0_notAfter(d->cert); - ASN1_time_parse((const char *) ASN1_STRING_get0_data(notAfter), - ASN1_STRING_length(notAfter), -- greetings, Florian Viehweger