Skip to contentSkip to conversation

meta-security: Add recipe for Glome

PATCH Superseded [email protected] 2 participants 2 messages Aug 8, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-security: Add recipe for Glome

From: John Edward Broadbent <[email protected]>

Generic Low Overhead Message Exchange (GLOME) is a protocol providing secure authentication and authorization for low dependency environments.

---
 .../packagegroup-core-security.bb             |  1 +
 recipes-security/glome/glome_git.bb           | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 recipes-security/glome/glome_git.bb
recipes-core/packagegroup/packagegroup-core-security.bb +1 -0
index a12a4c2..c028c3d 100644
@@ -31,6 +31,7 @@ RDEPENDS:packagegroup-security-utils = "\
     ding-libs \
     ecryptfs-utils \
     fscryptctl \
+    glome \
     keyutils \
     nmap \
     pinentry \
recipes-security/glome/glome_git.bb new file +25 -0
new file mode 100644
index 0000000..5a2a114
@@ -0,0 +1,25 @@
+SUMMARY = "GLOME Login Client"
+HOME_PAGE = "https://github.com/google/glome"
+DESCRIPTION = "GLOME is used to authorize serial console access to Linux machines"
+PR = "r1"
+PV = "0.1+git${SRCPV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit meson pkgconfig
+
+DEPENDS += "openssl"
+
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https"
+SRCREV = "978ad9fb165f1e382c875f2ce08a1fc4f2ddcf1b"
+
+FILES_${PN} += "${libdir}/security"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[glome-cli] = "-Dglome-cli=true,-Dglome-cli=false"
+PACKAGECONFIG[pam-glome] = "-Dpam-glome=true,-Dpam-glome=false,libpam"
+
+EXTRA_OEMESON = "-Dtests=false"
+
Signature · 1 line
2.37.1.559.g78731f0fdb-goog
#1 lore raw
Quoted 31 lines · John Broadbent via lists.yoctoproject.org

From: John Edward Broadbent <[email protected]>

Generic Low Overhead Message Exchange (GLOME) is a protocol providing secure authentication and authorization for low dependency environments.

---
 .../packagegroup-core-security.bb             |  1 +
 recipes-security/glome/glome_git.bb           | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 recipes-security/glome/glome_git.bb
recipes-core/packagegroup/packagegroup-core-security.bb +1 -0
index a12a4c2..c028c3d 100644
@@ -31,6 +31,7 @@ RDEPENDS:packagegroup-security-utils = "\
     ding-libs \
     ecryptfs-utils \
     fscryptctl \
+    glome \
     keyutils \
     nmap \
     pinentry \
recipes-security/glome/glome_git.bb new file +0 -0
new file mode 100644
index 0000000..5a2a114

recipes-security/glome/glome_git.bb line 4

Quoted 4 lines
recipes-security/glome/glome_git.bb new file +4 -0
@@ -0,0 +1,25 @@
+SUMMARY = "GLOME Login Client"
+HOME_PAGE = "https://github.com/google/glome"
+DESCRIPTION = "GLOME is used to authorize serial console access to Linux machines"
+PR = "r1"

We dont need setting PR manually anymore. So remove it.

Quoted 5 lines
recipes-security/glome/glome_git.bb new file +5 -0
+PV = "0.1+git${SRCPV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+

recipes-security/glome/glome_git.bb line 19

Quoted 10 lines
recipes-security/glome/glome_git.bb new file +10 -0
+inherit meson pkgconfig
+
+DEPENDS += "openssl"
+
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https"
+SRCREV = "978ad9fb165f1e382c875f2ce08a1fc4f2ddcf1b"
+
+FILES_${PN} += "${libdir}/security"
+

This should be FILES:${PN} as per new syntax.

Quoted 19 lines
recipes-security/glome/glome_git.bb new file +6 -1
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[glome-cli] = "-Dglome-cli=true,-Dglome-cli=false"
+PACKAGECONFIG[pam-glome] = "-Dpam-glome=true,-Dpam-glome=false,libpam"
+
+EXTRA_OEMESON = "-Dtests=false"
+
--

2.37.1.559.g78731f0fdb-goog

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#57806): https://lists.yoctoproject.org/g/yocto/message/57806
Mute This Topic: https://lists.yoctoproject.org/mt/92898250/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-