All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libnss-nisplus: Add recipe
@ 2019-08-07 12:30 Ruslan Bilovol
  2019-08-09 18:14 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Ruslan Bilovol @ 2019-08-07 12:30 UTC (permalink / raw)
  To: openembedded-devel; +Cc: xe-linux-external

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

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
---

Resent to meta-oe as was discussed here:
https://patchwork.openembedded.org/patch/159586/

 .../libnss-nisplus/libnss-nisplus.bb               | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb

diff --git a/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb b/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb
new file mode 100644
index 0000000..2dbeee7
--- /dev/null
+++ b/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 Ruslan Bilovol <rbilovol@cisco.com>
+# 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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] libnss-nisplus: Add recipe
  2019-08-07 12:30 [PATCH] libnss-nisplus: Add recipe Ruslan Bilovol
@ 2019-08-09 18:14 ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2019-08-09 18:14 UTC (permalink / raw)
  To: Ruslan Bilovol; +Cc: openembeded-devel, XE-Linux

Ruslan

This has gone in but in parallel glibc 2.30 has gone in
as well in oe-core and now it fails see

https://errors.yoctoproject.org/Errors/Details/260172/

you might need something like

https://github.com/thkukuk/libnss_nis/commit/e9f0f4286d5a923eca1a9c84ff125268d144822e

can you check this

On Wed, Aug 7, 2019 at 5:30 AM Ruslan Bilovol via Openembedded-devel
<openembedded-devel@lists.openembedded.org> 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
>
> Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
> ---
>
> Resent to meta-oe as was discussed here:
> https://patchwork.openembedded.org/patch/159586/
>
>  .../libnss-nisplus/libnss-nisplus.bb               | 31 ++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb
>
> diff --git a/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb b/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb
> new file mode 100644
> index 0000000..2dbeee7
> --- /dev/null
> +++ b/meta-oe/recipes-extended/libnss-nisplus/libnss-nisplus.bb
> @@ -0,0 +1,31 @@
> +# Copyright (C) 2019 Ruslan Bilovol <rbilovol@cisco.com>
> +# 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
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] libnss-nisplus: Add recipe
  2019-03-15 14:14   ` Ruslan Bilovol
@ 2019-03-15 15:46     ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2019-03-15 15:46 UTC (permalink / raw)
  To: Ruslan Bilovol; +Cc: XE-Linux, Patches and discussions about the oe-core layer

On Fri, Mar 15, 2019 at 7:14 AM Ruslan Bilovol <rbilovol@cisco.com> wrote:
>
> On 3/14/19 11:42 PM, Khem Raj wrote:
> >
> >
> > On Thu, Mar 14, 2019 at 12:43 PM Ruslan Bilovol <rbilovol@cisco.com
> > <mailto:rbilovol@cisco.com>> 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
> >
> >
> > 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.

>
> Thanks,
> Ruslan
>
> >
> >
> >
> >     Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com
> >     <mailto:rbilovol@cisco.com>>
> >     ---
> >       .../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 <rbilovol@cisco.com
> >     <mailto:rbilovol@cisco.com>>
> >     +# 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
> >


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] libnss-nisplus: Add recipe
  2019-03-14 21:42 ` Khem Raj
@ 2019-03-15 14:14   ` Ruslan Bilovol
  2019-03-15 15:46     ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Ruslan Bilovol @ 2019-03-15 14:14 UTC (permalink / raw)
  To: Khem Raj; +Cc: xe-linux-external, openembedded-core

On 3/14/19 11:42 PM, Khem Raj wrote:
> 
> 
> On Thu, Mar 14, 2019 at 12:43 PM Ruslan Bilovol <rbilovol@cisco.com 
> <mailto:rbilovol@cisco.com>> 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
> 
> 
> 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

> 
> 
> 
>     Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com
>     <mailto:rbilovol@cisco.com>>
>     ---
>       .../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 <rbilovol@cisco.com
>     <mailto:rbilovol@cisco.com>>
>     +# 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
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] libnss-nisplus: Add recipe
  2019-03-14 19:43 Ruslan Bilovol
@ 2019-03-14 21:42 ` Khem Raj
  2019-03-15 14:14   ` Ruslan Bilovol
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2019-03-14 21:42 UTC (permalink / raw)
  To: Ruslan Bilovol; +Cc: xe-linux-external, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]

On Thu, Mar 14, 2019 at 12:43 PM Ruslan Bilovol <rbilovol@cisco.com> 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


This looks okay but not
An Oe core candidate to me

>
>
> Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
> ---
>  .../libnss-nisplus/libnss-nisplus.bb               | 31
> ++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
>
> diff --git a/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
> b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
> new file mode 100644
> index 0000000..2dbeee7
> --- /dev/null
> +++ b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
> @@ -0,0 +1,31 @@
> +# Copyright (C) 2019 Ruslan Bilovol <rbilovol@cisco.com>
> +# 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
>
>

[-- Attachment #2: Type: text/html, Size: 3290 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] libnss-nisplus: Add recipe
@ 2019-03-14 19:43 Ruslan Bilovol
  2019-03-14 21:42 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Ruslan Bilovol @ 2019-03-14 19:43 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core; +Cc: xe-linux-external

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

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
---
 .../libnss-nisplus/libnss-nisplus.bb               | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb

diff --git a/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
new file mode 100644
index 0000000..2dbeee7
--- /dev/null
+++ b/meta/recipes-extended/libnss-nisplus/libnss-nisplus.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 Ruslan Bilovol <rbilovol@cisco.com>
+# 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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-09 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 12:30 [PATCH] libnss-nisplus: Add recipe Ruslan Bilovol
2019-08-09 18:14 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2019-03-14 19:43 Ruslan Bilovol
2019-03-14 21:42 ` Khem Raj
2019-03-15 14:14   ` Ruslan Bilovol
2019-03-15 15:46     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.