git: e4a5bcb1c8f1 - main - security/rubygem-rasn1: Add rubygem-rasn1 0.12.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 17:33:29 UTC
The branch main has been updated by sunpoet:

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

commit e4a5bcb1c8f1f8192f63433605aaa85e5ae0af2b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:07:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:41 +0000

    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.
---
 security/Makefile                |  1 +
 security/rubygem-rasn1/Makefile  | 19 +++++++++++++++++++
 security/rubygem-rasn1/distinfo  |  3 +++
 security/rubygem-rasn1/pkg-descr |  2 ++
 4 files changed, 25 insertions(+)

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.