diff mbox series

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

Message ID fac02277-c377-4377-974b-0ec817b108f9@3mdeb.com
State New
Headers show
Series [meta-networking,v2] meta-networking: recipes-support: miniocli: add | expand

Commit Message

Danill Klimuk July 10, 2024, 2:32 p.m. UTC
meta-networking: recipes-support: miniocli: add

Adds CLI tool to manage MinIO S3 deployments.

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

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

Comments

Khem Raj July 10, 2024, 2:47 p.m. UTC | #1
still the patch is corrupted.

On Wed, Jul 10, 2024 at 7:32 AM Danik via lists.openembedded.org
<daniil.klimuk=3mdeb.com@lists.openembedded.org> wrote:
>
> meta-networking: recipes-support: miniocli: add
>
> Adds CLI tool to manage MinIO S3 deployments.
>
> Signed-off-by: Daniil Klimuk <daniil.klimuk@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/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj July 14, 2024, 7:05 p.m. UTC | #2
I applied it manually and it has further build issues.

https://errors.yoctoproject.org/Errors/Details/790778/

On Wed, Jul 10, 2024 at 7:47 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> still the patch is corrupted.
>
> On Wed, Jul 10, 2024 at 7:32 AM Danik via lists.openembedded.org
> <daniil.klimuk=3mdeb.com@lists.openembedded.org> wrote:
> >
> > meta-networking: recipes-support: miniocli: add
> >
> > Adds CLI tool to manage MinIO S3 deployments.
> >
> > Signed-off-by: Daniil Klimuk <daniil.klimuk@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/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..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.