summaryrefslogtreecommitdiffstats
path: root/package/avahi
Commit message (Collapse)AuthorAgeFilesLines
* avahi: do not install S05avahi-setup.sh in systemd setupThomas Petazzoni2014-10-191-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AVAHI_INSTALL_AUTOIPD was unconditionally installing S05avahi-setup.sh to /etc/init.d/, even in systemd configurations. Therefore, this commit: * Moves the installation of S05avahi-setup.sh to a separate variable called AVAHI_INSTALL_AUTOIPD_INIT_SYSV. * Makes sure to use 'install -D' and a full destination path when installing S05avahi-setup.sh. * Moves the definition of AVAHI_INSTALL_AUTOIPD inside the BR2_PACKAGE_AVAHI_AUTOIPD conditional, so that both the variable definition and its addition to AVAHI_POST_INSTALL_TARGET_HOOKS are enclosed in the conditional. * Moves the S50avahi-daemon installation from AVAHI_INSTALL_INIT_SYSV to AVAHI_INSTALL_DAEMON_INIT_SYSV. * Uses 'install -D' to install S50avahi-daemon. * Adds a AVAHI_INSTALL_INIT_SYSV definition which calls both AVAHI_INSTALL_AUTOIPD_INIT_SYSV and AVAHI_INSTALL_DAEMON_INIT_SYSV. Note: in a systemd configuration, there is no provision to do what S05avahi-setup.sh is doing for sysv init configurations. Maybe this is something that our systemd people should have a look at. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: remove useless 'mkdir -p' in AVAHI_INSTALL_INIT_SYSTEMDThomas Petazzoni2014-10-191-2/+0
| | | | | | | | | In AVAHI_INSTALL_INIT_SYSTEMD, since we're using 'install -D' to install /usr/lib/tmpfiles.d/avahi.conf in $(TARGET_DIR), there's no need to have a 'mkdir -p' before that, since 'install -D' creates the directories as needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: fix indentation in AVAHI_INSTALL_INIT_SYSTEMDThomas Petazzoni2014-10-191-9/+8
| | | | | | | The indentation for commands should be made with tabs, not spaces, so fix that up in AVAHI_INSTALL_INIT_SYSTEMD. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/avahi: use upstream-provided systemd filesAndré Erdmann2014-10-192-19/+4
| | | | | | | | | | | | | | | | | | | | | | When using the buildroot-provided avahi-daemon.service file, bootup never finishes, because multi-user.target is waiting for avahi-daemon to exit, which is caused by "Type=oneshot" (in avahi-daemon.service). Upstream's systemd files get already installed to /lib/systemd. They're not an exact copy of S50avahi-daemon, but work flawlessly, so use these units: * avahi-daemon.service, auto-enabled (ln -fs in AVAHI_INSTALL_INIT_SYSTEMD) * avahi-daemon.socket, not auto-enabled, but a dependency of avahi-daemon.service * avahi-dnsconfd.service, auto-enabled [Thomas: use simpler absolute paths for the symbolic links instead of relative paths. Suggested by Maxime Hadjinlian.] Signed-off-by: André Erdmann <dywi@mailerd.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/.mk files: remove --localstatedir=/var from autotools packagesJörg Krause2014-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Remove --localstatedir=/var from all autotools packages where it is no longer needed. Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is used by dhcp to set the default directory for the leases files. This can also be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in dhcp.mk. A custom --localstatedir is left in: * proftpd.mk * mysql.mk This is safe to do: One of the good thing with autoconf is that if you pass: --localstatedir=/var ... --localstatedir=/var/something Then /var/something will be used. So, we can set --localstatedir=/var by default in the infrastructure, and still have certain packages doing weird things override it. [Thanks to Thomas Petazzoni] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-10/+10
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: add option to build the libdns_sd (Bonjour) compatibility libraryPeter Korsgaard2014-09-222-0/+22
| | | | | | As requested on the list. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: fixup init scripts after default user removalPeter Korsgaard2014-06-232-2/+2
| | | | | | | | Commit d3ccfa362b (avahi: run as avahi user/group instead of default) changed avahi-autoipd to run as the avahi user, but forgot to update the init script/systemd config to match. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* avahi: run as avahi user/group instead of defaultPeter Korsgaard2014-06-071-4/+8
| | | | | | | Create an avahi specific user/group and use it instead of the global 'default' one, so it can be removed. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/avahi: does not build with static-onlyYann E. MORIN2014-05-161-0/+1
| | | | | | | | | | | | | | | | | | ... and propagate to reverse dependencies. Fixes (which I reproduced here): http://autobuild.buildroot.net/results/ea2/ea2c8f20c4032bf82876805ea787a55834091cec Should fix (which I did not even try to reproduce): http://autobuild.buildroot.net/results/4ef/4ef5bfc17f50bddb00f7ef3d62fc1fe963b7da82 http://autobuild.buildroot.net/results/76e/76e4854812b0ef3862c080eead4012b35ef27f0f http://autobuild.buildroot.net/results/5bf/5bfb3fd9fe61bef5f998dc5999ce2060c334662c http://autobuild.buildroot.net/results/dc6/dc607c35471ef6dda04e06ad05ae7794615af578 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* avahi: Add systemd init scriptMaxime Hadjinlian2014-05-033-3/+35
| | | | | | | | | | | | | | | This consists of two files: - avahi-daemon.service: It start/stop the daemon avahi, it's a copy of the S50avahi-daemon script. - avahi_tmpfiles.conf: This one gets installed in /usr/lib/tmpfiles.d/ to be used by systemd-tmpfiles which will create the correct directory structure with the appropriate rights. This is the equivalent of the S05avahi-setup.sh script. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-1/+1
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the default value of the $(PKG)_SOURCE variableJerzy Grzegorek2013-10-061-1/+0
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* avahi: remove double dependency on gettextArnout Vandecappelle (Essensium/Mind)2013-07-301-4/+1
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: minor cleanupSpenser Gilliland2013-07-271-2/+4
| | | | Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
* busybox: use a single udhcpc script, with or without avahi-autoipdPeter Korsgaard2013-06-262-60/+0
| | | | | | | | | | | | | 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>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: needs threadsGustavo Zacarias2013-04-041-0/+4
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/bc64cd3499d7c3c674e8e79b749ff96a756852ea/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: add missing dependency on host-gettextThomas Petazzoni2013-03-261-1/+2
| | | | | | | | 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>
* libdaemon: needs mmuGustavo Zacarias2012-11-281-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-1/+1
| | | | | | 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>
* Remove all references to libintlThomas Petazzoni2012-09-202-4/+3
| | | | | | | | | | | | | | | 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>
* avahi: add license infoDanomi Manchego2012-08-151-0/+2
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | 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>
* packages: remove redundant INSTALL_TARGET=YES declarationsGustavo Zacarias2012-03-111-1/+0
| | | | | | 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>
* avahi: bump versionPeter Korsgaard2012-02-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: S05avahi-setup.sh: fix s/pid/ipd/ typoPeter Korsgaard2012-01-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | 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>
* avahi: ensure locale data is installed into /usr/share, not /usr/lib v2Peter Korsgaard2011-05-131-1/+1
| | | | | | | Was fixed in 0201ffcd1624, but nowadays avahi uses DATADIRNAME rather than DATADIR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: bump versionPeter Korsgaard2011-04-041-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: bump versionPeter Korsgaard2011-03-091-1/+1
| | | | | | Mainly bugfixes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: bump version, remove dbus workaroundPeter Korsgaard2011-03-011-12/+1
| | | | | | This is now fixed upstream. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: fix avahi access through dbusPeter Korsgaard2011-02-281-0/+11
| | | | | | | | | | | 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>
* package: apply libtool patch where possiblePeter Korsgaard2011-02-171-1/+0
| | | | | | | | | | 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>
* package: fix python upgrade falloutPeter Korsgaard2011-01-261-1/+1
| | | | | | | 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>
* avahi: ensure locale data is installed into /usr/share, not /usr/libPeter Korsgaard2010-10-071-1/+2
| | | | | | Otherwise it won't be found / target-localepurge won't remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avahi: convert old-style hook to new-style hookThomas Petazzoni2010-09-121-6/+18
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: pkg-config is neededThomas Petazzoni2010-07-291-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: bump versionPeter Korsgaard2010-07-192-1/+25
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update packages to BR2_NEEDS_GETTEXT_IF_LOCALEThomas Petazzoni2010-05-242-3/+3
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: avahi-autopid: make sure TARGET_DIR/var/lib existsNick Leverton2010-05-211-0/+1
| | | | | | | Closes #1801 Signed-off-by: Nick Leverton <nick@leverton.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni2010-05-202-3/+3
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* avahi: fix build on uclibc 0.9.31 without ipv6 supportPeter Korsgaard2010-05-181-0/+147
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}Thomas Petazzoni2010-04-111-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud