git: 168b225f6024 - main - security/rubygem-vault: Add rubygem-vault 0.16.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:22 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=168b225f6024461075fdb6ac655a49829926eae0

commit 168b225f6024461075fdb6ac655a49829926eae0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:49:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:45 +0000

    security/rubygem-vault: Add rubygem-vault 0.16.0
    
    Vault is the official Ruby client for interacting with Vault by HashiCorp.
    
    WWW: https://github.com/hashicorp/vault-ruby
---
 security/Makefile                |  1 +
 security/rubygem-vault/Makefile  | 21 +++++++++++++++++++++
 security/rubygem-vault/distinfo  |  3 +++
 security/rubygem-vault/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index cc3a4b116c21..af0f597fa1f5 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1184,6 +1184,7 @@
     SUBDIR += rubygem-tpm-key_attestation
     SUBDIR += rubygem-twitter_oauth
     SUBDIR += rubygem-unix-crypt
+    SUBDIR += rubygem-vault
     SUBDIR += rubygem-webauthn
     SUBDIR += rubygem-webpush
     SUBDIR += rustscan
diff --git a/security/rubygem-vault/Makefile b/security/rubygem-vault/Makefile
new file mode 100644
index 000000000000..3cb55fb810dd
--- /dev/null
+++ b/security/rubygem-vault/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	vault
+PORTVERSION=	0.16.0
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby API client for interacting with a Vault server
+
+LICENSE=	MPL20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-aws-sigv4>=0:devel/rubygem-aws-sigv4
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-vault/distinfo b/security/rubygem-vault/distinfo
new file mode 100644
index 000000000000..e9b658a233a5
--- /dev/null
+++ b/security/rubygem-vault/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045734
+SHA256 (rubygem/vault-0.16.0.gem) = 51ba5c3bd50d1d6faf245d5e5fcf13d6387c5e3afcd27ab96376bc2b9e55fb10
+SIZE (rubygem/vault-0.16.0.gem) = 49664
diff --git a/security/rubygem-vault/pkg-descr b/security/rubygem-vault/pkg-descr
new file mode 100644
index 000000000000..08db0d779766
--- /dev/null
+++ b/security/rubygem-vault/pkg-descr
@@ -0,0 +1,3 @@
+Vault is the official Ruby client for interacting with Vault by HashiCorp.
+
+WWW: https://github.com/hashicorp/vault-ruby