summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nis
Commit message (Collapse)AuthorAgeFilesLines
* nis, opencv: Update getVar/setVar syntaxRichard Purdie2016-11-261-1/+1
| | | | | | | | The deprecated APIs are removed from bitbake, update two old style references in meta-oe/meta-networking. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* yp-tools: fix compile errorsJoe Slater2016-09-052-2/+53
| | | | | | | | | | | Fix two fatal warnings. The cast error only occurs for some architectures. Not applicable to yp-tools-4.x. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-052-2/+2
| | | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ypbind-mt: set path of ypdomainname in ypbind scriptJian Liu2015-11-302-5/+8
| | | | | | | | | | | The script ypbind will cause error if using ypdomainname command provided by busybox. So add RDEPENDCY on yp-tools and change the path of ypdomainname. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ypbind-mt: add status command for initscriptZhu Yanjun2015-09-113-4/+11
| | | | | | | | | | Add the "status" command in initscript to check the status of ypbind. remove ypbind-yocto.init as ypbind.init, which is the initscript, make its name similar to other recipes Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ypbind-mt: add dependency but keep as brokenJoe Slater2015-08-061-1/+1
| | | | | | | | We will need the conditional dependency on systemd. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ypbind: remove bashisms from initscriptJoe MacDonald2015-07-301-3/+3
| | | | | | | | Remove three very minor bashisms, all about redirecting stdout/stderr. The initscript identifies as /bin/sh, this change ensures that the script should work with a non-bash /bin/sh as well. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* ypbind-mt: Add systemd dependencyJoe MacDonald2015-04-071-1/+4
| | | | | | | | When building for a system including systemd ypbind-mt will link against libsystemd creating an implicit dependency. Make that explicit. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ypbind-mt: fix typo in PNBLACKLIST to really blacklist itMartin Jansa2015-03-061-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nis: blacklist updated yp toolsJoe MacDonald2015-03-052-0/+4
| | | | | | | | | | | | | The updated yp-tools fails on qemuarm: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/yp-tools/3.3-r0/yp-tools-3.3/lib/do_ypcall.c: In function 'do_ypcall_tr': /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/yp-tools/3.3-r0/yp-tools-3.3/lib/do_ypcall.c:461:27: error: cast increases required alignment of target type [-Werror=cast-align] status = ypprot_err (((struct ypresp_val *) resp)->status); http://errors.yoctoproject.org/Errors/Details/9221/ Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* nis: integrate latest stable yp-tools and ypbindJoe MacDonald2015-03-043-0/+207
| | | | | | | | | | | | | | | Update to the latest stable NIS tools. The yp-tools libraries and headers conflict with the RPC headers provided by glibc, so install them to a different location. Systems that intend to build using the NIS-provided versions will need to specify the alternate location, but that is covered by pkg-config, so it should only be necessary to point pkg-config at the alternate .pc file. The older stable versions are suitable for IPv4-only setups, so keep them around in case those are required for some systems. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nis: update yp-tools and ypbindJoe MacDonald2015-02-275-57/+33
| | | | | | | | | | | Both yp-tools and ypbind-mt were out of date with their latest released versions, so bump them up to current. Remove two dead patches at the same time and reorganize the recipes to better follow the preferred OE style. Finally, the new release includes a new version of the GPLv2 COPYING file, with a significant amount of whitespace fixes, so update the license checksum. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* nis: inherit pkgconfigRoy Li2014-01-101-1/+1
| | | | | | nis needs pkgconfig to check some dependencies, like DBUS Signed-off-by: Roy Li <rongqing.li@windriver.com>
* recipes: Unify indentationMartin Jansa2013-04-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* yp-tools, ypbind-mt: move systemd support from meta-systemd back to ↵Martin Jansa2013-04-154-7/+60
| | | | | | meta-networking Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* multilib: Fix PN - BPN to make fetch work.Randy MacLeod2013-02-042-2/+2
| | | | | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* nis: Import recipes from OE classicKhem Raj2013-01-086-0/+214
Update to latest versions while at it Signed-off-by: Khem Raj <raj.khem@gmail.com>