2007-12-08 19:20:31 +00:00
|
|
|
#
|
2012-04-02 20:50:04 +00:00
|
|
|
# Copyright (C) 2007-2012 OpenWrt.org
|
2006-07-23 17:11:35 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2011-11-30 12:44:08 +00:00
|
|
|
ifeq ($(BUILD_VARIANT),dbus)
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)/dbus/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_ALT_DIR=$(BUILD_DIR)/$(PKG_NAME)/nodbus/$(PKG_NAME)-$(PKG_VERSION)
|
2011-11-30 12:44:08 +00:00
|
|
|
else
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)/nodbus/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_ALT_DIR=$(BUILD_DIR)/$(PKG_NAME)/dbus/$(PKG_NAME)-$(PKG_VERSION)
|
2011-11-30 12:44:08 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2006-07-23 17:11:35 +00:00
|
|
|
PKG_NAME:=avahi
|
2012-07-27 14:58:51 +00:00
|
|
|
PKG_VERSION:=0.6.31
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
PKG_RELEASE:=5
|
2011-11-30 12:44:08 +00:00
|
|
|
|
2006-07-23 17:11:35 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://avahi.org/download/
|
2012-07-27 14:58:51 +00:00
|
|
|
PKG_MD5SUM:=2f22745b8f7368ad5a0a3fddac343f2d
|
2006-07-23 17:11:35 +00:00
|
|
|
|
2011-11-30 12:44:08 +00:00
|
|
|
PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm intltool/host libpthread dbus
|
2006-07-23 17:11:35 +00:00
|
|
|
|
2011-03-09 12:34:25 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-12-10 23:34:48 +00:00
|
|
|
PKG_REMOVE_FILES:=autogen.sh
|
2010-12-09 20:29:42 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
2010-09-07 10:04:42 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2009-05-04 23:33:02 +00:00
|
|
|
|
2011-11-30 12:44:08 +00:00
|
|
|
|
|
|
|
|
2006-07-23 17:11:35 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2006-10-22 22:28:12 +00:00
|
|
|
define Package/avahi/Default
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-11-30 12:44:08 +00:00
|
|
|
TITLE:=An mDNS/DNS-SD implementation
|
2006-10-22 22:28:12 +00:00
|
|
|
URL:=http://www.avahi.org/
|
|
|
|
endef
|
|
|
|
|
2008-07-30 12:39:54 +00:00
|
|
|
define Package/avahi/Default/description
|
2011-11-30 12:44:08 +00:00
|
|
|
Avahi is an mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf)
|
|
|
|
implementation (library). It facilitates
|
|
|
|
service discovery on a local network -- this means that
|
|
|
|
you can plug your laptop or computer into a network and
|
|
|
|
instantly be able to view other people who you can chat with,
|
|
|
|
find printers to print to or find files being shared.
|
|
|
|
This kind of technology is already found in MacOS X
|
|
|
|
(branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf')
|
2008-07-30 12:39:54 +00:00
|
|
|
and is very convenient.
|
|
|
|
endef
|
|
|
|
|
2006-07-23 17:11:35 +00:00
|
|
|
define Package/libavahi
|
2006-10-22 22:28:12 +00:00
|
|
|
$(call Package/avahi/Default)
|
2006-07-23 17:11:35 +00:00
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
2012-09-19 15:09:21 +00:00
|
|
|
DEPENDS:=+libdaemon +libpthread +libgdbm +SSP_SUPPORT:libssp
|
2006-10-22 22:28:12 +00:00
|
|
|
TITLE+= (library)
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi/description
|
2009-05-14 07:13:06 +00:00
|
|
|
$(call Package/avahi/Default/description)
|
2008-07-30 12:39:54 +00:00
|
|
|
.
|
2011-11-30 12:44:08 +00:00
|
|
|
The libavahi package contains the mDNS/DNS-SD shared libraries,
|
|
|
|
used by other programs. Specifically, it provides
|
|
|
|
libavahi-core and libavahi-common libraries.
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
By default, it is built without D-Bus support,
|
|
|
|
i.e. the --disable-dbus configuration flag is set.
|
2011-11-30 12:44:08 +00:00
|
|
|
To enable D-Bus support, select the package
|
|
|
|
libavahi-dbus-support.
|
2006-10-22 22:28:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-autoipd
|
|
|
|
$(call Package/avahi/Default)
|
2011-03-12 06:16:47 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-10-22 22:28:12 +00:00
|
|
|
DEPENDS:=+libdaemon
|
2011-11-30 12:44:08 +00:00
|
|
|
TITLE:=IPv4LL network address configuration daemon
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-autoipd/description
|
2008-07-30 12:39:54 +00:00
|
|
|
$(call Package/avahi/Default/description)
|
|
|
|
.
|
|
|
|
This package implements IPv4LL, "Dynamic Configuration of IPv4 Link-Local
|
|
|
|
Addresses" (IETF RFC3927), a protocol for automatic IP address configuration
|
|
|
|
from the link-local 169.254.0.0/16 range without the need for a central
|
|
|
|
server. It is primarily intended to be used in ad-hoc networks which lack a
|
|
|
|
DHCP server.
|
2006-07-23 17:11:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-daemon
|
2006-10-22 22:28:12 +00:00
|
|
|
$(call Package/avahi/Default)
|
2011-03-12 06:16:47 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2012-08-24 06:16:36 +00:00
|
|
|
ifeq ($(BUILD_VARIANT),dbus)
|
2012-06-13 11:02:33 +00:00
|
|
|
DEPENDS:=+libavahi +libexpat +librt +libdbus
|
2012-08-24 06:16:36 +00:00
|
|
|
else
|
|
|
|
DEPENDS:=+libavahi +libexpat +librt
|
|
|
|
endif
|
2006-10-22 22:28:12 +00:00
|
|
|
TITLE+= (daemon)
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-daemon/description
|
2008-07-30 12:39:54 +00:00
|
|
|
$(call Package/avahi/Default/description)
|
|
|
|
.
|
|
|
|
This package contains an mDNS/DNS-SD daemon.
|
2006-07-23 17:11:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-daemon/conffiles
|
|
|
|
/etc/avahi/avahi-daemon.conf
|
|
|
|
/etc/avahi/services/http.service
|
|
|
|
/etc/avahi/services/ssh.service
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-dnsconfd
|
2006-10-22 22:28:12 +00:00
|
|
|
$(call Package/avahi/Default)
|
2011-03-12 06:16:47 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-07-26 01:26:21 +00:00
|
|
|
DEPENDS:=+libavahi
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
TITLE:=A Unicast DNS server from mDNS/DNS-SD configuration daemon
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-dnsconfd/description
|
2008-07-30 12:39:54 +00:00
|
|
|
$(call Package/avahi/Default/description)
|
|
|
|
.
|
2011-04-06 20:50:00 +00:00
|
|
|
This package contains a Unicast DNS server from mDNS/DNS-SD configuration
|
2008-07-30 12:39:54 +00:00
|
|
|
daemon, which may be used to configure conventional DNS servers using mDNS
|
|
|
|
in a DHCP-like fashion. Especially useful on IPv6.
|
|
|
|
endef
|
|
|
|
|
2011-11-30 12:44:08 +00:00
|
|
|
define Package/libavahi-dbus-support
|
|
|
|
$(call Package/avahi/Default)
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
VARIANT:=dbus
|
|
|
|
DEPENDS:=+dbus +libavahi
|
|
|
|
TITLE+= (D-Bus support)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi-dbus-support/description
|
|
|
|
$(call Package/libavahi/description)
|
2011-07-06 08:19:14 +00:00
|
|
|
.
|
2011-11-30 12:44:08 +00:00
|
|
|
The libavahi-dbus-support package enables
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
D-Bus support in avahi, needed to support
|
2011-11-30 12:44:08 +00:00
|
|
|
the libavahi-client library and avahi-utils.
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
Selecting this package modifies the build configuration
|
|
|
|
so that avahi packages are built with support for D-BUS enabled;
|
2011-11-30 12:44:08 +00:00
|
|
|
it does not generate a separate binary of its own.
|
|
|
|
It also automatically adds the D-Bus package to the build.
|
|
|
|
libavahi-dbus-support is selected automatically if you select
|
|
|
|
libavahi-client or avahi-utils.
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi-client
|
|
|
|
$(call Package/avahi/Default)
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
2011-11-30 12:44:08 +00:00
|
|
|
DEPENDS:=+libavahi-dbus-support +avahi-daemon
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
TITLE+= (libavahi-client library)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi-client/description
|
|
|
|
$(call Package/avahi/Default/description)
|
|
|
|
.
|
|
|
|
This packages adds the libavahi-client library.
|
2011-11-30 12:44:08 +00:00
|
|
|
It also automatically adds the required
|
|
|
|
libavahi-dbus-support and the avahi-daemon packages.
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
For more information please see the avahi documentation.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-utils
|
|
|
|
$(call Package/avahi/Default)
|
|
|
|
SUBMENU:=IP Addresses and Names
|
|
|
|
DEPENDS:=+libavahi-client
|
|
|
|
TITLE+= (utilities)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-utils/description
|
|
|
|
$(call Package/avahi/Default/description)
|
|
|
|
.
|
|
|
|
This packages installs the following avahi utility programs:
|
|
|
|
avahi-browse, avahi-publish, avahi-resolve, avahi-set-host-name.
|
2011-11-30 12:44:08 +00:00
|
|
|
It also automatically adds the required libavahi-client package.
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
For more information please see the avahi documentation.
|
|
|
|
endef
|
|
|
|
|
2009-05-04 23:33:02 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC) -DGETTEXT_PACKAGE
|
|
|
|
|
2008-07-30 12:39:54 +00:00
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-glib \
|
|
|
|
--disable-gobject \
|
|
|
|
--disable-qt3 \
|
|
|
|
--disable-qt4 \
|
|
|
|
--disable-gtk \
|
2010-10-23 19:05:45 +00:00
|
|
|
--disable-gtk3 \
|
2008-07-30 12:39:54 +00:00
|
|
|
--with-xml=expat \
|
|
|
|
--disable-dbm \
|
|
|
|
--enable-gdbm \
|
|
|
|
--enable-libdaemon \
|
|
|
|
--disable-python \
|
|
|
|
--disable-pygtk \
|
|
|
|
--disable-python-dbus \
|
|
|
|
--disable-mono \
|
|
|
|
--disable-monodoc \
|
|
|
|
--disable-doxygen-doc \
|
|
|
|
--disable-doxygen-dot \
|
|
|
|
--disable-doxygen-man \
|
|
|
|
--disable-doxygen-rtf \
|
|
|
|
--disable-doxygen-xml \
|
|
|
|
--disable-doxygen-chm \
|
|
|
|
--disable-doxygen-chi \
|
|
|
|
--disable-doxygen-html \
|
|
|
|
--disable-doxygen-ps \
|
|
|
|
--disable-doxygen-pdf \
|
|
|
|
--disable-xmltoman \
|
|
|
|
--with-distro=none \
|
|
|
|
--with-avahi-user=nobody \
|
|
|
|
--with-avahi-group=nogroup \
|
|
|
|
--with-autoipd-user=nobody \
|
2008-07-30 14:16:45 +00:00
|
|
|
--with-autoipd-group=nogroup
|
|
|
|
|
|
|
|
ifneq ($(CONFIG_SSP_SUPPORT),y)
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--disable-stack-protector
|
|
|
|
endif
|
2008-07-30 12:39:54 +00:00
|
|
|
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
ifeq ($(BUILD_VARIANT),dbus)
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-dbus
|
2011-11-30 12:44:08 +00:00
|
|
|
else
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--disable-dbus
|
|
|
|
endif
|
|
|
|
|
2008-07-30 12:39:54 +00:00
|
|
|
CONFIGURE_VARS+= \
|
2010-10-23 19:05:45 +00:00
|
|
|
CFLAGS="$$$$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" \
|
2012-06-13 11:02:33 +00:00
|
|
|
ac_cv_header_sys_capability_h=no \
|
2006-07-23 17:11:35 +00:00
|
|
|
|
2006-10-22 22:28:12 +00:00
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-* $(1)/usr/lib/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
|
|
|
endef
|
|
|
|
|
2011-11-30 12:44:08 +00:00
|
|
|
define Package/libavahi-dbus-support/install
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/dbus-1/system.d
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/dbus-1/system.d/* $(1)/etc/dbus-1/system.d
|
2006-10-22 22:28:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi/install
|
[package] avahi: Makefile fix to honor configuration changes
his patch is to fix a long-standing problem with avahi builds:
if you change the configuration, sometimes the relevant packages are not
correctly rebuilt; see, for example, ticket #11110.
Background: avahi can be built in two modes: with or without D-BUS support.
If you switch builds from one mode to the other and then back again, the
packages will not
always be rebuilt as required. For example, if you choose to build avahi (1)
without D-BUS support,
then (2) with D-BUS support and then (3) without D-BUS support, the packages
will not
be rebuilt the third time, and you'll be left with the packages
from the second build -- packages that require D-BUS support.
The patch works by deleting the ".build" file belonging to the mode not
currently chosen, so
that if that mode is chosen again in the future, its packages will always be
rebuilt.
A few small corrections to the explanatory text are included.
Signed-off-by <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:30 +00:00
|
|
|
# The next line removes the ".build" file from the "other" build.
|
|
|
|
# The effect is that, if the other build is re-selected in the future,
|
|
|
|
# the build system will be forced to replace all the code in the
|
|
|
|
# installer packages, removing anything from the current build.
|
|
|
|
# "Other" means this: if the current build is "dbus", the other is "nodebus",
|
|
|
|
# and if the current build is "nodbus", the other is "dbus".
|
|
|
|
$(RM) -f $(PKG_ALT_DIR)/.built
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2006-10-22 22:28:12 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-{common,core}.so.* $(1)/usr/lib/
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libavahi-client/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-client.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-utils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
2006-10-22 22:28:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-autoipd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/avahi
|
2006-10-22 22:28:12 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-autoipd.action $(1)/etc/avahi/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-autoipd $(1)/usr/sbin/
|
2006-10-22 22:28:12 +00:00
|
|
|
endef
|
|
|
|
|
2006-07-23 17:11:35 +00:00
|
|
|
define Package/avahi-daemon/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-daemon $(1)/usr/sbin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/avahi
|
|
|
|
$(INSTALL_DATA) ./files/avahi-daemon.conf $(1)/etc/avahi/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/avahi/services
|
|
|
|
$(INSTALL_DATA) ./files/service-http $(1)/etc/avahi/services/http.service
|
|
|
|
$(INSTALL_DATA) ./files/service-ssh $(1)/etc/avahi/services/ssh.service
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/avahi-daemon.init $(1)/etc/init.d/avahi-daemon
|
2006-07-23 17:11:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/avahi-dnsconfd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/avahi
|
2006-07-23 17:11:35 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-dnsconfd.action $(1)/etc/avahi/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(1)/usr/sbin/
|
2006-07-23 17:11:35 +00:00
|
|
|
endef
|
|
|
|
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
$(eval $(call BuildPackage,libavahi-client))
|
|
|
|
$(eval $(call BuildPackage,avahi-utils))
|
2011-11-30 12:44:08 +00:00
|
|
|
$(eval $(call BuildPackage,libavahi-dbus-support))
|
2006-07-23 17:11:35 +00:00
|
|
|
$(eval $(call BuildPackage,libavahi))
|
2006-10-22 22:28:12 +00:00
|
|
|
$(eval $(call BuildPackage,avahi-autoipd))
|
2006-07-23 17:11:35 +00:00
|
|
|
$(eval $(call BuildPackage,avahi-daemon))
|
|
|
|
$(eval $(call BuildPackage,avahi-dnsconfd))
|
[package] update avahi to included D-Bus support, libavahi-client library and avahi-utils tools (#8929)
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 21:22:25 +00:00
|
|
|
|