git: 9acad4ea5b0a - main - security/rubygem-devise_pam_authenticatable2-rails61: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 05:27:21 UTC
The branch main has been updated by bofh:

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

commit 9acad4ea5b0a5fa43536496cb25811d757d23fe1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 05:25:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 05:27:14 +0000

    security/rubygem-devise_pam_authenticatable2-rails61: New port
    
    The devise_pam_authenticatable2 is a Devise extension for authentication
    using PAM (Pluggable Authentication Modulues) via the rpam2 gem. This
    allows you to authenticate against the local host's authentication
    system including local account usernames and passwords.
    
    Sponsored by:   Nepustil
---
 security/Makefile                                  |  1 +
 .../Makefile                                       | 22 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index d007ea104370..f4d0bcf56ebd 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1045,6 +1045,7 @@
     SUBDIR += rubygem-devise-two-factor-rails61
     SUBDIR += rubygem-devise-two-factor-rails70
     SUBDIR += rubygem-devise_pam_authenticatable2
+    SUBDIR += rubygem-devise_pam_authenticatable2-rails61
     SUBDIR += rubygem-digest
     SUBDIR += rubygem-digest-crc
     SUBDIR += rubygem-doorkeeper
diff --git a/security/rubygem-devise_pam_authenticatable2-rails61/Makefile b/security/rubygem-devise_pam_authenticatable2-rails61/Makefile
new file mode 100644
index 000000000000..b1970966a19c
--- /dev/null
+++ b/security/rubygem-devise_pam_authenticatable2-rails61/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	devise_pam_authenticatable2
+PORTVERSION=	9.2.0
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails61
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Devise PAM authentication module using rpam2
+WWW=		https://github.com/devkral/devise_pam_authenticatable2
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-devise-rails61>=4.0.0:devel/rubygem-devise-rails61 \
+		rubygem-rpam2>=4.0:security/rubygem-rpam2
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-devise_pam_authenticatable2-rails61/distinfo b/security/rubygem-devise_pam_authenticatable2-rails61/distinfo
new file mode 100644
index 000000000000..4e3328a36947
--- /dev/null
+++ b/security/rubygem-devise_pam_authenticatable2-rails61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536249250
+SHA256 (rubygem/devise_pam_authenticatable2-9.2.0.gem) = e21ee4ac213de01e5d5863ba25e23a4304b079dc6128866edf86c17945a1378e
+SIZE (rubygem/devise_pam_authenticatable2-9.2.0.gem) = 8704
diff --git a/security/rubygem-devise_pam_authenticatable2-rails61/pkg-descr b/security/rubygem-devise_pam_authenticatable2-rails61/pkg-descr
new file mode 100644
index 000000000000..e7e625bec0e6
--- /dev/null
+++ b/security/rubygem-devise_pam_authenticatable2-rails61/pkg-descr
@@ -0,0 +1,4 @@
+The devise_pam_authenticatable2 is a Devise extension for authentication using
+PAM (Pluggable Authentication Modulues) via the rpam2 gem.  This allows you to
+authenticate against the local host's authentication system including local
+account usernames and passwords.