Commit Graph

93 Commits

Author SHA1 Message Date
Spenser Gilliland
3fed58bd50 avahi: minor cleanup
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
2013-07-27 16:48:29 +02:00
Peter Korsgaard
0c229f70ea busybox: use a single udhcpc script, with or without avahi-autoipd
We're currently using two different udhcpc scripts, one in the busybox
package and another in the avahi one, which calls avahi-autoipd on
dhcp failures.

The avahi one actually only does something differently from the default
if avahi-autoipd is available, so let's just always use this one instead
of the complicated logic about writing the file if not present /
overwriting it afterwards.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-26 14:22:13 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Alexandre Belloni
f2c2f25cef Remove description and url from header
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:00 +02:00
Alexandre Belloni
702704014d Fix package headers to comply with coding style
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 17:26:35 +02:00
Gustavo Zacarias
c830a1a510 avahi: needs threads
Fixes:
http://autobuild.buildroot.net/results/bc64cd3499d7c3c674e8e79b749ff96a756852ea/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-04 22:48:40 +02:00
Thomas Petazzoni
040a82bbb4 avahi: add missing dependency on host-gettext
Fixes:
http://autobuild.buildroot.org/results/1dd5993d2ead9a92e2eb73227b19697728950b86/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-26 09:27:07 +01:00
Gustavo Zacarias
9e12a985a1 libdaemon: needs mmu
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-28 10:39:08 -08:00
Gustavo Zacarias
019a581f89 packages: switch to host-pkgconf
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-29 22:02:55 +01:00
Thomas Petazzoni
bbcbed1829 Remove all references to libintl
From now on, packages only need to select the BR2_PACKAGE_GETTEXT
option and depend on the 'gettext' package to get the necessary i18n
libraries installed on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
CC: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-20 21:33:38 +02:00
Danomi Manchego
6ba785ca6c avahi: add license info
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-15 12:02:44 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Gustavo Zacarias
9ae23e3911 packages: remove redundant INSTALL_TARGET=YES declarations
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-11 22:30:33 +01:00
Peter Korsgaard
68f6519547 avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-15 08:41:05 +01:00
Peter Korsgaard
7c4c38403d avahi: S05avahi-setup.sh: fix s/pid/ipd/ typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-26 15:19:26 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Peter Korsgaard
b9d4ab0056 avahi: ensure locale data is installed into /usr/share, not /usr/lib v2
Was fixed in 0201ffcd16, but nowadays avahi uses DATADIRNAME rather
than DATADIR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-13 09:30:41 +02:00
Peter Korsgaard
01931cc264 avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-04 14:50:35 +02:00
Peter Korsgaard
034b92c685 avahi: bump version
Mainly bugfixes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-09 08:58:54 +01:00
Peter Korsgaard
75adc4ab5c avahi: bump version, remove dbus workaround
This is now fixed upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-01 14:13:56 +01:00
Peter Korsgaard
dfee7243c6 avahi: fix avahi access through dbus
Ensure that the avahi dbus service gets installed if dbus support is
enabled, otherwise avahi access through dbus fails (as clients try
to start the daemon and dbus doesn't know how to do this).

Fixed upstream in 0.6.28 (http://avahi.org/ticket/319) but this
workaround is simpler/safer for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 16:04:54 +01:00
Peter Korsgaard
0be744e495 package: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Notice: php not changed, as it uses a very old 1.5 version for the
embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:02:52 +01:00
Peter Korsgaard
2c3e18cdd8 package: fix python upgrade fallout
A number of packages depended on the libpython make target for python
support, which no longer exist.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 11:18:50 +01:00
Peter Korsgaard
0201ffcd16 avahi: ensure locale data is installed into /usr/share, not /usr/lib
Otherwise it won't be found / target-localepurge won't remove it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-07 16:00:41 +02:00
Thomas Petazzoni
2802509191 avahi: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:24:58 +02:00
Thomas Petazzoni
9abe052f04 avahi: pkg-config is needed
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29 22:18:56 +02:00
Peter Korsgaard
4e302ac83d avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 16:01:28 +02:00
Thomas Petazzoni
dbdb4e33f0 Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-24 22:33:06 +02:00
Nick Leverton
7810eebb73 avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists
Closes #1801

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21 21:03:39 +02:00
Thomas Petazzoni
542fbe8520 Make all package using gettext rely on BR2_NEEDS_GETTEXT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:27 +02:00
Peter Korsgaard
8272501ea0 avahi: fix build on uclibc 0.9.31 without ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-18 10:42:13 +02:00
Thomas Petazzoni
0e56099e70 Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni
7ba5e38629 avahi: add dependency on host-intltool
Without intltool, configuration fails with:

checking for intltool >= 0.35.0... ./configure: line 28714: intltool-update: command not found
 found

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-25 14:56:39 +01:00
Peter Korsgaard
9e76714747 package: get rid of redundant malloc related configure presets
Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused
BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 19:58:45 +01:00
Peter Korsgaard
871435fdb5 avahi: udhcpc default.script: only bring up avahi-autoipd on nak/timeout
The avahi udhcpc script used to start up avahi-autoipd at defconfig
(init) time, and then kill it if a dhcp lease was acquired, leading
to extra network traffic.

Change it to only start avahi-autoipd on timeout and dhcp nak.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-04 14:58:57 +02:00
Peter Korsgaard
90ac14b2a0 avahi: gtk support needs libglade as well 2009-03-19 11:41:05 +00:00
Peter Korsgaard
d20a2eb972 avahi: fix python path 2009-03-18 22:39:03 +00:00
Peter Korsgaard
4801198ae7 avahi: enable glib / gtk support if available 2009-03-17 14:44:20 +00:00
Peter Korsgaard
6c687a3fb3 avahi: enable python support if python is enabled
Not particular useful until we add dbus-python (which depends on a fixed up
dbus-glib, which in turn depends on us starting to compile glib/dbus/dbus-glib
for the host as well) - But that's for another day.
2009-03-13 15:38:03 +00:00
Peter Korsgaard
bc9512c09d avahi: fix build with libintl but without locale support in toolchain 2009-03-10 22:47:21 +00:00
Peter Korsgaard
469a88e4c7 avahi: bump version 2009-03-05 21:38:44 +00:00
Peter Korsgaard
744c8224a2 avahi: convert to Makefile.autotools.in format 2009-03-05 21:38:40 +00:00
Peter Korsgaard
69dcc7c8c7 avahi/dnsmasq: adjust dbus dep after Makefile.autotools.in conversion 2009-02-26 20:57:29 +00:00
Peter Korsgaard
7b83993c3e avahi-autoipd: fix issue with repeated builds
The avahi-autoipd target install step adds /var/lib/avahi-autoipd as a
symlink to /tmp/avahi-autoipd, which is fine, except if your /var/lib is
already a symlink to /tmp (E.G. like the default target_skeleton is).

If that's the case, then you end up adding a /tmp/avahi-autoipd symlink
pointing to itself, causing subsequent builds to fail
(Too many levels of symbolic links in the ln -sf call). Fix it by simply
first removing the symlink if it's there.
2009-01-28 15:12:05 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
7fdbdfc559 avahi: make sure destination dirs exists 2008-12-15 16:09:03 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Hans-Christian Egtvedt
30e43682dd avahi: add dependency to host-autoconf
Avahi uses autoconf during ./configure, make sure it is available and used
before building avahi.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-04 16:13:08 +00:00
Hans-Christian Egtvedt
74c0b2b0f2 avahi: add dependencies in right order
This patch puts gettext and libintl before the avahi targets, thus making sure
they exist before avahi targets are built.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-01 10:28:44 +00:00
Peter Korsgaard
525bab78ad avahi: don't use BASE_DIR to reference source files
dest != source if we want to support out-of-tree builds
2008-08-31 20:23:37 +00:00