Skip to contentSkip to conversation

libnss-nisplus: Add recipe

PATCH In review Ruslan Bilovol 2 participants 4 messages Mar 14, 2019 – Mar 15, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnss-nisplus: Add recipe

Same as with libnss-nis - this will substitute
the glibc nisplus module which has been removed

SRCREV points to 1.3 release plus patch on top which allows to build with recent glibc versions

---
 .../libnss-nisplus/libnss-nisplus.bb               | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb new file +31 -0
new file mode 100644
index 0000000..2dbeee7
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 Ruslan Bilovol <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "NSS module for glibc, to provide NIS+ support for glibc"
+
+DESCRIPTION = "This package contains the NSS NIS+ plugin for glibc.\
+This code was formerly part of glibc, but is now standalone to\
+be able to link against TI-RPC for IPv6 support."
+
+HOMEPAGE = "https://github.com/thkukuk/libnss_nisplus"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+DEPENDS += "libtirpc libnsl2"
+
+PV = "1.3+git${SRCPV}"
+
+SRCREV = "c6934373c7bac91499ff7bbe7d2439599325ca63"
+
+SRC_URI = "git://github.com/thkukuk/libnss_nisplus \
+          "
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND += "native nativesdk"
+#
+# We will skip parsing this packagegeoup for non-glibc systems
+#
+COMPATIBLE_HOST_libc-musl = 'null'
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · Ruslan Bilovol

Same as with libnss-nis - this will substitute
the glibc nisplus module which has been removed

SRCREV points to 1.3 release plus patch on top which allows to build with recent glibc versions

This looks okay but not
An Oe core candidate to me

Quoted 51 lines
---
 .../libnss-nisplus/libnss-nisplus.bb               | 31
++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb new file +31 -1
new file mode 100644
index 0000000..2dbeee7
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 Ruslan Bilovol <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "NSS module for glibc, to provide NIS+ support for glibc"
+
+DESCRIPTION = "This package contains the NSS NIS+ plugin for glibc.\
+This code was formerly part of glibc, but is now standalone to\
+be able to link against TI-RPC for IPv6 support."
+
+HOMEPAGE = "https://github.com/thkukuk/libnss_nisplus"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+DEPENDS += "libtirpc libnsl2"
+
+PV = "1.3+git${SRCPV}"
+
+SRCREV = "c6934373c7bac91499ff7bbe7d2439599325ca63"
+
+SRC_URI = "git://github.com/thkukuk/libnss_nisplus \
+          "
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND += "native nativesdk"
+#
+# We will skip parsing this packagegeoup for non-glibc systems
+#
+COMPATIBLE_HOST_libc-musl = 'null'
--

1.9.1

#2 lore raw
Quoted 7 lines · Khem Raj

On Thu, Mar 14, 2019 at 12:43 PM Ruslan Bilovol <[email protected] <mailto:[email protected]>> wrote:

Same as with libnss-nis - this will substitute the glibc nisplus module which has been removed

Quoted 6 lines

SRCREV points to 1.3 release plus patch on top which allows to build with recent glibc versions

This looks okay but not
An Oe core candidate to me

This recipe is very similar to libnss-nis which is a part of OE-Core. Do you mean we need to move both out of OE-Core (to meta-oe?)

Thanks,
Ruslan

Quoted 60 lines


    Signed-off-by: Ruslan Bilovol <[email protected]
    <mailto:[email protected]>>
    ---
      .../libnss-nisplus/libnss-nisplus.bb <http://libnss-nisplus.bb>   
                | 31 ++++++++++++++++++++++
      1 file changed, 31 insertions(+)
      create mode 100644
    meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>

    diff --git a/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    new file mode 100644
    index 0000000..2dbeee7
    --- /dev/null
    +++ b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    @@ -0,0 +1,31 @@
    +# Copyright (C) 2019 Ruslan Bilovol <[email protected]
    <mailto:[email protected]>>
    +# Released under the MIT license (see COPYING.MIT for the terms)
    +
    +SUMMARY = "NSS module for glibc, to provide NIS+ support for glibc"
    +
    +DESCRIPTION = "This package contains the NSS NIS+ plugin for glibc.\
    +This code was formerly part of glibc, but is now standalone to\
    +be able to link against TI-RPC for IPv6 support."
    +
    +HOMEPAGE = "https://github.com/thkukuk/libnss_nisplus"
    +LICENSE = "LGPL-2.1"
    +LIC_FILES_CHKSUM =
    "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
    +SECTION = "libs"
    +DEPENDS += "libtirpc libnsl2"
    +
    +PV = "1.3+git${SRCPV}"
    +
    +SRCREV = "c6934373c7bac91499ff7bbe7d2439599325ca63"
    +
    +SRC_URI = "git://github.com/thkukuk/libnss_nisplus
    <http://github.com/thkukuk/libnss_nisplus> \
    +          "
    +
    +S = "${WORKDIR}/git"
    +
    +inherit autotools pkgconfig
    +
    +BBCLASSEXTEND += "native nativesdk"
    +#
    +# We will skip parsing this packagegeoup for non-glibc systems
    +#
    +COMPATIBLE_HOST_libc-musl = 'null'
    -- 
    1.9.1
#3 lore raw
Quoted 14 lines · Ruslan Bilovol
Quoted 12 lines · Khem Raj

On Thu, Mar 14, 2019 at 12:43 PM Ruslan Bilovol <[email protected] <mailto:[email protected]>> wrote:

Same as with libnss-nis - this will substitute the glibc nisplus module which has been removed

SRCREV points to 1.3 release plus patch on top which allows to build with recent glibc versions

Quoted 6 lines
Quoted 2 lines

This looks okay but not
An Oe core candidate to me

This recipe is very similar to libnss-nis which is a part of OE-Core. Do you mean we need to move both out of OE-Core (to meta-oe?)

if its required to build a reference image in OE-core or there are multiple recipes outside oe-core in multiple layers which needs it would make a good case for it. If both of these cases are not true then not so much.

Quoted 64 lines

Thanks,
Ruslan

Quoted 60 lines


    Signed-off-by: Ruslan Bilovol <[email protected]
    <mailto:[email protected]>>
    ---
      .../libnss-nisplus/libnss-nisplus.bb <http://libnss-nisplus.bb>
                | 31 ++++++++++++++++++++++
      1 file changed, 31 insertions(+)
      create mode 100644
    meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>

    diff --git a/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    new file mode 100644
    index 0000000..2dbeee7
    --- /dev/null
    +++ b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
    <http://libnss-nisplus.bb>
    @@ -0,0 +1,31 @@
    +# Copyright (C) 2019 Ruslan Bilovol <[email protected]
    <mailto:[email protected]>>
    +# Released under the MIT license (see COPYING.MIT for the terms)
    +
    +SUMMARY = "NSS module for glibc, to provide NIS+ support for glibc"
    +
    +DESCRIPTION = "This package contains the NSS NIS+ plugin for glibc.\
    +This code was formerly part of glibc, but is now standalone to\
    +be able to link against TI-RPC for IPv6 support."
    +
    +HOMEPAGE = "https://github.com/thkukuk/libnss_nisplus"
    +LICENSE = "LGPL-2.1"
    +LIC_FILES_CHKSUM =
    "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
    +SECTION = "libs"
    +DEPENDS += "libtirpc libnsl2"
    +
    +PV = "1.3+git${SRCPV}"
    +
    +SRCREV = "c6934373c7bac91499ff7bbe7d2439599325ca63"
    +
    +SRC_URI = "git://github.com/thkukuk/libnss_nisplus
    <http://github.com/thkukuk/libnss_nisplus> \
    +          "
    +
    +S = "${WORKDIR}/git"
    +
    +inherit autotools pkgconfig
    +
    +BBCLASSEXTEND += "native nativesdk"
    +#
    +# We will skip parsing this packagegeoup for non-glibc systems
    +#
    +COMPATIBLE_HOST_libc-musl = 'null'
    --
    1.9.1