Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apache2-mod_dnssd for openSUSE:Factory checked in at 2024-05-13 17:58:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2-mod_dnssd (Old) and /work/SRC/openSUSE:Factory/.apache2-mod_dnssd.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache2-mod_dnssd" Mon May 13 17:58:22 2024 rev:21 rq:1173610 version:0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/apache2-mod_dnssd/apache2-mod_dnssd.changes 2024-02-22 20:59:53.398177455 +0100 +++ /work/SRC/openSUSE:Factory/.apache2-mod_dnssd.new.1880/apache2-mod_dnssd.changes 2024-05-13 17:59:01.631966510 +0200 @@ -1,0 +2,8 @@ +Tue May 7 12:01:10 UTC 2024 - pgaj...@suse.com + +- fix build with gcc14 +- added patches + work with apache 2.4 + + apache2-mod_dnssd-httpd24.patch + +------------------------------------------------------------------- New: ---- apache2-mod_dnssd-httpd24.patch BETA DEBUG BEGIN: New: work with apache 2.4 + apache2-mod_dnssd-httpd24.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2-mod_dnssd.spec ++++++ --- /var/tmp/diff_new_pack.jAUljI/_old 2024-05-13 17:59:02.083983002 +0200 +++ /var/tmp/diff_new_pack.jAUljI/_new 2024-05-13 17:59:02.083983002 +0200 @@ -1,7 +1,7 @@ # # spec file for package apache2-mod_dnssd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -28,6 +28,8 @@ Source: %{_name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE apache2-mod_dnssd-apxs2-prefork.patch Patch0: apache2-mod_dnssd-apxs2-prefork.patch +# work with apache 2.4 +Patch1: apache2-mod_dnssd-httpd24.patch BuildRequires: apache-rpm-macros BuildRequires: apache2-devel BuildRequires: apr-devel @@ -52,9 +54,6 @@ %autosetup -p1 -n %{_name}-%{version} %build -%if %{apache_branch} >= 204 -sed -i 's/unixd_setup_child/ap_&/' src/mod_dnssd.c -%endif %configure \ --disable-lynx make %{?_smp_mflags} ++++++ apache2-mod_dnssd-httpd24.patch ++++++ Index: mod_dnssd-0.6/src/mod_dnssd.c =================================================================== --- mod_dnssd-0.6.orig/src/mod_dnssd.c +++ mod_dnssd-0.6/src/mod_dnssd.c @@ -23,11 +23,13 @@ #include <apr_lib.h> #include <ap_config.h> #include <apr_strings.h> -#include <unixd.h> +#include <mod_unixd.h> #include <apr_signal.h> #include <mpm_common.h> #include <unistd.h> +#include <sys/types.h> +#include <pwd.h> #include <avahi-common/simple-watch.h> #include <avahi-common/domain.h> @@ -576,7 +578,7 @@ static void child_process(apr_pool_t *p, 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));