On 2021/02/03 10:14, Sven F. wrote: > The main problem is related to some update in libressl regarding > certification validation,
https://marc.info/?l=openbsd-announce&m=161229914608993&w=2 > Openbsd is on the 1.3.8 google code repo which is deprecated and > apache foundation released a new version with up to date That's worth updating anyway but is I think unrelated to the problem you mention > I will contact the serf mailing list separately, > and my guess is serf is not using the right argument. Please don't do that yet. The last thing we want is an upstream making changes to cope with libressl that then require further changes if we adapt things in libressl itself. Index: Makefile =================================================================== RCS file: /cvs/ports/net/serf/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 12 Jul 2019 20:48:48 -0000 1.13 +++ Makefile 3 Feb 2021 15:44:09 -0000 @@ -1,18 +1,17 @@ # $OpenBSD: Makefile,v 1.13 2019/07/12 20:48:48 sthen Exp $ COMMENT = high performance HTTP client library -DISTNAME = serf-1.3.8 +DISTNAME = serf-1.3.9 SHARED_LIBS = serf-1 1.0 # 1.3.0 CATEGORIES = net -HOMEPAGE = https://code.google.com/p/serf/ +HOMEPAGE = https://serf.apache.org/ MAINTAINER = Stefan Sperling <[email protected]> -REVISION = 0 # APLv2 PERMIT_PACKAGE = Yes WANTLIB = apr-1 aprutil-1 crypto db expat iconv pthread ssl z -MASTER_SITES = https://serf.googlecode.com/svn/src_releases/ +MASTER_SITES = https://www.apache.org/dist/serf/ EXTRACT_SUFX = .tar.bz2 MODULES = devel/scons Index: distinfo =================================================================== RCS file: /cvs/ports/net/serf/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 17 Dec 2014 09:43:39 -0000 1.6 +++ distinfo 3 Feb 2021 15:44:09 -0000 @@ -1,2 +1,2 @@ -SHA256 (serf-1.3.8.tar.bz2) = 4FAL4GXbvOSQRJg3uyq2JORtZPwLCQR02ayqh8grJZA= -SIZE (serf-1.3.8.tar.bz2) = 143337 +SHA256 (serf-1.3.9.tar.bz2) = VJwtIcV3qKnARQ+stcyoCfJlkfBI5GZVIkCUe996h8w= +SIZE (serf-1.3.9.tar.bz2) = 145132 Index: patches/patch-buckets_ssl_buckets_c =================================================================== RCS file: patches/patch-buckets_ssl_buckets_c diff -N patches/patch-buckets_ssl_buckets_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-buckets_ssl_buckets_c 3 Feb 2021 15:44:09 -0000 @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: buckets/ssl_buckets.c +--- buckets/ssl_buckets.c.orig ++++ buckets/ssl_buckets.c +@@ -1156,7 +1156,7 @@ static void init_ssl_libraries(void) + } + #endif + +-#ifdef USE_OPENSSL_1_1_API ++#if defined(USE_OPENSSL_1_1_API) && !defined(LIBRESSL_VERSION_NUMBER) + OPENSSL_malloc_init(); + #else + CRYPTO_malloc_init(); Index: patches/patch-test_server_test_sslserver_c =================================================================== RCS file: patches/patch-test_server_test_sslserver_c diff -N patches/patch-test_server_test_sslserver_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-test_server_test_sslserver_c 3 Feb 2021 15:44:09 -0000 @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: test/server/test_sslserver.c +--- test/server/test_sslserver.c.orig ++++ test/server/test_sslserver.c +@@ -228,7 +228,7 @@ init_ssl_context(serv_ctx_t *serv_ctx, + /* Init OpenSSL globally */ + if (!init_done) + { +-#ifdef USE_OPENSSL_1_1_API ++#if defined(USE_OPENSSL_1_1_API) && !defined(LIBRESSL_VERSION_NUMBER) + OPENSSL_malloc_init(); + #else + CRYPTO_malloc_init(); Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/serf/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 22 May 2015 11:31:17 -0000 1.3 +++ pkg/PLIST 3 Feb 2021 15:44:09 -0000 @@ -3,6 +3,6 @@ include/serf-1/ include/serf-1/serf.h include/serf-1/serf_bucket_types.h include/serf-1/serf_bucket_util.h -lib/libserf-1.a +@static-lib lib/libserf-1.a @lib lib/libserf-1.so.${LIBserf-1_VERSION} lib/pkgconfig/serf-1.pc
