git: dced785298d4 - main - security/rubygem-openssl2: Add rubygem-openssl2 2.2.1 (copied from rubygem-openssl)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:30:59 UTC
The branch main has been updated by sunpoet:

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

commit dced785298d49c472afff48099ef5b0b56e320ff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:10:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:10:53 +0000

    security/rubygem-openssl2: Add rubygem-openssl2 2.2.1 (copied from rubygem-openssl)
    
    - Add PORTSCOUT
---
 security/Makefile                   |  1 +
 security/rubygem-openssl2/Makefile  | 24 ++++++++++++++++++++++++
 security/rubygem-openssl2/distinfo  |  3 +++
 security/rubygem-openssl2/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 805bb3faef8f..d50a071ef994 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1096,6 +1096,7 @@
     SUBDIR += rubygem-openssl-ccm
     SUBDIR += rubygem-openssl-cmac
     SUBDIR += rubygem-openssl-signature_algorithm
+    SUBDIR += rubygem-openssl2
     SUBDIR += rubygem-openvas-omp
     SUBDIR += rubygem-origami
     SUBDIR += rubygem-pbkdf2-ruby
diff --git a/security/rubygem-openssl2/Makefile b/security/rubygem-openssl2/Makefile
new file mode 100644
index 000000000000..6fafa12b8745
--- /dev/null
+++ b/security/rubygem-openssl2/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	openssl
+PORTVERSION=	2.2.1
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Wrap the OpenSSL library
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-ipaddr>=0:net/rubygem-ipaddr
+
+USES=		cpe gem ssl
+USE_RUBY=	yes
+
+CPE_VENDOR=	ruby-lang
+
+PORTSCOUT=	limit:^2\.
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-openssl2/distinfo b/security/rubygem-openssl2/distinfo
new file mode 100644
index 000000000000..30769e7f77ab
--- /dev/null
+++ b/security/rubygem-openssl2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635181765
+SHA256 (rubygem/openssl-2.2.1.gem) = f6afbf4b66f3fcd3c08dc1da1ddd2245b76c19d0ea2dd7e2c8b55794ca1a7d72
+SIZE (rubygem/openssl-2.2.1.gem) = 192000
diff --git a/security/rubygem-openssl2/pkg-descr b/security/rubygem-openssl2/pkg-descr
new file mode 100644
index 000000000000..54974dcc3e89
--- /dev/null
+++ b/security/rubygem-openssl2/pkg-descr
@@ -0,0 +1,4 @@
+OpenSSL provides SSL, TLS and general purpose cryptography.  This gem wraps the
+OpenSSL library.
+
+WWW: https://github.com/ruby/openssl