pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/amazon-ecs-cli amazon-ecs-cli: Import amazon-ecs-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5bc90fedbd29
branches: trunk
changeset: 438927:5bc90fedbd29
user: leot <leot%pkgsrc.org@localhost>
date: Sat Sep 12 14:53:39 2020 +0000
description:
amazon-ecs-cli: Import amazon-ecs-cli-1.20.0 as net/amazon-ecs-cli
The Amazon ECS Command Line Interface (CLI) is a command line tool for
Amazon Elastic Container Service (Amazon ECS) that provides high-level
commands to simplify creating, updating, and monitoring clusters and
tasks from a local development environment. The Amazon ECS CLI supports
Docker Compose, a popular open-source tool for defining and running
multi-container applications. Use the CLI as part of your everyday
development and testing cycle as an alternative to the AWS Management
Console or the AWS CLI.
diffstat:
net/amazon-ecs-cli/DESCR | 8 +++
net/amazon-ecs-cli/Makefile | 23 +++++++++
net/amazon-ecs-cli/PLIST | 2 +
net/amazon-ecs-cli/distinfo | 9 +++
net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go | 16 ++++++
net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go | 24 ++++++++++
net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go | 12 +++++
7 files changed, 94 insertions(+), 0 deletions(-)
diffs (122 lines):
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/DESCR Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,8 @@
+The Amazon ECS Command Line Interface (CLI) is a command line tool for
+Amazon Elastic Container Service (Amazon ECS) that provides high-level
+commands to simplify creating, updating, and monitoring clusters and
+tasks from a local development environment. The Amazon ECS CLI supports
+Docker Compose, a popular open-source tool for defining and running
+multi-container applications. Use the CLI as part of your everyday
+development and testing cycle as an alternative to the AWS Management
+Console or the AWS CLI.
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/Makefile Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/09/12 14:53:39 leot Exp $
+
+DISTNAME= amazon-ecs-cli-1.20.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=aws/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html
+COMMENT= Amazon ECS Cli
+LICENSE= apache-2.0
+
+GO_BUILD_PATTERN= ${GO_SRCPATH}/ecs-cli
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/aws/amazon-ecs-cli
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/ecs-cli ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/PLIST Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/12 14:53:39 leot Exp $
+bin/ecs-cli
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/distinfo Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2020/09/12 14:53:39 leot Exp $
+
+SHA1 (amazon-ecs-cli-1.20.0.tar.gz) = 12706027f1f2e9b5a1819475c114a179a479eea7
+RMD160 (amazon-ecs-cli-1.20.0.tar.gz) = 902747ea321e342a8b30890e49435c61badf3bcd
+SHA512 (amazon-ecs-cli-1.20.0.tar.gz) = f14de7e3b8efe96c57fb3cd03f83e4ab65625c1ecd1067521fa7b22f93053ebe0316f520b89331672c35035b9dacbbc532d16c5b56d4ec0ba13103f9a9b86e79
+Size (amazon-ecs-cli-1.20.0.tar.gz) = 3660509 bytes
+SHA1 (patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go) = c9ec73a3272dee60a37308500d0c9d0dd999d0f2
+SHA1 (patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go) = 45f6953e7b4b29d83df858fcc3c9c1fdd1a1bc0e
+SHA1 (patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go) = fac4918e21d829ad6aefc259b16bebc84a1568de
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go,v 1.1 2020/09/12 14:53:39 leot Exp $
+
+Add support for NetBSD and DragonFly BSD.
+
+Backport from upstream commit:
+
+ <https://github.com/moby/moby/commit/87a7fc1ced93430cd301d55bec4ff5fb353493a5>
+
+--- ecs-cli/vendor/github.com/docker/docker/client/client_unix.go.orig 2020-07-07 22:09:30.000000000 +0000
++++ ecs-cli/vendor/github.com/docker/docker/client/client_unix.go
+@@ -1,4 +1,4 @@
+-// +build linux freebsd openbsd darwin
++// +build linux freebsd netbsd openbsd darwin dragonfly
+
+ package client // import "github.com/docker/docker/client"
+
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go,v 1.1 2020/09/12 14:53:39 leot Exp $
+
+Add support for NetBSD.
+
+Shared upstream via:
+
+ <https://github.com/moby/moby/pull/41441>
+
+--- /dev/null 2020-09-01 18:37:14.499473640 +0000
++++ ecs-cli/vendor/github.com/docker/docker/pkg/system/stat_netbsd.go
+@@ -0,0 +1,13 @@
++package system // import "github.com/docker/docker/pkg/system"
++
++import "syscall"
++
++// fromStatT converts a syscall.Stat_t type to a system.Stat_t type
++func fromStatT(s *syscall.Stat_t) (*StatT, error) {
++ return &StatT{size: s.Size,
++ mode: uint32(s.Mode),
++ uid: s.Uid,
++ gid: s.Gid,
++ rdev: uint64(s.Rdev),
++ mtim: s.Mtimespec}, nil
++}
diff -r a2b8fd2f88a3 -r 5bc90fedbd29 net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go Sat Sep 12 14:53:39 2020 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go,v 1.1 2020/09/12 14:53:39 leot Exp $
+
+Add support for NetBSD.
+
+--- ecs-cli/vendor/github.com/docker/docker/pkg/term/termios_bsd.go.orig 2020-07-07 22:09:30.000000000 +0000
++++ ecs-cli/vendor/github.com/docker/docker/pkg/term/termios_bsd.go
+@@ -1,4 +1,4 @@
+-// +build darwin freebsd openbsd
++// +build darwin freebsd netbsd openbsd
+
+ package term // import "github.com/docker/docker/pkg/term"
+
Home |
Main Index |
Thread Index |
Old Index