debian/ 0000755 0000000 0000000 00000000000 12151717076 007175 5 ustar debian/docs 0000644 0000000 0000000 00000000013 11277071160 010035 0 ustar doc/README
debian/dnssd.conf 0000644 0000000 0000000 00000000136 12151717076 011157 0 ustar # This is the config file for mod_dnssd.
DNSSDEnable On
debian/dnssd.load 0000644 0000000 0000000 00000000076 12151717076 011154 0 ustar LoadModule dnssd_module /usr/lib/apache2/modules/mod_dnssd.so
debian/libapache2-mod-dnssd.apache2 0000644 0000000 0000000 00000000107 12151717076 014300 0 ustar mod src/.libs/mod_dnssd.so
mod debian/dnssd.conf
mod debian/dnssd.load
debian/rules 0000755 0000000 0000000 00000002525 12151717076 010261 0 ustar #!/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/compat 0000644 0000000 0000000 00000000002 11277071160 010366 0 ustar 5
debian/watch 0000644 0000000 0000000 00000000120 11277071160 010212 0 ustar version=2
http://0pointer.de/lennart/projects/mod_dnssd/mod_dnssd-(.*)\.tar\.gz
debian/libapache2-mod-dnssd.postinst 0000644 0000000 0000000 00000003405 12151717076 014664 0 ustar #! /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/copyright 0000644 0000000 0000000 00000001670 11277071160 011127 0 ustar 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/ 0000755 0000000 0000000 00000000000 12151717076 010624 5 ustar debian/patches/series 0000644 0000000 0000000 00000000031 12151717076 012033 0 ustar port-for-apache2.4.patch
debian/patches/port-for-apache2.4.patch 0000644 0000000 0000000 00000001117 12151717076 015060 0 ustar 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/ 0000755 0000000 0000000 00000000000 11277071532 010473 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11277074403 011701 0 ustar 3.0 (quilt)
debian/control 0000644 0000000 0000000 00000001320 12151717076 010574 0 ustar 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/changelog 0000644 0000000 0000000 00000005277 12151717076 011062 0 ustar 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.maintscript 0000644 0000000 0000000 00000000274 12151717076 015337 0 ustar 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