diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2016-07-16 13:31:20 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2016-07-16 13:31:20 +0000 |
commit | 684aa7a228433656f570dd93afa12ad332d3dca1 (patch) | |
tree | 66181668fcdadff36bf06306defead1b81aa2015 /net | |
parent | a3932711c609907d7c1d1e2b5753f63b659199bd (diff) | |
download | pkgsrc-684aa7a228433656f570dd93afa12ad332d3dca1.tar.gz |
New package, go-vultr, a client for the Vultr Cloud service.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/go-vultr/DESCR | 4 | ||||
-rw-r--r-- | net/go-vultr/Makefile | 26 | ||||
-rw-r--r-- | net/go-vultr/PLIST | 49 | ||||
-rw-r--r-- | net/go-vultr/buildlink3.mk | 19 | ||||
-rw-r--r-- | net/go-vultr/distinfo | 6 |
6 files changed, 106 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index 2ebd22ad0d2..08bce2cdc85 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1125 2016/07/15 19:58:09 bsiegert Exp $ +# $NetBSD: Makefile,v 1.1126 2016/07/16 13:31:20 bsiegert Exp $ # COMMENT= Networking tools @@ -173,6 +173,7 @@ SUBDIR+= gnome-vfs-smb SUBDIR+= gnugk SUBDIR+= go-dns SUBDIR+= go-net +SUBDIR+= go-vultr SUBDIR+= gofish SUBDIR+= gopher SUBDIR+= grilo diff --git a/net/go-vultr/DESCR b/net/go-vultr/DESCR new file mode 100644 index 00000000000..ab139999b2c --- /dev/null +++ b/net/go-vultr/DESCR @@ -0,0 +1,4 @@ +Vultr CLI is a command line tool for using the Vultr API. It allows you to +create and manage your virtual machines, SSH public keys, snapshots and startup +scripts on your Vultr account. You can also use it to directly SSH into a Vultr +virtual machine through the vultr ssh command. diff --git a/net/go-vultr/Makefile b/net/go-vultr/Makefile new file mode 100644 index 00000000000..c602d8ce553 --- /dev/null +++ b/net/go-vultr/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2016/07/16 13:31:20 bsiegert Exp $ + +DISTNAME= go-vultr-1.8 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=JamesClonk/} +GITHUB_PROJECT= vultr +GITHUB_TAG= v1.8 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://jamesclonk.github.io/vultr/ +COMMENT= Vultr CLI and API client library +LICENSE= mit + +WRKSRC= ${WRKDIR} +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG:S/v//} +GO_SRCPATH= github.com/JamesClonk/vultr + +post-patch: + ${RM} -rf ${WRKSRC}/Godeps + +.include "../../devel/go-mow-cli/buildlink3.mk" +.include "../../devel/go-ratelimit/buildlink3.mk" +.include "../../devel/go-testify/buildlink3.mk" +.include "../../security/go-crypto/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/go-vultr/PLIST b/net/go-vultr/PLIST new file mode 100644 index 00000000000..8888367e264 --- /dev/null +++ b/net/go-vultr/PLIST @@ -0,0 +1,49 @@ +@comment $NetBSD: PLIST,v 1.1 2016/07/16 13:31:20 bsiegert Exp $ +bin/vultr +gopkg/pkg/${GO_PLATFORM}/github.com/JamesClonk/vultr/cmd.a +gopkg/pkg/${GO_PLATFORM}/github.com/JamesClonk/vultr/lib.a +gopkg/src/github.com/JamesClonk/vultr/LICENSE +gopkg/src/github.com/JamesClonk/vultr/README.md +gopkg/src/github.com/JamesClonk/vultr/cmd/cli.go +gopkg/src/github.com/JamesClonk/vultr/cmd/client.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_dns.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_info.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_iso.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_os.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_plans.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_regions.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_scripts.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_servers.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_snapshots.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_ssh.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_ssh_unix.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_ssh_windows.go +gopkg/src/github.com/JamesClonk/vultr/cmd/commands_sshkeys.go +gopkg/src/github.com/JamesClonk/vultr/cmd/printer.go +gopkg/src/github.com/JamesClonk/vultr/lib/account_info.go +gopkg/src/github.com/JamesClonk/vultr/lib/account_info_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/client.go +gopkg/src/github.com/JamesClonk/vultr/lib/client_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/dns.go +gopkg/src/github.com/JamesClonk/vultr/lib/dns_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/ip.go +gopkg/src/github.com/JamesClonk/vultr/lib/ip_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/iso.go +gopkg/src/github.com/JamesClonk/vultr/lib/iso_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/os.go +gopkg/src/github.com/JamesClonk/vultr/lib/os_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/plans.go +gopkg/src/github.com/JamesClonk/vultr/lib/plans_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/regions.go +gopkg/src/github.com/JamesClonk/vultr/lib/regions_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/scripts.go +gopkg/src/github.com/JamesClonk/vultr/lib/scripts_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/servers.go +gopkg/src/github.com/JamesClonk/vultr/lib/servers_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/snapshots.go +gopkg/src/github.com/JamesClonk/vultr/lib/snapshots_test.go +gopkg/src/github.com/JamesClonk/vultr/lib/sshkeys.go +gopkg/src/github.com/JamesClonk/vultr/lib/sshkeys_test.go +gopkg/src/github.com/JamesClonk/vultr/screenshot.png +gopkg/src/github.com/JamesClonk/vultr/vultr.go diff --git a/net/go-vultr/buildlink3.mk b/net/go-vultr/buildlink3.mk new file mode 100644 index 00000000000..20e198fc351 --- /dev/null +++ b/net/go-vultr/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/07/16 13:31:20 bsiegert Exp $ + +BUILDLINK_TREE+= go-vultr + +.if !defined(GO_VULTR_BUILDLINK3_MK) +GO_VULTR_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-vultr= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-vultr?= build + +BUILDLINK_API_DEPENDS.go-vultr+= go-vultr>=1.8 +BUILDLINK_PKGSRCDIR.go-vultr?= ../../net/go-vultr + +.include "../../devel/go-mow-cli/buildlink3.mk" +.include "../../devel/go-ratelimit/buildlink3.mk" +.include "../../security/go-crypto/buildlink3.mk" +.endif # GO_VULTR_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-vultr diff --git a/net/go-vultr/distinfo b/net/go-vultr/distinfo new file mode 100644 index 00000000000..3407941719e --- /dev/null +++ b/net/go-vultr/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/07/16 13:31:20 bsiegert Exp $ + +SHA1 (go-vultr-1.8.tar.gz) = 8bdf171b3731d2d50da5c9066a8b54670f7ca337 +RMD160 (go-vultr-1.8.tar.gz) = c199bb5b663f2aa4f94c41f6251d8f09e788d514 +SHA512 (go-vultr-1.8.tar.gz) = 856ddf0873dc71750d972288ab44cb19d6146b3025ab50e27606578930ca542da97685e21792aaa85c076d1e736bd28727fa547fe381abc7ededf0e0af159e99 +Size (go-vultr-1.8.tar.gz) = 204020 bytes |