Tuesday, May 31, 2022

Re: [UPDATE] www/libmicrohttpd 0.9.70 > 0.9.75

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/libmicrohttpd/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 24 Mar 2022 21:15:19 -0000 1.14
+++ Makefile 1 Jun 2022 01:58:47 -0000
@@ -1,9 +1,8 @@
COMMENT = tiny embeddable httpd library written in C
-DISTNAME = libmicrohttpd-0.9.70
-REVISION = 0
+DISTNAME = libmicrohttpd-0.9.75
CATEGORIES = www

-SHARED_LIBS += microhttpd 0.4 # 65.0
+SHARED_LIBS += microhttpd 1.0 # 72.0

HOMEPAGE = https://www.gnu.org/software/libmicrohttpd/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/libmicrohttpd/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo 25 Feb 2020 14:09:26 -0000 1.11
+++ distinfo 1 Jun 2022 01:58:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (libmicrohttpd-0.9.70.tar.gz) = kNCj05b5b5vEHrD36Bh3lgSShfq++CYErNSHlZCXcwc=
-SIZE (libmicrohttpd-0.9.70.tar.gz) = 1886435
+SHA256 (libmicrohttpd-0.9.75.tar.gz) = kniQem9XGzkaq5ZE/WRqUQjtlzEexm9jWc677bCk47s=
+SIZE (libmicrohttpd-0.9.75.tar.gz) = 1952076
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/www/libmicrohttpd/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 27 Dec 2017 19:31:07 -0000 1.1.1.1
+++ pkg/DESCR 1 Jun 2022 01:58:47 -0000
@@ -2,11 +2,11 @@ GNU libmicrohttpd is a small C library t
to run an HTTP server as part of another application.

Features:
-* C library: fast and small
* API is simple, expressive and fully reentrant
* Implementation is HTTP 1.1 compliant
* HTTP server can listen on multiple ports
-* Four different threading models (select, poll, pthread, thread pool)
+* Various threading modes: run in application thread, internal thread,
+ thread pool, and thread-per-connection
* Support for IPv6
* Support for SHOUTcast
* Support for incremental processing of POST data
Hello again --

On 5/29/2022 2:37 PM, Brian Callahan wrote:
> Hello --
>
> I am away for the US holiday. I'll be back tomorrow evening and I will
> check this over then.
>

I've been able to look this over now. Attached is an improved diff that
updates the DESCR with the meaningful changes from your original diff.

I also discovered that your original diff failed the build test--or, at
least, you didn't report that (at least some) dependent ports will not
build with this update. For example, the build for graphics/drawpile
fails because an integer was changed to an enum:
https://github.com/drawpile/Drawpile/pull/925/files

Upstream claims there is no ABI breakage but apparently that is only
true for C, not C++, so perhaps a major bump is in order to be safe
(attached diff does this).

I have only build tested drawpile so far. The others are being built
now. I'll send an update for drawpile in a separate email and send
updates for any other dependent ports that need it in their own separate
emails.

~Brian

No comments:

Post a Comment