From 21f7a93e7a8c3484adcb4d84ee08e17e43bdb913 Mon Sep 17 00:00:00 2001 From: Evgeny Grin Date: Wed, 31 May 2023 17:51:00 +0300 Subject: [PATCH] libmicrohttpd fixes * Removed "autoreconf". Upstream provides working 'configure'. * Disabled libcurl in parameter. It is not declared as dependency and used only for testing. * Disabled examples build. They are not needed for installed library. * Enforced HTTPS version build, instead of automatic detection * Removed unneeded libtool patch * Fixed license (LGPLv2.1 or later) * Removed "textinfo" dependency. It is not needed, all info files are pre-built. * Removed "libgrypt" and "libgpg-error". They was needed for for GnuTLS >2.20 * Removed mention of "microspdy". It was removed several years ago from upstream. * Removed "demo" file. It is compiled example, which is not designed for any practical use. --- server/web/libmicrohttpd/actions.py | 9 +++------ server/web/libmicrohttpd/pspec.xml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/server/web/libmicrohttpd/actions.py b/server/web/libmicrohttpd/actions.py index 66f3116bd4..a56545582f 100644 --- a/server/web/libmicrohttpd/actions.py +++ b/server/web/libmicrohttpd/actions.py @@ -9,14 +9,11 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --enable-shared \ - --enable-curl \ - --enable-largefile \ - --enable-messages") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + --disable-curl \ + --disable-examples \ + --enable-https") def build(): autotools.make() diff --git a/server/web/libmicrohttpd/pspec.xml b/server/web/libmicrohttpd/pspec.xml index dcaa9553ee..d4f0a48bfa 100644 --- a/server/web/libmicrohttpd/pspec.xml +++ b/server/web/libmicrohttpd/pspec.xml @@ -8,16 +8,13 @@ PisiLinux Community admins@pisilinux.org - LGPLv2 + LGPLv2+ library A compact API and implementation of HTTP web server libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.77.tar.gz - texinfo gnutls-devel - libgcrypt-devel - libgpg-error-devel @@ -25,12 +22,8 @@ libmicrohttpd gnutls - libgcrypt - libgpg-error - /usr/bin/microspdy2http - /usr/bin/demo /usr/lib /usr/share/man /usr/share/info @@ -56,6 +49,13 @@ + + 2023-05-31 + 0.9.77 + Package fixes. + Evgeny Grin (Karlson2) + k2k@narod.ru + 2023-05-30 0.9.77