meta-networking: recipes-support: miniocli: add

Adds CLI tool to manage MinIO S3 deployments.

Signed-off-by: Daniil Klimuk <daniil.kli...@3mdeb.com>

diff --git a/meta-networking/recipes-support/miniocli/miniocli_git.bb b/meta-networking/recipes-support/miniocli/miniocli_git.bb
new file mode 100644
index 000000000000..5207acf9891c
--- /dev/null
+++ b/meta-networking/recipes-support/miniocli/miniocli_git.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Simple and fast CLI tool to manage MinIO deployments."
+HOMEPAGE = "https://min.io/docs/minio/linux/reference/minio-mc.html";
+SECTION = "net"
+
+GO_IMPORT = "github.com/minio/mc"
+
+inherit go-mod
+
+LICENSE = "AGPL-3.0"
+LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=eb1e647870add0502f8f010b19de32af"
+
+SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master"
+SRCREV = "e7c9a733c680fe62066d24e8718f81938b4f6606"
+
+FILES:${PN} += "${bindir}/mc"
+
+# MinIO CLI depends on getent which is a part of glibc-utils.
+RDEPENDS:${PN} = "glibc-utils"
+# github.com/minio/mc has some Bash scripts.
+RDEPENDS:${PN}-dev = "bash"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111300): 
https://lists.openembedded.org/g/openembedded-devel/message/111300
Mute This Topic: https://lists.openembedded.org/mt/107143600/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to