aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi
AgeCommit message (Collapse)Author
2013-09-22avahi: bump INC_PR to avoid do_configure failure in existing workdirPaul Eggleton
When we split S and B for avahi in OE-Core commit 6112a07f4e9865f7ae0e5a953669c1adf789f9f0, files left over in the workdir from a previous build seem to break re-execution of do_configure. Bump PR to give a fresh workdir and avoid this problem. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-17avahi: fix and enable out-of-tree buildsRoss Burton
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>
2013-09-10avahi: use correct names in SYSTEMD_SERVICE_* variablesRoss Burton
Don't hard-code full package names in SYSTEMD_SERVICE_*, because in multilib they'll be changed. [ YOCTO #4803 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-01avahi: Remove unnecessary runtime dependency on sysvinit-pidofMuhammad Shakeel
'pidof' is alternatively coming from busybox so no need for avahi to explicitly rdepend on sysvinit-pidof. This unnecessarily includes sysvinit in systemd only build. Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-11avahi: inherit python classes, use PACKAGECONFIGChristopher Larson
Without using our python classes and having appropriate dependencies, the build is nondeterministic, and whether a python-avahi package is produced will vary depending on the host environment, yet avahi-discover is always produced, and it depends on python-avahi. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-16avahi: don't call DBus init script directlyRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15avahi: explicitly disable systemd if we don't want it enabledRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-05avahi: move systemd support where it belongsMartin Jansa
We don't want the systemd inherit in avahi-ui since that causes various warnings since PACKAGES is rewritten. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-05avahi: fix installed but not shipped warningRobert Yang
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-11avahi: Enabling with systemdRadu Moisan
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>
2013-02-04avahi: fix relative path in do_configureRoss Burton
do_configure was assuming that $B is $S, so the relative path was wrong. Add a missing $S. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-18avahi: use useradd.bbclass to add avahi-autoipd userLaurentiu Palcu
This is needed for the postinstalls to be run at do_rootfs time. [YOCTO #3605] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-18recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02avahi: systemd postinst and postrm removed in favor of using systemd.bbclassSander van Grieken
The recipe's custom systemd service enable code is now handled by the meta-systemd bbappend recipe in meta-openembedded. Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19avahi: fix packaging of avahi-autoipdMarc Reilly
- 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. 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>
2012-07-19avahi-ui: Remove the locale files and rely on the main avahi package for theseRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17avahi: fix build with automake 1.12.1Nitin A Kamble
added a new patch : fix_for_automake_1.12.x.patch More information in the patch header. 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>
2012-05-25avahi: fix install issueNitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-27avahi: not using hard coded libdir.Lianhao Lu
Used ${libdir} instead of the hard docoded libdir. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17avahi-daemon: fix missing init script linksAndreas Oberritter
* 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. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22avahi.inc: use systemd_unitdirAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14avahi: Update to 0.6.31Saul Wold
Removed unneeded patch, because the issue was fixed upstream Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-26More quoting fixesMartin Jansa
* 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. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-24avahi-ui: refactor packages for staticdevSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-01-03avahi-ui: fix build with automake-1.11.2Nitin A Kamble
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. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-01-03avahi: fix configure with automake 1.11.2Nitin A Kamble
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. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-11-24avahi-ui: Fix packaging and conflict with the avahi recipeRichard Purdie
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10avahi: remove USERADDPNScott Garman
USERADDPN is no longer used; remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-03avahi: fix useradd race conditionKoen Kooi
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 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-02avahi: use useradd to create avahi user for avahi-daemonSaul Wold
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] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-27avahi: fix avahi-systemd dependenciesKoen Kooi
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 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-22avahi: include dbus interfaces definitions into daemon packageDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21avahi: Refactor recipe to move UI to avahi-uiSaul Wold
[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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-07avahi: only use gtk if DISTRO_FEATURES includes x11Phil Blundell
Otherwise avahi isn't buildable for an x11-less DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09avahi: fix dbus system-service packaging and move more things to .incKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-02avahi: enable service when using systemdKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-27avahi: enable systemd support, but package systemd files seperatelyKoen Kooi
Systemd support in avahi only affects 'make install', so no changes for sysvinit based systems Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-22avahi: Upgrade to 0.6.30 (from 0.6.28)Zhai Edwin
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. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-04-04avahi.inc: Conditionalize RECOMMENDS by using overridesKhem Raj
libnss-mdns is not supportable on uclibc since nss is not available on uclibc we add gettext-dev to RRECOMMENDS only of eglibc/glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-02-01avahi: prevent unnecessary runtime dependency on gtk+Paul Eggleton
* 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>
2010-12-30RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi
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>
2010-12-16avahi: Fix typo in summaryMark Hatle
Fix a simple typo in the summary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-22avahi: Update to 0.6.28Zhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-10-11recipes-connectivity: Cleanup package descriptions and summariesMark Hatle
[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>
2010-09-17avahi: explicit depends on libcapQing He
This avoids possible host contamination, fixes [BUGID #288] Signed-off-by: Qing He <qing.he@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
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>