pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
amazon-ecs-cli: Import amazon-ecs-cli-1.20.0 as wip/amazon-ecs-cli
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Sep 1 21:52:32 2020 +0200
Changeset: 0daba193563f40d89507dc47ff7dfb95945bb1e8
Modified Files:
Makefile
Added Files:
amazon-ecs-cli/DESCR
amazon-ecs-cli/Makefile
amazon-ecs-cli/PLIST
amazon-ecs-cli/distinfo
amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go
amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go
amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go
Log Message:
amazon-ecs-cli: Import amazon-ecs-cli-1.20.0 as wip/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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0daba193563f40d89507dc47ff7dfb95945bb1e8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
amazon-ecs-cli/DESCR | 8 ++++++++
amazon-ecs-cli/Makefile | 23 ++++++++++++++++++++++
amazon-ecs-cli/PLIST | 2 ++
amazon-ecs-cli/distinfo | 9 +++++++++
...github.com_docker_docker_client_client__unix.go | 16 +++++++++++++++
...ub.com_docker_docker_pkg_system_stat__netbsd.go | 20 +++++++++++++++++++
...thub.com_docker_docker_pkg_term_termios__bsd.go | 12 +++++++++++
8 files changed, 91 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index fb0c495d12..67696285f0 100644
--- a/Makefile
+++ b/Makefile
@@ -120,6 +120,7 @@ SUBDIR+= am-utils
SUBDIR+= am-utils-git
SUBDIR+= amass
SUBDIR+= amavis-logwatch
+SUBDIR+= amazon-ecs-cli
SUBDIR+= amp-editor
SUBDIR+= analizo
SUBDIR+= and
diff --git a/amazon-ecs-cli/DESCR b/amazon-ecs-cli/DESCR
new file mode 100644
index 0000000000..8f389bf10b
--- /dev/null
+++ b/amazon-ecs-cli/DESCR
@@ -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 --git a/amazon-ecs-cli/Makefile b/amazon-ecs-cli/Makefile
new file mode 100644
index 0000000000..6b5ca360a3
--- /dev/null
+++ b/amazon-ecs-cli/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+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 --git a/amazon-ecs-cli/PLIST b/amazon-ecs-cli/PLIST
new file mode 100644
index 0000000000..ccf9f11a45
--- /dev/null
+++ b/amazon-ecs-cli/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/ecs-cli
diff --git a/amazon-ecs-cli/distinfo b/amazon-ecs-cli/distinfo
new file mode 100644
index 0000000000..3fd1141b4c
--- /dev/null
+++ b/amazon-ecs-cli/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2017/02/17 15:39:38 fhajny 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) = b35af71aa9c7b8216738a9d74242e1617253e062
+SHA1 (patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go) = fac4918e21d829ad6aefc259b16bebc84a1568de
diff --git a/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go
new file mode 100644
index 0000000000..e2eb5eb6ff
--- /dev/null
+++ b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_client_client__unix.go
@@ -0,0 +1,16 @@
+$NetBSD$
+
+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 --git a/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go
new file mode 100644
index 0000000000..4a69d399d6
--- /dev/null
+++ b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_system_stat__netbsd.go
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Add support for NetBSD.
+
+--- /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 --git a/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go
new file mode 100644
index 0000000000..48915caafc
--- /dev/null
+++ b/amazon-ecs-cli/patches/patch-ecs-cli_vendor_github.com_docker_docker_pkg_term_termios__bsd.go
@@ -0,0 +1,12 @@
+$NetBSD$
+
+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