Skip to contentSkip to conversation

Add liboauth2

PATCH Superseded Frede Hoey Braendstrup 2 participants 4 messages Jan 23 – Jan 25

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add liboauth2

These patches add liboauth2 and its dependency cjose from OpenIDC

Frede Hoey Braendstrup (2):
cjose: Add recipe at 0.6.2.4
liboauth2: Add recipe at 2.2.0

 .../recipes-support/cjose/cjose_0.6.2.4.bb    | 14 +++++++++++++
 .../liboauth2/liboauth2_2.2.0.bb              | 20 +++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 meta-oe/recipes-support/cjose/cjose_0.6.2.4.bb
 create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
Signature · 1 line
2.52.0
#1 lore raw

PATCH 1/2 cjose: Add recipe at 0.6.2.4

---
 meta-oe/recipes-support/cjose/cjose_0.6.2.4.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-support/cjose/cjose_0.6.2.4.bb
meta-oe/recipes-support/cjose/cjose_0.6.2.4.bb new file +14 -0
new file mode 100644
index 0000000000..f6a5d15a9b
@@ -0,0 +1,14 @@
+SUMMARY = "C library implementing the Javascript Object Signing and Encryption (JOSE)"
+HOMEPAGE = "https://github.com/OpenIDC/cjose"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7249e2f9437adfb8c88d870438042f0e"
+
+SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV}"
+
+PV = "0.6.2.4"
+SRCREV = "8d94c3ad3237ab6a83d2e92fa541542b1b92c023"
+
+DEPENDS = "openssl libcheck jansson"
+
+inherit pkgconfig autotools
+
Signature · 1 line
2.52.0
#2 lore raw

PATCH 2/2 liboauth2: Add recipe at 2.2.0

In reply to Frede Hoey Braendstrup
---
 .../liboauth2/liboauth2_2.2.0.bb              | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb new file +20 -0
new file mode 100644
index 0000000000..3067f7ea63
@@ -0,0 +1,20 @@
+SUMMARY = "OAuth 2.x and OpenID Connect C library"
+HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SRC_URI = "git://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV}"
+
+PV = "2.2.0"
+SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
+
+DEPENDS = "libpcre2 jansson libcheck curl openssl cjose apache2"
+
+inherit pkgconfig autotools-brokensep
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[memcache] = "--with-memcache,--without-memcache,libmemcached"
+PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
+PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
+PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
+
Signature · 1 line
2.52.0
#3 lore raw

Re: [oe] [PATCH v1 2/2] liboauth2: Add recipe at 2.2.0

Quoted 22 lines · Frederik Brændstrup via lists.openembedded.org
---
 .../liboauth2/liboauth2_2.2.0.bb              | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb new file +6 -0
new file mode 100644
index 0000000000..3067f7ea63
@@ -0,0 +1,20 @@
+SUMMARY = "OAuth 2.x and OpenID Connect C library"
+HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SRC_URI = "git://

github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV}
<http://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v$%7BPV%7D>
"

meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb line 11

Quoted 5 lines
meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb new file +5 -0
+
+PV = "2.2.0"
+SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
+
+DEPENDS = "libpcre2 jansson libcheck curl openssl cjose apache2"

apache2 is part of meta-webserver layer and meta-oe does not depend on meta-webserver but its other way around
maybe turn apache2 support into a packageconfig and keep it disabled by default, if its a hard dependency then
move the recipe to meta-webserver layer.

Quoted 25 lines
meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb new file +5 -0
+
+inherit pkgconfig autotools-brokensep
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[memcache] =

"--with-memcache,--without-memcache,libmemcached"

meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb new file +4 -1
+PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
+PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
+PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
+
--

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#123785):
https://lists.openembedded.org/g/openembedded-devel/message/123785
Mute This Topic: https://lists.openembedded.org/mt/117419834/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-