diff mbox series

[oe,meta-oe,2/3] libzip: add libzip 0.9

Message ID 20181202191346.15104-2-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-oe,1/3] libvncserver: Update to latest version | expand

Commit Message

Khem Raj Dec. 2, 2018, 7:13 p.m. UTC
From: Niklas Johansson <niklas.johansson@prevas.dk>


libzip is a C library for reading, creating, and modifying zip
archives. Files can be added from data buffers, files, or
compressed data copied directly from other zip archives.
Changes made without closing the archive can be reverted.

Version 0.9 is a little dated and the newest version is 1.5.1.
However, there are some breaking API changes between versions,
so this older version is needed.

Signed-off-by: Niklas Johansson <niklas.johansson@prevas.dk>

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/libzip/files/LICENSE | 31 +++++++++++++++++++
 meta-oe/recipes-extended/libzip/libzip_0.9.bb | 16 ++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 meta-oe/recipes-extended/libzip/files/LICENSE
 create mode 100644 meta-oe/recipes-extended/libzip/libzip_0.9.bb

-- 
2.19.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Armin Kuster Dec. 2, 2018, 8:38 p.m. UTC | #1
On 12/2/18 11:13 AM, Khem Raj wrote:
> From: Niklas Johansson <niklas.johansson@prevas.dk>

>

> libzip is a C library for reading, creating, and modifying zip

> archives. Files can be added from data buffers, files, or

> compressed data copied directly from other zip archives.

> Changes made without closing the archive can be reverted.

>

> Version 0.9 is a little dated and the newest version is 1.5.1.

> However, there are some breaking API changes between versions,

> so this older version is needed.

>

> Signed-off-by: Niklas Johansson <niklas.johansson@prevas.dk>

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/recipes-extended/libzip/files/LICENSE | 31 +++++++++++++++++++

>  meta-oe/recipes-extended/libzip/libzip_0.9.bb | 16 ++++++++++

>  2 files changed, 47 insertions(+)

>  create mode 100644 meta-oe/recipes-extended/libzip/files/LICENSE

>  create mode 100644 meta-oe/recipes-extended/libzip/libzip_0.9.bb

>

> diff --git a/meta-oe/recipes-extended/libzip/files/LICENSE b/meta-oe/recipes-extended/libzip/files/LICENSE

> new file mode 100644

> index 0000000000..e93454e883

> --- /dev/null

> +++ b/meta-oe/recipes-extended/libzip/files/LICENSE

> @@ -0,0 +1,31 @@

> +Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner

> +

> +The authors can be contacted at <libzip@nih.at>

> +

> +Redistribution and use in source and binary forms, with or without

> +modification, are permitted provided that the following conditions

> +are met:

> +

> +1. Redistributions of source code must retain the above copyright

> +  notice, this list of conditions and the following disclaimer.

> +

> +2. Redistributions in binary form must reproduce the above copyright

> +  notice, this list of conditions and the following disclaimer in

> +  the documentation and/or other materials provided with the

> +  distribution.

> +

> +3. The names of the authors may not be used to endorse or promote

> +  products derived from this software without specific prior

> +  written permission.

> +

> +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS

> +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

> +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

> +ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY

> +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

> +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE

> +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS

> +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

> +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

> +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN

> +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

> diff --git a/meta-oe/recipes-extended/libzip/libzip_0.9.bb b/meta-oe/recipes-extended/libzip/libzip_0.9.bb

> new file mode 100644

> index 0000000000..d1d7b89bd0

> --- /dev/null

> +++ b/meta-oe/recipes-extended/libzip/libzip_0.9.bb

> @@ -0,0 +1,16 @@

> +DESCRIPTION = "C library for reading, creating, and modifying zip archives"

> +SECTION = "libs"

> +HOMEPAGE = "http://www.nih.at/libzip"

> +LICENSE = "BSD-3-Clause"

> +LIC_FILES_CHKSUM = "file:///LICENSE;md5=01f8b1b8da6403739094396e15b1e722"

> +DEPENDS = "zlib"

> +PR = "r1"

Why PR ?

- armin
> +

> +inherit autotools

> +

> +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

> +

> +SRC_URI = "http://www.nih.at/${PN}/${PN}-${PV}.tar.bz2"

> +

> +SRC_URI[md5sum] = "56b9f11c1eee5eed189a20183d7e06b0"

> +SRC_URI[sha256sum] = "23a8c3624122a3777bb4ac3be4a867fd0bed7f3aacb8f1d0b68fc459cfb035fc"


-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libzip/files/LICENSE b/meta-oe/recipes-extended/libzip/files/LICENSE
new file mode 100644
index 0000000000..e93454e883
--- /dev/null
+++ b/meta-oe/recipes-extended/libzip/files/LICENSE
@@ -0,0 +1,31 @@ 
+Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner
+
+The authors can be contacted at <libzip@nih.at>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in
+  the documentation and/or other materials provided with the
+  distribution.
+
+3. The names of the authors may not be used to endorse or promote
+  products derived from this software without specific prior
+  written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/meta-oe/recipes-extended/libzip/libzip_0.9.bb b/meta-oe/recipes-extended/libzip/libzip_0.9.bb
new file mode 100644
index 0000000000..d1d7b89bd0
--- /dev/null
+++ b/meta-oe/recipes-extended/libzip/libzip_0.9.bb
@@ -0,0 +1,16 @@ 
+DESCRIPTION = "C library for reading, creating, and modifying zip archives"
+SECTION = "libs"
+HOMEPAGE = "http://www.nih.at/libzip"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file:///LICENSE;md5=01f8b1b8da6403739094396e15b1e722"
+DEPENDS = "zlib"
+PR = "r1"
+
+inherit autotools
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI = "http://www.nih.at/${PN}/${PN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "56b9f11c1eee5eed189a20183d7e06b0"
+SRC_URI[sha256sum] = "23a8c3624122a3777bb4ac3be4a867fd0bed7f3aacb8f1d0b68fc459cfb035fc"