summaryrefslogtreecommitdiff
path: root/security/rubygem-omniauth-cas3-oauth2
diff options
context:
space:
mode:
Diffstat (limited to 'security/rubygem-omniauth-cas3-oauth2')
-rw-r--r--security/rubygem-omniauth-cas3-oauth2/Makefile22
-rw-r--r--security/rubygem-omniauth-cas3-oauth2/distinfo3
-rw-r--r--security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec20
-rw-r--r--security/rubygem-omniauth-cas3-oauth2/pkg-descr5
4 files changed, 50 insertions, 0 deletions
diff --git a/security/rubygem-omniauth-cas3-oauth2/Makefile b/security/rubygem-omniauth-cas3-oauth2/Makefile
new file mode 100644
index 000000000000..9cb099288463
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= omniauth-cas3
+PORTVERSION= 1.1.4
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -oauth2
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= CAS 3.0 Strategy for OmniAuth
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \
+ rubygem-nokogiri>=1.7.1<2:textproc/rubygem-nokogiri \
+ rubygem-omniauth>=1.2<3:security/rubygem-omniauth
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-omniauth-cas3-oauth2/distinfo b/security/rubygem-omniauth-cas3-oauth2/distinfo
new file mode 100644
index 000000000000..942149eb8ce0
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494936612
+SHA256 (rubygem/omniauth-cas3-1.1.4.gem) = fd6151039fc0cb1ca8914d3b6ddeb05ce484101bb2bbee49f1b5ca46aa242ba4
+SIZE (rubygem/omniauth-cas3-1.1.4.gem) = 15872
diff --git a/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec b/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec
new file mode 100644
index 000000000000..25aedfc052a8
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/files/patch-omniauth-cas3.gemspec
@@ -0,0 +1,20 @@
+--- omniauth-cas3.gemspec.orig 2022-08-12 07:04:12 UTC
++++ omniauth-cas3.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ end
+
+ if s.respond_to? :add_runtime_dependency then
+- s.add_runtime_dependency(%q<omniauth>.freeze, ["~> 1.2"])
++ s.add_runtime_dependency(%q<omniauth>.freeze, [">= 1.2"])
+ s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.7", ">= 1.7.1"])
+ s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
+ s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])
+@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
+ s.add_development_dependency(%q<rack-test>.freeze, ["~> 0.6"])
+ s.add_development_dependency(%q<awesome_print>.freeze, [">= 0"])
+ else
+- s.add_dependency(%q<omniauth>.freeze, ["~> 1.2"])
++ s.add_dependency(%q<omniauth>.freeze, [">= 1.2"])
+ s.add_dependency(%q<nokogiri>.freeze, ["~> 1.7", ">= 1.7.1"])
+ s.add_dependency(%q<addressable>.freeze, ["~> 2.3"])
+ s.add_dependency(%q<rake>.freeze, ["~> 10.0"])
diff --git a/security/rubygem-omniauth-cas3-oauth2/pkg-descr b/security/rubygem-omniauth-cas3-oauth2/pkg-descr
new file mode 100644
index 000000000000..f6556043a3a7
--- /dev/null
+++ b/security/rubygem-omniauth-cas3-oauth2/pkg-descr
@@ -0,0 +1,5 @@
+This is a OmniAuth 1.0 compatible port of the previously available OmniAuth CAS
+strategy that was bundled with OmniAuth 0.3. This strategy haas also been
+updated for CAS protocol version 3.0 and patched to deal with namespace issues.
+
+WWW: https://github.com/tduehr/omniauth-cas3