avahi-dnsconfd.8 \
avahi-daemon.conf.5 \
avahi-dnsconfd.action.8 \
- avahi.service.5
+ avahi.service.5 \
+ avahi.hosts.5
noinst_DATA = \
avahi-browse.1.xml \
avahi-dnsconfd.8.xml \
avahi-daemon.conf.5.xml \
avahi-dnsconfd.action.8.xml \
- avahi.service.5.xml
+ avahi.service.5.xml \
+ avahi.hosts.5.xml
CLEANFILES = \
$(noinst_DATA)
-e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
-e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
+avahi.hosts.5.xml: avahi.hosts.5.xml.in Makefile
+ sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
+ -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
+ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
if USE_XMLTOMAN
avahi.service.5: avahi.service.5.xml Makefile
xmltoman $< > $@
+avahi.hosts.5: avahi.hosts.5.xml Makefile
+ xmltoman $< > $@
xmllint: $(noinst_DATA)
for f in $(noinst_DATA) ; do \
avahi-daemon.conf.5.xml.in \
avahi-dnsconfd.action.8.xml.in \
avahi.service.5.xml.in \
+ avahi.hosts.5.xml.in \
xmltoman.css \
xmltoman.xsl \
xmltoman.dtd
<section name="Files">
- <p><file>@pkgsysconfdir@/avahi-daemon.conf</file>: the default configuration file for avahi-daemon.</p>
+ <p><file>@pkgsysconfdir@/avahi-daemon.conf</file>: the default configuration file for avahi-daemon, <manref name="avahi-daemon.conf" section="5"/> for more information.</p>
- <p><file>@servicedir@/*.service</file>: static service definitions.</p>
+ <p><file>@pkgsysconfdir@/hosts</file>: additional static hostname mappings to publish in mDNS, see <manref name="avahi.hosts" section="5"/> for more information.</p>
+
+ <p><file>@servicedir@/*.service</file>: static service definitions, see <manref name="avahi.service" section="5"/> for more information.</p>
</section>
<section name="See also">
<p>
- <manref name="avahi-daemon.conf" section="5"/>, <manref name="avahi.service" section="5"/>, <manref name="avahi-dnsconfd" section="8"/>
+ <manref name="avahi-daemon.conf" section="5"/>, <manref name="avahi.hosts" section="5"/>, <manref name="avahi.service" section="5"/>, <manref name="avahi-dnsconfd" section="8"/>
</p>
</section>
--- /dev/null
+<?xml version="1.0"?><!--*-nxml-*-->
+<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
+<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
+
+<!-- $Id$ -->
+
+<!--
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+ Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+-->
+
+ <manpage name="avahi.hosts" section="5" desc="avahi-daemon static host name file">
+
+ <synopsis>
+ <cmd>@pkgsysconfdir@/hosts</cmd>
+ </synopsis>
+
+ <description>
+ <p><file>@pkgsysconfdir@/hosts</file> is a file which may be used
+ to define static host name to IP address mappings for multicast
+ DNS. This is especially useful when publishing DNS-SD services
+ on behalf of other hosts. See <manref name="avahi.service"
+ section="5"/> for more information.</p>
+
+ <p>The file format is similar to the one of
+ <file>/etc/hosts</file>: on each line an IP address and the
+ corresponding host name. The host names should be in FQDN form,
+ i.e. with appended .local suffix.</p>
+ </description>
+
+ <section name="Authors">
+ <p>The avahi developers <@PACKAGE_BUGREPORT@>; avahi is
+ available from <url href="@PACKAGE_URL@"/></p>
+ </section>
+
+ <section name="See also">
+ <p>
+ <manref name="avahi-daemon" section="8"/>, <manref name="avahi.service" section="5"/>
+ </p>
+ </section>
+
+ <section name="Comments">
+ <p>This man page was written using <manref name="xml2man"
+ section="1" href="http://masqmail.cx/xml2man/"/> by Oliver
+ Kurth.</p>
+ </section>
+
+ </manpage>
<option>
<p><opt><host-name></opt> The host name of the host that
- provides this service. This should be a host that is resolvable
- by multicast or unicast DNS. Please note that you need to
- specify a fully-qualified domain name (FQDN) here, i.e. .local
- is not appended implicitly! The host name doesn't need to be part of the
- domain specified in <opt><domain-name></opt>.</p>
+ provides this service. This should be a host that is
+ resolvable by multicast or unicast DNS. Please note that you
+ need to specify a fully-qualified domain name (FQDN) here,
+ i.e. .local is not appended implicitly! The host name doesn't
+ need to be part of the domain specified in
+ <opt><domain-name></opt>. See <manref name="avahi.hosts"
+ section="5"/> for more information how to publish additional
+ host name mappings.</p>
</option>
<option>
<section name="See also">
<p>
- <manref name="avahi-daemon" section="8"/>
+ <manref name="avahi-daemon" section="8"/>, <manref name="avahi.hosts" section="5"/>
</p>
</section>