Your message dated Fri, 12 Jun 2026 22:17:51 +1000
with message-id
<CABDzzBUcm+Z8jGrrPGuQcGZ+TqCFN+j4=owfsa5z-hnjcfn...@mail.gmail.com>
and subject line Re: Please acknowledge the NMU for mod-dnssd 0.6-3.1
has caused the Debian Bug report #710435,
regarding Please acknowledge the NMU for mod-dnssd 0.6-3.1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
710435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mod-dnssd
Severity: important
Hi,
I'm sorry for not using DELAYED, but as discussed over the past weeks,
we considered your module to be on the critical list of reverse
dependencies which better aren't broken not even in Sid.
Thus, I've upload a NMU for mod-dnssd blocking the transition as
discussed in #666829. I'm attaching a diff for the changes I made.
--
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
diff --git a/debian/changelog b/debian/changelog
index 665e894..02ae5a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+mod-dnssd (0.6-3.1) unstable; urgency=low
+
+ * Non-maintainer upload (Closes: #666829)
+ * Add support for Apache 2.4 by using the patch provided by OndÅej Surý.
+ * Make the module run with the changed Apache 2.4 API
+ * Rename Apache configuration files to comply with Apache's packaging
+ policy:
+ - mod-dnssd.conf -> dnssd.conf
+ - mod-dnssd.load -> dnssd.load
+ - Update symlinks when the module was enabled
+ * Bump debhelper dependency, to make sure its maintscript helper is
+ supported which aids for the conffile move.
+
+ -- Arno Töll <[email protected]> Thu, 30 May 2013 19:33:34 +0200
+
mod-dnssd (0.6-3) unstable; urgency=low
* Bump Standards-Version to 3.9.2. No other change needed.
diff --git a/debian/control b/debian/control
index 14783c7..9333fbc 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,13 @@ Section: net
Priority: optional
Maintainer: Regis Boudin <[email protected]>
Uploaders: Sebastien ESTIENNE <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), apache2-prefork-dev | apache2-threaded-dev, libavahi-client-dev (>= 0.6.4), lynx, libapr1-dev
+Build-Depends: debhelper (>> 8.1.0~), apache2-dev, dh-apache2,libavahi-client-dev (>= 0.6.4), lynx, libapr1-dev
Standards-Version: 3.9.2
Homepage: http://0pointer.de/lennart/projects/mod_dnssd/
Package: libapache2-mod-dnssd
Architecture: any
-Depends: ${shlibs:Depends}, avahi-daemon (>= 0.6.5), apache2.2-bin, ${misc:Depends}
+Depends: ${shlibs:Depends}, avahi-daemon (>= 0.6.5), ${misc:Depends}
Description: Zeroconf support for Apache 2 via avahi
mod_dnssd is an Apache HTTPD module which adds Zeroconf support
via DNS-SD using Avahi. This allows Apache to advertise itself and the
diff --git a/debian/dnssd.conf b/debian/dnssd.conf
new file mode 100644
index 0000000..cfe8b9c
--- /dev/null
+++ b/debian/dnssd.conf
@@ -0,0 +1,6 @@
+# This is the config file for mod_dnssd.
+
+<IfModule mod_dnssd.c>
+ DNSSDEnable On
+</IfModule>
+
diff --git a/debian/dnssd.load b/debian/dnssd.load
new file mode 100644
index 0000000..bd6913b
--- /dev/null
+++ b/debian/dnssd.load
@@ -0,0 +1 @@
+LoadModule dnssd_module /usr/lib/apache2/modules/mod_dnssd.so
diff --git a/debian/libapache2-mod-dnssd.apache2 b/debian/libapache2-mod-dnssd.apache2
new file mode 100644
index 0000000..258a376
--- /dev/null
+++ b/debian/libapache2-mod-dnssd.apache2
@@ -0,0 +1,3 @@
+mod src/.libs/mod_dnssd.so
+mod debian/dnssd.conf
+mod debian/dnssd.load
diff --git a/debian/libapache2-mod-dnssd.install b/debian/libapache2-mod-dnssd.install
deleted file mode 100644
index 2b056f5..0000000
--- a/debian/libapache2-mod-dnssd.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/mod-dnssd.load /etc/apache2/mods-available
-debian/mod-dnssd.conf /etc/apache2/mods-available
diff --git a/debian/libapache2-mod-dnssd.maintscript b/debian/libapache2-mod-dnssd.maintscript
new file mode 100644
index 0000000..1059567
--- /dev/null
+++ b/debian/libapache2-mod-dnssd.maintscript
@@ -0,0 +1,2 @@
+mv_conffile /etc/apache2/mods-available/mod-dnssd.conf /etc/apache2/mods-available/dnssd.conf
+mv_conffile /etc/apache2/mods-available/mod-dnssd.load /etc/apache2/mods-available/dnssd.load
diff --git a/debian/libapache2-mod-dnssd.postinst b/debian/libapache2-mod-dnssd.postinst
new file mode 100644
index 0000000..5d6edbd
--- /dev/null
+++ b/debian/libapache2-mod-dnssd.postinst
@@ -0,0 +1,48 @@
+#! /bin/sh
+
+# postinst script
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+ if dpkg --compare-versions "$2" lt "0.6-3.1" ; then
+ for CONF in /etc/apache2/mods-enabled/mod-dnssd.conf /etc/apache2/mods-enabled/mod-dnssd.load ; do
+ if [ -L $CONF ] ; then
+ target=$(readlink -e "$CONF") || true
+ sitename=$(basename "$CONF")
+ if [ -z "$target" ] ; then
+ rm -f $CONF
+ # a2enmod may not be installed. In that case don't bother to enable the link
+ # again, as the environment is special.
+ a2enmod -m -q "$sitename" || true
+ fi
+ fi
+ done
+ fi
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
diff --git a/debian/libapache2-mod-dnssd.prerm b/debian/libapache2-mod-dnssd.prerm
deleted file mode 100644
index 50db09a..0000000
--- a/debian/libapache2-mod-dnssd.prerm
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -e
-
-#DEBHELPER#
-
-if [ "$1" != "remove" -a "$1" != "purge" ]; then
- exit 0
-fi
-
-if [ -e /etc/apache2/apache2.conf ]; then
- a2dismod mod-dnssd || true
-fi
-
-exit 0
diff --git a/debian/mod-dnssd.conf b/debian/mod-dnssd.conf
deleted file mode 100644
index cfe8b9c..0000000
--- a/debian/mod-dnssd.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# This is the config file for mod_dnssd.
-
-<IfModule mod_dnssd.c>
- DNSSDEnable On
-</IfModule>
-
diff --git a/debian/mod-dnssd.load b/debian/mod-dnssd.load
deleted file mode 100644
index bd6913b..0000000
--- a/debian/mod-dnssd.load
+++ /dev/null
@@ -1 +0,0 @@
-LoadModule dnssd_module /usr/lib/apache2/modules/mod_dnssd.so
diff --git a/debian/patches/port-for-apache2.4.patch b/debian/patches/port-for-apache2.4.patch
new file mode 100644
index 0000000..598159d
--- /dev/null
+++ b/debian/patches/port-for-apache2.4.patch
@@ -0,0 +1,26 @@
+Description: Port dnssd to Apache 2.4 API
+Forwarded: no
+Author: Arno Töll <[email protected]>
+Last-Update: 2013-05-09
+
+--- a/src/mod_dnssd.c
++++ b/src/mod_dnssd.c
+@@ -26,6 +26,9 @@
+ #include <unixd.h>
+ #include <apr_signal.h>
+ #include <mpm_common.h>
++#if MODULE_MAGIC_NUMBER_MAJOR >= 20090209
++#include "mod_unixd.h"
++#endif
+
+ #include <unistd.h>
+
+@@ -576,7 +579,7 @@
+
+ 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));
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..533d773
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+port-for-apache2.4.patch
diff --git a/debian/rules b/debian/rules
index c1607ec..70be43e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,8 @@ install: build
dh_testroot
dh_prep
dh_installdirs
- dh_install src/.libs/mod_dnssd.so `apxs2 -q LIBEXECDIR`
+ dh_install
+ dh_apache2
# Build architecture-independent files here.
binary-indep: build install
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Version: 0.6-6
Hi Arno,
The non-maintainer upload 0.6-3.1, and the later NMUs 0.6-3.2 (Jeremy
Bicha) and 0.6-3.3 (Vagrant Cascadian), are acknowledged: their changelog
entries are retained verbatim in the package's history, which I uploaded as
the new maintainer in mod-dnssd 0.6-6 (accepted into unstable 2026-06-09,
Closes: #892369). Closing this acknowledgement request.
Thanks for the 0.6-3.1 NMU adding Apache 2.4 support; it kept the module
working through the #666829 transition.
Jayen Ashar <[email protected]>
--- End Message ---