Wednesday, February 03, 2021

Re: libserf broken on 6.8

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 <stsp@openbsd.org>
-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)
+ }
+

No comments:

Post a Comment