summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortpaul <tpaul@pkgsrc.org>2022-05-16 18:08:00 +0000
committertpaul <tpaul@pkgsrc.org>2022-05-16 18:08:00 +0000
commit5242f01d2782a496df0fa1341fda09892e598430 (patch)
tree4e309dd35042750f49b4518bd5ad4ddb7c4f2e3c /net
parentee34ce8202ec696630b71d2dcc239b106c858240 (diff)
downloadpkgsrc-5242f01d2782a496df0fa1341fda09892e598430.tar.gz
net/vultr-cli: import vultr-cli-2.14.0
Official command line tool for Vultr services.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/vultr-cli/DESCR15
-rw-r--r--net/vultr-cli/Makefile21
-rw-r--r--net/vultr-cli/PLIST2
-rw-r--r--net/vultr-cli/distinfo5
5 files changed, 45 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 1965aa00633..3eb6c8ddc83 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1461 2022/05/08 20:33:36 khorben Exp $
+# $NetBSD: Makefile,v 1.1462 2022/05/16 18:08:00 tpaul Exp $
#
COMMENT= Networking tools
@@ -995,6 +995,7 @@ SUBDIR+= vpnc
SUBDIR+= vpnc-script
SUBDIR+= vsftpd
SUBDIR+= vtun
+SUBDIR+= vultr-cli
SUBDIR+= wakeup
SUBDIR+= walker
SUBDIR+= wap-utils
diff --git a/net/vultr-cli/DESCR b/net/vultr-cli/DESCR
new file mode 100644
index 00000000000..1fc18ab04c9
--- /dev/null
+++ b/net/vultr-cli/DESCR
@@ -0,0 +1,15 @@
+The Vultr Command Line Interface
+
+Usage:
+ vultr-cli [command]
+
+Available Commands:
+ account Retrieve information about your account
+ apps Display all available applications
+ backups Display backups
+ bare-metal bare-metal is used to access bare metal server commands
+ billing Display billing information
+ block-storage block storage commands
+ completion Generate the autocompletion script for the specified shell
+ dns dns is used to access dns commands
+ firewall firewall is used to access firewall commands
diff --git a/net/vultr-cli/Makefile b/net/vultr-cli/Makefile
new file mode 100644
index 00000000000..8ea6942f87b
--- /dev/null
+++ b/net/vultr-cli/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/05/16 18:08:00 tpaul Exp $
+
+DISTNAME= vultr-cli-2.14.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=vultr/}
+
+DIST_SUBDIR= ${DISTNAME}
+MAINTAINER= tpaul@NetBSD.org
+HOMEPAGE= https://github.com/vultr/vultr-cli/
+COMMENT= Official command line tool for Vultr services
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${PKGNAME_NOREV}
+GO_SRCPATH= github.com/vultr/vultr-cli/v2
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/v2 ${DESTDIR}${PREFIX}/bin/vultr-cli
+
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/vultr-cli/PLIST b/net/vultr-cli/PLIST
new file mode 100644
index 00000000000..19ae405c52d
--- /dev/null
+++ b/net/vultr-cli/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/16 18:08:00 tpaul Exp $
+bin/vultr-cli
diff --git a/net/vultr-cli/distinfo b/net/vultr-cli/distinfo
new file mode 100644
index 00000000000..5541da7db0e
--- /dev/null
+++ b/net/vultr-cli/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/16 18:08:00 tpaul Exp $
+
+BLAKE2s (vultr-cli-2.14.0/vultr-cli-2.14.0.tar.gz) = 6fe08fcb6cea0f4ec2bc98bd24714e638decee81adbac0cc08e26d15847fae4d
+SHA512 (vultr-cli-2.14.0/vultr-cli-2.14.0.tar.gz) = 13d5102978160b50f248183612a1e3c94e9bf8410cc0e0a4e7d5dd3676e58d6b4920834c7fe7bff51ec486ea8511929a455abbe652dc5d0e275ce4f9846f4b66
+Size (vultr-cli-2.14.0/vultr-cli-2.14.0.tar.gz) = 2229512 bytes