[meta-freescale] [PATCH 7/7] est-client-go: add recipes

chunrong.guo at nxp.com chunrong.guo at nxp.com
Thu May 3 23:41:55 PDT 2018


From: Chunrong Guo <chunrong.guo at nxp.com>

*include the following changes:
14471c0 - Fix indentation.
e103235 - Merge branch 'master' of https://github.com/laurentluce/est-client-go
a81899f - Rely on pkcs7 lib to convert from pkcs7 to pem, instead of using openssl.
0ee2ed3 - Update Client structure.
79813ac - Update README.md
0ce2f31 - Update README.md
630f918 - Update README.md
1955bc0 - Update README with more comments.
20700b3 - Update README.
9691805 - golint.
76aff0e - Update README.md
2aa555d - Update README.
8dce887 - Enroll and Reenroll.
3caa92e - Basic CaCerts.
0d9ae88 - Initial commit

*qoriq-edgescale-eds depends est-client-go

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-containers/qoriq-eds/est-client-go_git.bb | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/est-client-go_git.bb

diff --git a/recipes-containers/qoriq-eds/est-client-go_git.bb b/recipes-containers/qoriq-eds/est-client-go_git.bb
new file mode 100644
index 0000000..afaf233
--- /dev/null
+++ b/recipes-containers/qoriq-eds/est-client-go_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "A golang registry for global request variables."
+HOMEPAGE = "https://github.com/Sirupsen/logrus"
+SECTION = "devel/go"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b6b7e206ebc611ea880bb400fd48de48"
+
+SRCNAME = "mqtt"
+
+PKG_NAME = "github.com/laurentluce/est-client-go"
+SRC_URI = "git://${PKG_NAME}.git"
+
+SRCREV = "14471c0ce01a9b67577ff1eeb0241bced09d387f"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
+	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "est_client_go_sysroot_preprocess"
+
+est_client_go_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
+    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
+}
+
+FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-- 
2.7.4



More information about the meta-freescale mailing list