debian/0000755000000000000000000000000012151717076007175 5ustar debian/docs0000644000000000000000000000001311277071160010035 0ustar doc/README debian/dnssd.conf0000644000000000000000000000013612151717076011157 0ustar # This is the config file for mod_dnssd. DNSSDEnable On debian/dnssd.load0000644000000000000000000000007612151717076011154 0ustar LoadModule dnssd_module /usr/lib/apache2/modules/mod_dnssd.so debian/libapache2-mod-dnssd.apache20000644000000000000000000000010712151717076014300 0ustar mod src/.libs/mod_dnssd.so mod debian/dnssd.conf mod debian/dnssd.load debian/rules0000755000000000000000000000252512151717076010261 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f config.log rm -f build-stamp rm -f README # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs dh_install dh_apache2 # Build architecture-independent files here. binary-indep: build install # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_install dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/compat0000644000000000000000000000000211277071160010366 0ustar 5 debian/watch0000644000000000000000000000012011277071160010212 0ustar version=2 http://0pointer.de/lennart/projects/mod_dnssd/mod_dnssd-(.*)\.tar\.gz debian/libapache2-mod-dnssd.postinst0000644000000000000000000000340512151717076014664 0ustar #! /bin/sh # postinst script # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # # 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# debian/copyright0000644000000000000000000000167011277071160011127 0ustar This package was debianized by Sebastien ESTIENNE on Tue, 31 Jan 2006 00:04:13 +0100. It was downloaded from http://0pointer.de/lennart/projects/mod_dnssd/ Copyright: Copyright 2006-2009 Lennart Poettering License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On Debian systems, the complete text of the of the Apache 2.0 License can be found in `/usr/share/common-licenses/Apache-2.0'. debian/patches/0000755000000000000000000000000012151717076010624 5ustar debian/patches/series0000644000000000000000000000003112151717076012033 0ustar port-for-apache2.4.patch debian/patches/port-for-apache2.4.patch0000644000000000000000000000111712151717076015060 0ustar Description: Port dnssd to Apache 2.4 API Forwarded: no Author: Arno Töll Last-Update: 2013-05-09 --- a/src/mod_dnssd.c +++ b/src/mod_dnssd.c @@ -26,6 +26,9 @@ #include #include #include +#if MODULE_MAGIC_NUMBER_MAJOR >= 20090209 +#include "mod_unixd.h" +#endif #include @@ -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)); debian/source/0000755000000000000000000000000011277071532010473 5ustar debian/source/format0000644000000000000000000000001411277074403011701 0ustar 3.0 (quilt) debian/control0000644000000000000000000000132012151717076010574 0ustar Source: mod-dnssd Section: net Priority: optional Maintainer: Regis Boudin Uploaders: Sebastien ESTIENNE 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), ${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 websites available to clients compatible with the protocol. debian/changelog0000644000000000000000000000527712151717076011062 0ustar 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 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. * Add dependency on ${misc:Depends}. * Add build-arch and build-indep targets. -- Regis Boudin Tue, 26 Jul 2011 22:50:02 +0100 mod-dnssd (0.6-2) unstable; urgency=low * Depend on apache2.2-bin instead of apache2.2-common (Closes: #536212). * Bump Standards-Version to 3.8.3 * Switch to format 3.0 (quilt) -- Regis Boudin Thu, 12 Nov 2009 20:39:34 +0000 mod-dnssd (0.6-1) unstable; urgency=low * New upstream release (Closes: #513954). * Bump Standards-Version to 3.8.0 * Reference the Apache 2.0 License file in /usr/share/common-licenses/Apache-2.0 instead of having the whole text copied inside the copyright file. * Update the long description to make lintian happy. -- Regis Boudin Mon, 02 Feb 2009 20:58:26 +0000 mod-dnssd (0.5-1) unstable; urgency=low * New upstream release (Closes: #426379, #368486). * Acknowledge NMU. Thanks Joey ! (Closes: #391782, #393012). * Take over maintainership of the package, as agreed with the previous maintainer, who becomes uploader. Many thanks to Sebastien Estienne for his work. * Set the Homepage field in debian/control. * Bump the Standards-Version to 3.7.3 -- Regis Boudin Thu, 06 Dec 2007 21:55:31 +0000 mod-dnssd (0.4-1.1) unstable; urgency=low * Non-maintainer upload. [ Simon McVittie ] * Alter source to compile with Apache 2.2 (closes: #391782, #393012) -- Joey Hess Sun, 15 Oct 2006 16:35:27 -0400 mod-dnssd (0.4-1) unstable; urgency=low * New upstream release -- Sebastien ESTIENNE Sat, 01 Apr 2006 14:39:10 +0200 mod-dnssd (0.3-2) unstable; urgency=low * fix prerm and postrm scripts to enable/disable the module -- Sebastien ESTIENNE Wed, 01 Mar 2006 17:20:52 +0100 mod-dnssd (0.3-1) unstable; urgency=low * Initial release (Closes: #349419) -- Sebastien ESTIENNE Tue, 31 Jan 2006 00:04:13 +0100 debian/libapache2-mod-dnssd.maintscript0000644000000000000000000000027412151717076015337 0ustar 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