aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 07:33:46 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 07:33:46 +0000
commit39336c4506cc4d51e687d849fd655dd265e72107 (patch)
tree5f6f346bf1ca1add729abc538b73d237dec9630e
parent43e2cc42174be934d63276d22d3022d91cfbeb3b (diff)
downloadports-39336c4506cc4d51e687d849fd655dd265e72107.tar.gz
ports-39336c4506cc4d51e687d849fd655dd265e72107.zip
security/rubygem-pundit61: New port
Pundit provides a set of helpers which guide you in leveraging regular Ruby classes and object oriented design patterns to build a simple, robust and scaleable authorization system. Sponsored by: Nepustil
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-pundit61/Makefile21
-rw-r--r--security/rubygem-pundit61/distinfo3
-rw-r--r--security/rubygem-pundit61/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 332663fd48ba..bc5f1aa1a506 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1113,6 +1113,7 @@
SUBDIR += rubygem-origami
SUBDIR += rubygem-pbkdf2-ruby
SUBDIR += rubygem-pundit
+ SUBDIR += rubygem-pundit61
SUBDIR += rubygem-pyu-ruby-sasl
SUBDIR += rubygem-rack-oauth2
SUBDIR += rubygem-razorback-scriptNugget
diff --git a/security/rubygem-pundit61/Makefile b/security/rubygem-pundit61/Makefile
new file mode 100644
index 000000000000..89ddb97dd1b4
--- /dev/null
+++ b/security/rubygem-pundit61/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= pundit
+PORTVERSION= 2.2.0
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 61
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Object oriented authorization for Rails applications
+WWW= https://github.com/varvet/pundit
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activesupport61>=3.0.0:devel/rubygem-activesupport61
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-pundit61/distinfo b/security/rubygem-pundit61/distinfo
new file mode 100644
index 000000000000..441144dcb52e
--- /dev/null
+++ b/security/rubygem-pundit61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646058858
+SHA256 (rubygem/pundit-2.2.0.gem) = 4def4ecee890085af2d7f4968566f5d7ddb4f64d3b54c40860037a3df871e29f
+SIZE (rubygem/pundit-2.2.0.gem) = 27136
diff --git a/security/rubygem-pundit61/pkg-descr b/security/rubygem-pundit61/pkg-descr
new file mode 100644
index 000000000000..ff29a68eb6a5
--- /dev/null
+++ b/security/rubygem-pundit61/pkg-descr
@@ -0,0 +1,3 @@
+Pundit provides a set of helpers which guide you in leveraging regular Ruby
+classes and object oriented design patterns to build a simple, robust and
+scaleable authorization system.