Upstream checks, mod-dnssd source and swagger-ui upgrade
cover Upstream checks, mod-dnssd source and swagger-ui upgrade
Upstream version check fixes, fetch mod-dnssd from the 0.6 release tarball and upgrade swagger-ui.
Khem Raj (4):
webmin: Fix upstream version check
fcgiwrap: Fix upstream version check
mod-dnssd: Fetch the 0.6 release tarball
swagger-ui: upgrade 5.35.1 -> 5.36.0
...gger-ui_5.35.1.bb => swagger-ui_5.36.0.bb} | 3 +-
...-properly-quote-CFLAGS-LIBS-for-apxs.patch | 30 ++++++++++++++++
...mod_dnssd.c-Use-ap_unixd_setup_child.patch | 36 +++++++++++++++++++
.../recipes-httpd/apache-mod/mod-dnssd_0.6.bb | 10 ++++--
.../recipes-support/fcgiwrap/fcgiwrap_git.bb | 2 ++
.../recipes-webadmin/webmin/webmin_2.670.bb | 4 +--
6 files changed, 80 insertions(+), 5 deletions(-)
rename meta-webserver/recipes-devtools/swagger-ui/{swagger-ui_5.35.1.bb => swagger-ui_5.36.0.bb} (90%)
create mode 100644 meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0001-build-system-properly-quote-CFLAGS-LIBS-for-apxs.patch
create mode 100644 meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0002-mod_dnssd.c-Use-ap_unixd_setup_child.patchPATCH 1/4 webmin: Fix upstream version check
www.webmin.com/download.html no longer links the release tarballs, so the check finds nothing. SRC_URI fetches from SourceForge; check the webmin release directories there instead.
AI-Generated: Uses Claude Code
--- meta-webserver/recipes-webadmin/webmin/webmin_2.670.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-webserver/recipes-webadmin/webmin/webmin_2.670.bb +2 -2
@@ -19,8 +19,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ file://webmin.service \ " SRC_URI[sha256sum] = "617af07a890bea18a83dca5c9d7168de1ad4d5f3076d8a1df3475f123748dc21" -UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" -UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/webadmin/files/webmin/" +UPSTREAM_CHECK_REGEX = "webmin/(?P<pver>\d+(\.\d+)+)/" inherit perlnative update-rc.d systemd
PATCH 2/4 fcgiwrap: Fix upstream version check
In reply to Khem RajThe recipe tracks the master branch, 18 commits past the last tag (1.1.0), and has no numeric PV, so the tag check gave no usable result. Check for new commits on master instead.
AI-Generated: Uses Claude Code
--- meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb +2 -0
@@ -13,6 +13,8 @@ SRC_URI = "git://github.com/gnosek/fcgiwrap.git;protocol=https;branch=${BRANCH} BRANCH = "master" SRCREV = "99c942c90063c73734e56bacaa65f947772d9186" +UPSTREAM_CHECK_COMMITS = "1" + CFLAGS =+ "-I${B}" EXTRA_OEMAKE = "VPATH=${S}"
PATCH 3/4 mod-dnssd: Fetch the 0.6 release tarball
In reply to Khem Rajgit.0pointer.net no longer serves the repository (its TLS certificate is for another host). Use the 0.6 release tarball from 0pointer.de, and carry the two commits that SRCREV had on top of 0.6 as backports: apxs CFLAGS/LIBS quoting and the httpd 2.4 ap_unixd_setup_child rename. Check upstream versions against the project page.
AI-Generated: Uses Claude Code
--- ...-properly-quote-CFLAGS-LIBS-for-apxs.patch | 30 ++++++++++++++++ ...mod_dnssd.c-Use-ap_unixd_setup_child.patch | 36 +++++++++++++++++++ .../recipes-httpd/apache-mod/mod-dnssd_0.6.bb | 10 ++++-- 3 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0001-build-system-properly-quote-CFLAGS-LIBS-for-apxs.patch create mode 100644 meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0002-mod_dnssd.c-Use-ap_unixd_setup_child.patch
meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0001-build-system-properly-quote-CFLAGS-LIBS-for-apxs.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Lennart Poettering <[email protected]> +Date: Mon, 20 Apr 2009 03:08:28 +0200 +Subject: [PATCH 1/2] build-system: properly quote CFLAGS/LIBS for apxs + +Should fix build on systems where AVAHI_LIBS/AVAHI_CFLAGS is not empty. + +Pointed out by Scott Brian. + +Upstream-Status: Backport [https://git.0pointer.net/mod_dnssd.git/commit/?id=9476b3bd4f7cf90df5408a6a6b169db210c2c10a] +Signed-off-by: Khem Raj <[email protected]> +--- + src/Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile.in b/src/Makefile.in +index fd99c17..702f2b2 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -16,8 +16,8 @@ + + APXS=@APXS@ + APACHECTL=@APACHECTL@ +-LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@ +-CFLAGS=-Wc,"@CFLAGS@" @AVAHI_CFLAGS@ ++LIBS=-Wl,"@LIBS@ @AVAHI_LIBS@" ++CFLAGS=-Wc,"@CFLAGS@ @AVAHI_CFLAGS@" + + all: mod_dnssd.la +
meta-webserver/recipes-httpd/apache-mod/mod-dnssd/0002-mod_dnssd.c-Use-ap_unixd_setup_child.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Robby Workman <[email protected]> +Date: Fri, 8 Feb 2013 14:14:08 -0600 +Subject: [PATCH 2/2] mod_dnssd.c: Use ap_unixd_setup_child + +This fixeds an undefined reference to unixd_setup_child in the +compiled module. This looks to have changed in httpd-2.3.2 dev: +20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child(). + +Upstream-Status: Backport [https://git.0pointer.net/mod_dnssd.git/commit/?id=be2fb9f6158f800685de7a1bc01c39b6cf1fa12c] +Signed-off-by: Khem Raj <[email protected]> +--- + src/mod_dnssd.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c +index 6179276..3363701 100644 +--- a/src/mod_dnssd.c ++++ b/src/mod_dnssd.c +@@ -24,6 +24,7 @@ + #include <ap_config.h> + #include <apr_strings.h> + #include <unixd.h> ++#include <mod_unixd.h> + #include <apr_signal.h> + #include <mpm_common.h> + +@@ -576,7 +577,7 @@ static void child_process(apr_pool_t *p, server_rec *server, struct global_confi + + ap_assert(d); + +- unixd_setup_child(); ++ ap_unixd_setup_child(); + + if (pipe(sigterm_pipe_fds) < 0) { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));
meta-webserver/recipes-httpd/apache-mod/mod-dnssd_0.6.bb +8 -2
@@ -5,9 +5,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS = "apache2 avahi" -SRC_URI = "git://git.0pointer.net/mod_dnssd.git;protocol=https;branch=master" -SRCREV = "be2fb9f6158f800685de7a1bc01c39b6cf1fa12c" +SRC_URI = "https://0pointer.de/lennart/projects/mod_dnssd/mod_dnssd-${PV}.tar.gz \ + file://0001-build-system-properly-quote-CFLAGS-LIBS-for-apxs.patch \ + file://0002-mod_dnssd.c-Use-ap_unixd_setup_child.patch \ + " +SRC_URI[sha256sum] = "2cd171d76eba398f03c1d5bcc468a1756f4801cd8ed5bd065086e4374997c5aa" +UPSTREAM_CHECK_REGEX = "mod_dnssd-(?P<pver>\d+(\.\d+)+)\.tar" + +S = "${UNPACKDIR}/mod_dnssd-${PV}" EXTRA_OECONF = "--disable-lynx"
PATCH 4/4 swagger-ui: upgrade 5.35.1 -> 5.36.0
In reply to Khem Raj- json-schema-unified: add OAS 3.0 and 2.0 dialects, and an opt-in schema view for OAS 3.1/3.2
- Compile an isolated Tailwind v4 stylesheet into swagger-ui.css
- Build tooling updates (node 26.13)
Recipe: add UPSTREAM_CHECK_GITTAGREGEX so alpha/beta tags are ignored. The prebuilt dist/ installed by the recipe is part of the tagged tree.
AI-Generated: Uses Claude Code
---
.../swagger-ui/{swagger-ui_5.35.1.bb => swagger-ui_5.36.0.bb} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
rename meta-webserver/recipes-devtools/swagger-ui/{swagger-ui_5.35.1.bb => swagger-ui_5.36.0.bb} (90%)meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.36.0.bb renamed from meta-webserver/recipes-devtools/swagger-ui/swagger-ui_5.35.1.bb +2 -1
@@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=main;protocol=https;tag=v${PV}" -SRCREV = "8fd7a7d57514e63e3601b4c61f3cdbafe605af02" +SRCREV = "d157bfe091710f3a21d4c3be55985293d84b6e57" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1"