59 Commits

Author SHA1 Message Date
juhosg
f3a4ae2b97 packages: avahi: clean up dependencies
libavahi does not require libdaemon nor libgdbm. Move the dependencies
into the right avahi sub-packages to allow smaller footprint when only
using libavahi.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 15:58:15 +00:00
florian
058c9ac1ab [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
florian
6d5ac99f02 [package] libavahi must depend on libssp if SSP enabled
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:21 +00:00
blogic
03bae51978 [packages] avahi: remove inappropriate dependency on dbus in Changeset 32330
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
2012-08-24 06:16:36 +00:00
blogic
869bc95451 [packages] avahi fix for Ticket #11039 -- rlimit-nproc set too low
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
2012-08-22 09:59:23 +00:00
florian
b13286d8d6 [package] avahi: bump to 0.6.31
Signed-off-by Mike Brady <mikebrady@eircom.net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 14:58:51 +00:00
jow
7b9eb980c4 [packages] avahi: avahi-daemon: explicitely disable libcap, depend on librt and libdbus
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 11:02:33 +00:00
jow
4ad049bc7f avahi: do not announce a specific front page
Announcing /index.html as frontpage is right when luci or x-wrt is installed
as web gui since both applications come with an /index.html which redirect afterwards.

However, when using an other front page, e.g. an /index.php then the announcement
is wrong and results in a 404 Not Found.
So I wonder/suggest whether the default avahi service could not announce
such a specific frontpage but only the generic "top level" directory.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 15:07:58 +00:00
jow
fd90d0f7a8 [packages] avahi: fix autoreconf with automake v1.11.3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 20:50:04 +00:00
blogic
827825fd7f avahi: cleanup / enhance
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
2011-11-30 12:44:08 +00:00
nico
5d5098542d packages: remove dependency on obsolete LINUX_2_4 symbol
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 18:07:06 +00:00
jow
f008f4001b [packages] avahi: disable the dbus support on brcm-2.4, it does not build
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 11:10:59 +00:00
cshore
73f3062a00 [packages] libs/avahi: Version bump (forgotten on previous update)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 05:18:49 +00:00
cshore
52fb494968 [packages] libs/avahi: fixed mutating libavahi/avahi-daemon. The package was producing a package avahi which required dbus if libavahi-dbus-support was selected (even as module), and without dbus if that package was not select. This has been fixed so that there are now dbus versions of the binary packages and non-dbus versions of the ones that can be without dbus, so that the smaller platformas can still have avahi without dbus, and those who want the dbus avahi can have it as well.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:19:14 +00:00
acinonyx
baa7836e6b [packages] avahi: Update avahi to version 0.6.30 (ref Ticket 7424, , ipv6)
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
2011-04-06 20:50:00 +00:00
florian
f7ee28cb2c [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
cshore
eec5daa5b4 [net] IP Addresses and Names: Moved DHCP, DNS, mDNS, and DDNS program into IP Addresses and Names submenu
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-12 06:16:47 +00:00
jow
f983ce8a09 [packages] avahi: update to v0.6.29
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 12:34:25 +00:00
jow
5d5babc126 [packages] clean fixups
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 23:34:48 +00:00
jow
a3c3581948 [packages] avahi: force full autoreconf, fixes forkbomb when gettextize is not installed (wtf?!)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 20:29:42 +00:00
florian
62be5cb5de [package] update avahi to 0.6.28
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
2010-10-23 19:05:45 +00:00
mb
aa323f78f1 From: Joseph Roback <openwrt-devel@roback.cc>
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
2010-09-07 10:04:42 +00:00
lars
1e28de24b4 [packages] Use default templates instead of custom reimplementations where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 13:10:21 +00:00
nico
1daf9469b7 [packages] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 11:06:19 +00:00
nico
2c011d535c [packages] remove 2.4 specific configure overrides (handled in source:/trunk/include/site/mipsel-linux2.4-uclibc?rev=12896#L5)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 15:26:18 +00:00
nbd
fe2dc3ff9f add a new package for intltool (host only) to get rid of another prereq check
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 22:39:37 +00:00
agb
b5c97c27ea [packages] Require* calls must now be placed before BuildPackage calls
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-14 07:13:06 +00:00
nbd
3f359f8e99 avahi: upgrade, remove gettext support (it breaks on a few host systems), fix up autofools
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 23:33:02 +00:00
nbd
996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00
lars
cbfd0df001 Fix avahi pkg config file creation.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 16:02:31 +00:00
nbd
b0190e566b enable $(FPIC) for a few more packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:43:15 +00:00
nbd
a0b3f7b86f fix avahi compile on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 01:49:18 +00:00
florian
c15d9f1a20 Check SSP support availabily for openssh and avahi
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 14:16:45 +00:00
nico
c37a770010 avahi fixes:
- disable stack smashing protection (closes: #3820)
 - set avahi-autoipd user & group to nobody:nogroup
 - fix package descriptions & formatting
 - add prereq on intltool-update
 - bumb release number


git-svn-id: svn://svn.openwrt.org/openwrt/packages@12009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:39:54 +00:00
florian
976797398e Upgrade avahi to 0.6.23 (#3806)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-24 13:31:28 +00:00
nbd
546885957f pkg-config is built by the build system
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-04 22:22:52 +00:00
florian
37f876052c Fix avahi compilation failures with inotify (#2936)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 10:09:28 +00:00
nbd
bf06dbb788 remove UninstallDev
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 01:59:55 +00:00
nbd
e296673ba6 packages: Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@9695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 18:59:01 +00:00
juhosg
8df5b58880 [packages] libs/avahi: update to version 0.6.21 (closes #2729)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-08 19:20:31 +00:00
nbd
e8a35c5573 fix avahi compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-21 13:25:30 +00:00
blogic
d23b77f346 fix compile bug of avahi
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 16:59:20 +00:00
blogic
0550a9ac78 remove PKG_CAT from packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 18:46:37 +00:00
blogic
293efb7831 DESCRIPTION:= is obselete
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 04:32:56 +00:00
blogic
1120328d15 InstallDev should be using (1) and not (STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 03:20:26 +00:00
blogic
ef6b16d4d5 added our own pkg-config wrapper, making the sed foo on *.pc files obselete 2/2
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 23:51:22 +00:00
mbm
fa3b8c3b5b START/STOP values must be specified in the init script
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:38:53 +00:00
nico
1ed64ee518 update avahi to 0.6.17, fix dependencies on libexpat & libpthread, remove "enable-dbus" from config file since dbus is disabled (closes: #1534)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-30 07:29:06 +00:00
nico
4d878e0bbe cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
nico
19d00331db update avahi to 0.6.16 - it fixes 2 security issues:
* CVE-2006-6870
 * CVE-2006-5461


git-svn-id: svn://svn.openwrt.org/openwrt/packages@6062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 16:09:10 +00:00