diff mbox series

[meta-networking] meta-networking: recipes-support: miniocli: add

Message ID d9633459-8887-4e85-ac2f-33c5b97a32b5@3mdeb.com
State New
Headers show
Series [meta-networking] meta-networking: recipes-support: miniocli: add | expand

Commit Message

Danill Klimuk July 10, 2024, 12:21 p.m. UTC
Adds CLI tool to manage MinIO S3 deployments.


Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
---
  .../recipes-support/miniocli/miniocli_git.bb  | 20 +++++++++++++++++++
  1 file changed, 20 insertions(+)
  create mode 100644 
meta-networking/recipes-support/miniocli/miniocli_git.bb

+RDEPENDS:${PN}-dev = "bash"

Comments

Khem Raj July 10, 2024, 2:08 p.m. UTC | #1
fails to apply

Patch failed at 0001 meta-networking: recipes-support: miniocli: add
error: git diff header lacks filename information when removing 1
leading pathname component (line 8)

Please use git format-patch to generate the patch

On Wed, Jul 10, 2024 at 5:21 AM Danik via lists.openembedded.org
<daniil.klimuk=3mdeb.com@lists.openembedded.org> wrote:
>
> Adds CLI tool to manage MinIO S3 deployments.
>
>
> Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
> ---
>   .../recipes-support/miniocli/miniocli_git.bb  | 20 +++++++++++++++++++
>   1 file changed, 20 insertions(+)
>   create mode 100644
> meta-networking/recipes-support/miniocli/miniocli_git.bb
>
> 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..55cf8b917146
> --- /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"
> --
> 2.45.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#111296): https://lists.openembedded.org/g/openembedded-devel/message/111296
> Mute This Topic: https://lists.openembedded.org/mt/107141238/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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..55cf8b917146
--- /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.