git: 524a93cb9208 - main - security/rubygem-omniauth-saml1: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 03 Dec 2022 18:36:46 UTC
The branch main has been updated by bofh:

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

commit 524a93cb9208b667905efa39aae644e194b7072c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-03 18:35:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-03 18:36:34 +0000

    security/rubygem-omniauth-saml1: New port
    
    A generic SAML strategy for OmniAuth
    
    Sponsored by:   Nepustil
---
 security/Makefile                         |  1 +
 security/rubygem-omniauth-saml1/Makefile  | 22 ++++++++++++++++++++++
 security/rubygem-omniauth-saml1/distinfo  |  3 +++
 security/rubygem-omniauth-saml1/pkg-descr |  1 +
 4 files changed, 27 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 4f6f4c4ea513..f52c1195a82f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1104,6 +1104,7 @@
     SUBDIR += rubygem-omniauth-oauth2-generic
     SUBDIR += rubygem-omniauth-rails_csrf_protection
     SUBDIR += rubygem-omniauth-saml
+    SUBDIR += rubygem-omniauth-saml1
     SUBDIR += rubygem-omniauth-shibboleth
     SUBDIR += rubygem-omniauth1
     SUBDIR += rubygem-openssl
diff --git a/security/rubygem-omniauth-saml1/Makefile b/security/rubygem-omniauth-saml1/Makefile
new file mode 100644
index 000000000000..cc04b2fe7360
--- /dev/null
+++ b/security/rubygem-omniauth-saml1/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	omniauth-saml
+PORTVERSION=	1.10.3
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	1
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	OmniAuth strategy for SAML
+WWW=		https://github.com/omniauth/omniauth-saml
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-omniauth1>=1.3.2:security/rubygem-omniauth1 \
+		rubygem-ruby-saml>=1.9<2:security/rubygem-ruby-saml
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-omniauth-saml1/distinfo b/security/rubygem-omniauth-saml1/distinfo
new file mode 100644
index 000000000000..8c870cb35bc8
--- /dev/null
+++ b/security/rubygem-omniauth-saml1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670091868
+SHA256 (rubygem/omniauth-saml-1.10.3.gem) = a4a568892d573b033353b95416cf69759839a5a64358d7109dd2eab92809b43f
+SIZE (rubygem/omniauth-saml-1.10.3.gem) = 16896
diff --git a/security/rubygem-omniauth-saml1/pkg-descr b/security/rubygem-omniauth-saml1/pkg-descr
new file mode 100644
index 000000000000..3e96d5b4bb53
--- /dev/null
+++ b/security/rubygem-omniauth-saml1/pkg-descr
@@ -0,0 +1 @@
+A generic SAML strategy for OmniAuth