summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi
Commit message (Collapse)AuthorAgeFilesLines
* avahi: don't call DBus init script directlyRoss Burton2013-04-161-5/+1
| | | | | | | | | | | After installing Avahi we need DBus to reload it's configuration. In a pure-systemd image there isn't a DBus init script to reload, so cut out the middleman and just sent SIGHUP to all running dbus-daemon processes instead. (From OE-Core rev: b3e468294a0723b3ceafe2022bf9d735eee64678) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: explicitly disable systemd if we don't want it enabledRoss Burton2013-03-151-1/+1
| | | | | | | | (From OE-Core rev: 6126e7801542803aee1756aab41ba10a79bee092) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: move systemd support where it belongsMartin Jansa2013-03-052-5/+7
| | | | | | | | | | We don't want the systemd inherit in avahi-ui since that causes various warnings since PACKAGES is rewritten. (From OE-Core rev: 02492d43cd7095acb3cf29843a50444c28b4d994) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix installed but not shipped warningRobert Yang2013-03-051-1/+1
| | | | | | | | | | | | | | | | | | | The avahi recipe has a warning when build without systemd feature: WARNING: QA Issue: avahi: Files/directories were installed but not shipped /usr/share/dbus-1 The /usr/share/dbus-1 is empty without systemd feature, there would be /usr/share/dbus-1/system-services with systemd. Use rmdir to fix the problem, and remove the ${datadir}/dbus-1/interfaces from the FILES list which had been removed clearly by the do_install. [YOCTO #3939] (From OE-Core rev: 51cfcef15b59f7b97c871d9c0d6bf560c7b06c9b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: Enabling with systemdRadu Moisan2013-02-111-8/+13
| | | | | | | | | (From OE-Core rev: 6d89c6744a98dce1fee6a21f1dad1305f6bf6fb5) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix relative path in do_configureRoss Burton2013-02-041-1/+1
| | | | | | | | | | do_configure was assuming that $B is $S, so the relative path was wrong. Add a missing $S. (From OE-Core rev: 9c947cf76235624f3661341154575688cf528bed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: use useradd.bbclass to add avahi-autoipd userLaurentiu Palcu2012-12-191-11/+8
| | | | | | | | | | | | This is needed for the postinstalls to be run at do_rootfs time. [YOCTO #3605] (From OE-Core rev: 878cb7b76b19b03c51aa368b0bc037647c844a21) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa2012-09-191-1/+1
| | | | | | | | (From OE-Core rev: 211200fb98a72ba815e7c411fbebfd781879064c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: systemd postinst and postrm removed in favor of using systemd.bbclassSander van Grieken2012-09-021-19/+0
| | | | | | | | | | | The recipe's custom systemd service enable code is now handled by the meta-systemd bbappend recipe in meta-openembedded. (From OE-Core rev: 277d2fbe50a88a9aa830efd5e06b327e04ecd72d) Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix packaging of avahi-autoipdMarc Reilly2012-08-191-6/+5
| | | | | | | | | | | | | | | | - Avahi's "avahi-autoipd" file is in the dhcp/ folder, not dhcp3/ - udhcpc files were being installed but not being shipped in avahi-autoipd - do_install override for avahi-autoipd was not being called and is not required, so join it into regular do_install. - While at it, fixup string quoting in description. This makes avahi-autoipd work with simple ifup/down scripts. (From OE-Core rev: 172e663f1b00733cf956cb118d7a5e1a252c1671) Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-ui: Remove the locale files and rely on the main avahi package for theseRichard Purdie2012-07-191-0/+1
| | | | | | | | | | Both avahi and avahi-ui were installing locale files. This is pointless duplication and they are identical between the two packages. This changes things so they're only handled by the main package. (From OE-Core rev: a4f31439a6a5c7e1766eff6a6e54ab87f3370c29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix build with automake 1.12.1Nitin A Kamble2012-07-172-1/+36
| | | | | | | | | | | | added a new patch : fix_for_automake_1.12.x.patch More information in the patch header. (From OE-Core rev: d2662016e5f767c1c2a2d264c10634db600ddc02) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix install issueNitin A Kamble2012-05-252-2/+36
| | | | | | | (From OE-Core rev: eb69c7f1063174e95a42cac7c83384ea9e4bec90) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: not using hard coded libdir.Lianhao Lu2012-04-301-2/+2
| | | | | | | | | Used ${libdir} instead of the hard docoded libdir. (From OE-Core rev: 5f2263a89ab6d6aad47f5a524c84a42713d358de) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-daemon: fix missing init script linksAndreas Oberritter2012-04-171-5/+4
| | | | | | | | | | | * update-rc.d wasn't executed when the rootfs was built, because pkg_postinst_avahi-daemon exited early. It wasn't run either on first boot, because the exit code was 0. (From OE-Core rev: c084759d7f69b751e1ed3ef79d686389d867f248) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi.inc: use systemd_unitdirAndreas Müller2012-03-221-3/+3
| | | | | | | (From OE-Core rev: 979923d67fec5e9e9d3bb55152fbbff7d86e96eb) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: Update to 0.6.31Saul Wold2012-03-143-10/+10
| | | | | | | | | Removed unneeded patch, because the issue was fixed upstream (From OE-Core rev: b535d953b08c54411a998e7527b4c2323720fcbf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-261-1/+1
| | | | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. (From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-ui: refactor packages for staticdevSaul Wold2012-01-241-3/+4
| | | | | | | (From OE-Core rev: abdbf82de718468da3963cae2b9717b72480d66a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-ui: fix build with automake-1.11.2Nitin A Kamble2012-01-031-2/+1
| | | | | | | | | | | With automake 1.11.2 /usr/lib/<pkgname> files are moved to /usr/share/<pkgname> Fix the rmdir in do_install which expect /usr/lib/avahi to exist. (From OE-Core rev: d902580c21b8b80f3fb9d88faf46eae4d7b9c276) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix configure with automake 1.11.2Nitin A Kamble2012-01-032-2/+47
| | | | | | | | | | | | | | | | | | automake version 1.11.2 has made use of dir variables more strict. use of pkglibdir with DATA var results in automake errors. This commits uses pkgdatadir var instead of pkglibdir to avoid the strict check errors. Fixes this error: service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate directory for `DATA' autoreconf: automake failed with exit status: 1 ERROR: autoreconf execution failed. (From OE-Core rev: ea7e61c14f7fcf917ea1cf4811e5cceb5003a030) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi-ui: Fix packaging and conflict with the avahi recipeRichard Purdie2011-11-241-3/+29
| | | | | | | | | | | | | | | | | | We need to remove the files from avahi-ui which conflict with the avahi recipe. If we don't do this they trigger packaging warnings and can also overwrite files in the sysroot unexpectedly causing build failures (if X depends on avahi, it expects avahi's files to stay there, not disappear as avahi-ui build/stages). This patch cleans up the packaging although I wish there were an alterantive to the do_install which makes my eyes bleed. [YOCTO #1770] [YOCTO #1722] (From OE-Core rev: 95b383781f875a0f10e5c1de039289bb89e421dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: remove USERADDPNScott Garman2011-11-101-1/+0
| | | | | | | | | USERADDPN is no longer used; remove it. (From OE-Core rev: ed7e7a8e4d00cd45c74dc233c8b574d3978755d8) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix useradd race conditionKoen Kooi2011-11-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi doesn't work at boot because of: + sh /OE/../rootfs/var/lib/opkg/info/avahi-daemon.preinst Running useradd commands... grep: /OE/../rootfs/etc/passwd: No such file or directory That is due to: Package: avahi-daemon Version: 0.6.30-r9.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), libexpat1 (>= 2.0.1) After this patch: Package: avahi-daemon Version: 0.6.30-r10.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), shadow, libexpat1 (>= 2.0.1), base-passwd This also changes ${PN}-daemon to avahi-daemon to be consistent with the PACKAGES/FILES lines below (From OE-Core rev: f01fbc17b5d9bf9a227d64fe858014376cd19432) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: use useradd to create avahi user for avahi-daemonSaul Wold2011-11-021-7/+9
| | | | | | | | | | | | | | | DBus was failing to start correct since the avahi user was not setup. Keep the dbus reload since this could still be installed as a package an would require a dbus restart. Fixes: [YOCTO #1699] (From OE-Core rev: f0bfecc8a0af1c4c76a37a9c88f334ab6ae7e7ef) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix avahi-systemd dependenciesKoen Kooi2011-09-281-1/+3
| | | | | | | | | During the avahi-ui split the RDEPENDS line got dropped leading to: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=ae0db0eb51bde42f09b9513842c3b745c37c60d5 (From OE-Core rev: b447c07168405b748d4db0641468590c10a7ad52) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: include dbus interfaces definitions into daemon packageDmitry Eremin-Solenikov2011-09-221-1/+2
| | | | | | | (From OE-Core rev: 8b7cd9a2e3a38fb5ed8207b2a6395855e1482ae3) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: Refactor recipe to move UI to avahi-uiSaul Wold2011-09-213-42/+87
| | | | | | | | | | | | | | | [YOCTO #1492] This patch refactors avahi into a core non ui and avahi-ui, OE-Classic has a similar factoring, and it was used as a refernce to make this occur correctly here. This allows the package to be built without gtk and GPLv3 issues. (From OE-Core rev: a3909a6a42a1e3e80b7f2597f95ecb7db2814d2d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: only use gtk if DISTRO_FEATURES includes x11Phil Blundell2011-09-071-1/+3
| | | | | | | | | Otherwise avahi isn't buildable for an x11-less DISTRO. (From OE-Core rev: fa8dad209247b780590bc8476b5b16e6608d7907) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix dbus system-service packaging and move more things to .incKoen Kooi2011-06-092-16/+16
| | | | | | | (From OE-Core rev: dca03beb98f123cfc3e09a3b2870f7537f49dd3c) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: enable service when using systemdKoen Kooi2011-06-022-1/+19
| | | | | | | (From OE-Core rev: d3fc33760a80b0a067b41ff88e99941f1c40c8f9) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: enable systemd support, but package systemd files seperatelyKoen Kooi2011-05-272-3/+8
| | | | | | | | | Systemd support in avahi only affects 'make install', so no changes for sysvinit based systems (From OE-Core rev: 8579478ebfc1774ea4315ae803c98a6b59fad55a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: Upgrade to 0.6.30 (from 0.6.28)Zhai Edwin2011-04-243-4/+6
| | | | | | | | | | | | | This upgrade fix the one security issue: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-1002 [YOCTO #975] fixed. This should be included in the Bernard point-release. (From OE-Core rev: b52e9922e8d9acaa9b94b0f19c54bdee18ae49f1) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi.inc: Conditionalize RECOMMENDS by using overridesKhem Raj2011-04-041-3/+7
| | | | | | | | | | | | libnss-mdns is not supportable on uclibc since nss is not available on uclibc we add gettext-dev to RRECOMMENDS only of eglibc/glibc (From OE-Core rev: 0fabdb5c8f550f811341640fd79727dbfa283b98) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: prevent unnecessary runtime dependency on gtk+Paul Eggleton2011-02-012-2/+9
| | | | | | | | | * Move avahi-discover-standalone to avahi-ui-utils as it's a GUI tool * Split out avahi-ui dev files from avahi-dev to a libavahi-ui-dev package (using the new nodeprrecs flag to avoid automatic RRECOMMENDS calculation for avahi-dev) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi2010-12-302-2/+2
| | | | | | | For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* avahi: Fix typo in summaryMark Hatle2010-12-161-1/+1
| | | | | | Fix a simple typo in the summary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* avahi: Update to 0.6.28Zhai Edwin2010-11-221-1/+1
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* recipes-connectivity: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+7
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-connectivity to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* avahi: explicit depends on libcapQing He2010-09-172-2/+2
| | | | | | This avoids possible host contamination, fixes [BUGID #288] Signed-off-by: Qing He <qing.he@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-275-0/+192
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>