aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:07:47 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:29:41 +0000
commite4a5bcb1c8f1f8192f63433605aaa85e5ae0af2b (patch)
treefb8cc875b827ce0151a15f9dd3ed9dc6c6243bc7
parent4b3d37988d35f41063afc47b89c1170ceada9ace (diff)
downloadports-e4a5bcb1c8f1f8192f63433605aaa85e5ae0af2b.tar.gz
ports-e4a5bcb1c8f1f8192f63433605aaa85e5ae0af2b.zip
security/rubygem-rasn1: Add rubygem-rasn1 0.12.1
Rasn1 is a ruby ASN.1 library to encode, parse and decode ASN.1 data in DER format.
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-rasn1/Makefile19
-rw-r--r--security/rubygem-rasn1/distinfo3
-rw-r--r--security/rubygem-rasn1/pkg-descr2
4 files changed, 25 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a45a92d6d43a..8f8a52918d47 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1137,6 +1137,7 @@
SUBDIR += rubygem-pyu-ruby-sasl
SUBDIR += rubygem-rack-oauth2
SUBDIR += rubygem-rack-oauth21
+ SUBDIR += rubygem-rasn1
SUBDIR += rubygem-razorback-scriptNugget
SUBDIR += rubygem-rbnacl
SUBDIR += rubygem-rbnacl-libsodium
diff --git a/security/rubygem-rasn1/Makefile b/security/rubygem-rasn1/Makefile
new file mode 100644
index 000000000000..d45bfed330a8
--- /dev/null
+++ b/security/rubygem-rasn1/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= rasn1
+PORTVERSION= 0.12.1
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pure ruby ASN.1 library
+WWW= https://github.com/sdaubert/rasn1
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-strptime>=0.2.5<0.3:devel/rubygem-strptime
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-rasn1/distinfo b/security/rubygem-rasn1/distinfo
new file mode 100644
index 000000000000..21550ee53171
--- /dev/null
+++ b/security/rubygem-rasn1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679498514
+SHA256 (rubygem/rasn1-0.12.1.gem) = b184ee24d77ad72783888a247710afdf3097542011e76f5c06944e2a4f9cc316
+SIZE (rubygem/rasn1-0.12.1.gem) = 27648
diff --git a/security/rubygem-rasn1/pkg-descr b/security/rubygem-rasn1/pkg-descr
new file mode 100644
index 000000000000..d4f8fa85986c
--- /dev/null
+++ b/security/rubygem-rasn1/pkg-descr
@@ -0,0 +1,2 @@
+Rasn1 is a ruby ASN.1 library to encode, parse and decode ASN.1 data in DER
+format.