Patchwork libbsd: Add recipes for libbsd - utility functions from BSD systems

login
register
mail settings
Submitter Khem Raj
Date June 24, 2013, 3:10 a.m.
Message ID <1372043405-22668-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/52247/
State Accepted
Commit 2df53911f25234d2724bc8163ac9406af0bdad06
Headers show

Comments

Khem Raj - June 24, 2013, 3:10 a.m.
When building BSD programs this library provides common
BSD functions that are missing on other OSes e.g. Linux

This library is elemental for porting large set of BSD applications
current consumer of this are in meta-networking/openbsd-netcat
but once we have it in OE-Core more recipes depending on it in different layers
can be added.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/libbsd/libbsd_0.5.2.bb |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-support/libbsd/libbsd_0.5.2.bb
Khem Raj - June 28, 2013, 7:49 a.m.
ping ?

On Jun 23, 2013, at 8:10 PM, Khem Raj <raj.khem@gmail.com> wrote:

> When building BSD programs this library provides common
> BSD functions that are missing on other OSes e.g. Linux
> 
> This library is elemental for porting large set of BSD applications
> current consumer of this are in meta-networking/openbsd-netcat
> but once we have it in OE-Core more recipes depending on it in different layers
> can be added.
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-support/libbsd/libbsd_0.5.2.bb |   19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 meta/recipes-support/libbsd/libbsd_0.5.2.bb
> 
> diff --git a/meta/recipes-support/libbsd/libbsd_0.5.2.bb b/meta/recipes-support/libbsd/libbsd_0.5.2.bb
> new file mode 100644
> index 0000000..952f212
> --- /dev/null
> +++ b/meta/recipes-support/libbsd/libbsd_0.5.2.bb
> @@ -0,0 +1,19 @@
> +# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \
> +               and lacking on others like GNU systems, thus making it easier to port \
> +               projects with strong BSD origins, without needing to embed the same \
> +               code over and over again on each project."
> +
> +HOMEPAGE = "http://libbsd.freedesktop.org/wiki/"
> +LICENSE = "BSD-4-Clause & MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=98a015f07e71239b058398054f506f07"
> +SECTION = "libs"
> +DEPENDS = ""
> +
> +SRC_URI = "http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "be8b2e0dc4614699834c49693574fd1a"
> +SRC_URI[sha256sum] = "5340cf67555a8d92e7652d96540a47986a26eeafb9a0a3e22d3b3e5701ebe23f"
> +
> +inherit autotools pkgconfig
> -- 
> 1.7.9.5
>
Paul Eggleton - June 28, 2013, 9:02 a.m.
On Friday 28 June 2013 00:49:25 Khem Raj wrote:
> ping ?

This has been merged already:

http://cgit.openembedded.org/openembedded-core/commit/?id=2df53911f25234d2724bc8163ac9406af0bdad06

Cheers,
Paul
Khem Raj - June 28, 2013, 2:26 p.m.
On Jun 28, 2013, at 2:02 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:

> On Friday 28 June 2013 00:49:25 Khem Raj wrote:
>> ping ?
> 
> This has been merged already:
> 
> http://cgit.openembedded.org/openembedded-core/commit/?id=2df53911f25234d2724bc8163ac9406af0bdad06
> 


somehow github mirrors are not syncing then see

https://github.com/openembedded/meta-oe/commits/master



> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre
Paul Eggleton - June 28, 2013, 2:44 p.m.
On Friday 28 June 2013 07:26:41 Khem Raj wrote:
> On Jun 28, 2013, at 2:02 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> > On Friday 28 June 2013 00:49:25 Khem Raj wrote:
> >> ping ?
> > 
> > This has been merged already:
> > 
> > http://cgit.openembedded.org/openembedded-core/commit/?id=2df53911f25234d2
> > 724bc8163ac9406af0bdad06
> somehow github mirrors are not syncing then see
> 
> https://github.com/openembedded/meta-oe/commits/master

That's meta-oe; the oe-core mirror on github does contain your commit:

https://github.com/openembedded/oe-core/commit/2df53911f25234d2724bc8163ac9406af0bdad06

Cheers,
Paul

Patch

diff --git a/meta/recipes-support/libbsd/libbsd_0.5.2.bb b/meta/recipes-support/libbsd/libbsd_0.5.2.bb
new file mode 100644
index 0000000..952f212
--- /dev/null
+++ b/meta/recipes-support/libbsd/libbsd_0.5.2.bb
@@ -0,0 +1,19 @@ 
+# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \
+               and lacking on others like GNU systems, thus making it easier to port \
+               projects with strong BSD origins, without needing to embed the same \
+               code over and over again on each project."
+
+HOMEPAGE = "http://libbsd.freedesktop.org/wiki/"
+LICENSE = "BSD-4-Clause & MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=98a015f07e71239b058398054f506f07"
+SECTION = "libs"
+DEPENDS = ""
+
+SRC_URI = "http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "be8b2e0dc4614699834c49693574fd1a"
+SRC_URI[sha256sum] = "5340cf67555a8d92e7652d96540a47986a26eeafb9a0a3e22d3b3e5701ebe23f"
+
+inherit autotools pkgconfig