diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-04-28 00:32:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-09 10:47:50 +0100 |
commit | 00a5c6c010f3167b38fc33d450729f893d64806e (patch) | |
tree | 9995a5e0e228cbab600bf940dd6ca79f137a5892 /meta/recipes-extended/libnss-nis/libnss-nis.bb | |
parent | 6d6c92ce74441790e1a100d1c17c89f68fb99114 (diff) | |
download | poky-00a5c6c010f3167b38fc33d450729f893d64806e.tar.gz |
libnss-nis: Add recipe
This will substitute the glibc nis module which
has been removed
Skip for non-glibc systems
(From OE-Core rev: cabef0916d860449bfbcc4ff596ec9f0029849e9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libnss-nis/libnss-nis.bb')
-rw-r--r-- | meta/recipes-extended/libnss-nis/libnss-nis.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-extended/libnss-nis/libnss-nis.bb b/meta/recipes-extended/libnss-nis/libnss-nis.bb new file mode 100644 index 0000000000..e0f69b02ef --- /dev/null +++ b/meta/recipes-extended/libnss-nis/libnss-nis.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | # Copyright (C) 2018 Khem Raj <raj.khem@gmail.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "NSS module for glibc, to provide NIS support for glibc" | ||
5 | |||
6 | DESCRIPTION = "This package contains the NSS NIS plugin for glibc.\ | ||
7 | This code was formerly part of glibc, but is now standalone to\ | ||
8 | be able to link against TI-RPC for IPv6 support." | ||
9 | |||
10 | HOMEPAGE = "https://github.com/thkukuk/libnss_nis" | ||
11 | LICENSE = "LGPL-2.1" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
13 | SECTION = "libs" | ||
14 | DEPENDS += "libtirpc libnsl2" | ||
15 | |||
16 | PV = "3.0+git${SRCPV}" | ||
17 | |||
18 | SRCREV = "d4aea48657a8e90d7922574b8021ee03915a36cb" | ||
19 | |||
20 | SRC_URI = "git://github.com/thkukuk/libnss_nis \ | ||
21 | " | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | inherit autotools pkgconfig | ||
26 | |||
27 | BBCLASSEXTEND += "native nativesdk" | ||
28 | # | ||
29 | # We will skip parsing this packagegeoup for non-glibc systems | ||
30 | # | ||
31 | python __anonymous () { | ||
32 | if d.getVar('TCLIBC') != "glibc": | ||
33 | raise bb.parse.SkipRecipe("incompatible with %s C library" % | ||
34 | d.getVar('TCLIBC')) | ||
35 | } | ||
36 | |||