This patch fixes an issue reported by Damiano Albani.
Changeset 32330, while fixing one bug, unfortunately introduces another one -- it makes
avahi-daemon always dependent on the dbus package, causing dbus to be
loaded even when it's not needed.
This patch makes avahi-daemon dependent on dbus only is avahi dbus support has been selected.
Signed-off-by Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33267 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patches the /etc/avahi/avahi-daemon.conf file, setting the rlimit-nproc parameter to 3.
Thepresent value for rlimit-nproc of 1 is too low and can cause the avahi-daemon to refuse to start, with a message:
chroot.c: fork() failed: Resource temporarily unavailable
This patch changes the setting of rlimit-nproc to 3, the same setting as
is in the default avahi-daemon.conf file.
The issue was reported in Ticket #11039.
Signed-off-by Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33221 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch updates the avahi Makefile to correct a number of errors. In
particular it handles the choice of D-BUS- or non-D-BUS-enabled packages
more consistently.
Packages that don't require D-BUS support are compiled with D-BUS
support disabled by default, keeping the build as small as possible.
Support for D-BUS can be selected if desired.
Selecting packages that require D-BUS support -- avahi-utils or
libavahi-client -- will automatically cause all packages to be built
with D-BUS support and will add the D-BUS package to the build.
Note that after this update, the D-BUS package will be needed as part of
the compilation environment, so it will be downloaded and compiled, but
it will not be added to the build unless the user has enabled D-BUS
support or has selected avahi-utils or the avahi-client library, both of
which need it.
Tested on trunk r29283.
Signed-off-by Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29359 3c298f89-4303-0410-b956-a3cf2f4a3e73
This updates the avahi package to the latest version, 0.6.30.
>From the avahi release notes:
"This is a bugfix release.
Make IPv6 work again
i18n updates
Minor other updates"
It may be relevant to ticket 7424.
(A few typos in the OpenWrt Makefile are also fixed.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26502 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
This updates the avahi package from 0.6.25 to 0.6.28, which, according
to the avahi developers, incorporates bugfixes and fixes minor security
issues.
There seems to be an ongoing problem in certain situations where the
avahi-daemon stops working, e.g. see
http://www.mail-archive.com/avahi@lists.freedesktop.org/msg01512.html
It is not known if 0.6.28 fixes that, but at least we will be working
off the latest version.
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23595 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 Makefile patches for enabling parallel builds. Tested on Linux (8-core) and Darwin (12-core), individually and from clean build_root. The first set is from trunk, the second is from feeds/packages.
Signed-off-by: Joe Roback <joe@roback.cc>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22967 3c298f89-4303-0410-b956-a3cf2f4a3e73