Skip to contentSkip to conversation

libest: add recipe

PATCH New akuster 1 participant 2 messages Sep 28, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/2 libest: add recipe

---
 recipes-security/libest/libest_3.2.0.bb | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 recipes-security/libest/libest_3.2.0.bb
recipes-security/libest/libest_3.2.0.bb new file +23 -0
new file mode 100644
index 0000000..36ff5ca
@@ -0,0 +1,23 @@
+SUMMARY = "EST is used for secure certificate  \
+enrollment and is compatible with Suite B certs (as well as RSA \
+and DSA certificates)"
+
+LICENSE = "OpenSSL"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ecb78acde8e3b795de8ef6b61aed5885"
+
+SRCREV = "4ca02c6d7540f2b1bcea278a4fbe373daac7103b"
+SRC_URI = "git://github.com/cisco/libest"
+
+DEPENDS = "openssl"
+
+inherit autotools-brokensep
+
+EXTRA_OECONF = "--disable-pthreads --with-ssl-dir=${STAGING_LIBDIR}"
+
+CFLAGS += "-fcommon"
+
+S = "${WORKDIR}/git"
+
+PACKAGES = "${PN} ${PN}-dbg ${PN}-dev"
+
+FILES_${PN} = "${bindir}/* ${libdir}/libest-3.2.0p.so"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 packagegroup-core-security: add libest package

---
 recipes-core/packagegroup/packagegroup-core-security.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-core/packagegroup/packagegroup-core-security.bb +1 -0
index 4d98631..c69e3b3 100644
@@ -37,6 +37,7 @@ RDEPENDS_packagegroup-security-utils = "\
     python3-fail2ban \
     python3-scapy \
     softhsm \
+    libest \
     ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 ", "", " libseccomp",d)} \
     ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd google-authenticator-libpam", "",d)} \
     ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \
Signature · 1 line
2.17.1