aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-omniauth-saml/Makefile22
-rw-r--r--security/rubygem-omniauth-saml/distinfo2
-rw-r--r--security/rubygem-omniauth-saml/files/patch-omniauth-saml.gemspec11
-rw-r--r--security/rubygem-omniauth-saml/pkg-descr3
5 files changed, 39 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 2eace49ba5ec..7723d86144b0 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -937,6 +937,7 @@
SUBDIR += rubygem-omniauth-bitbucket
SUBDIR += rubygem-omniauth-gitlab
SUBDIR += rubygem-omniauth-multipassword
+ SUBDIR += rubygem-omniauth-saml
SUBDIR += rubygem-omniauth-shibboleth
SUBDIR += rubygem-origami
SUBDIR += rubygem-pyu-ruby-sasl
diff --git a/security/rubygem-omniauth-saml/Makefile b/security/rubygem-omniauth-saml/Makefile
new file mode 100644
index 000000000000..ad68d6305b66
--- /dev/null
+++ b/security/rubygem-omniauth-saml/Makefile
@@ -0,0 +1,22 @@
+# Created by: Torsten Zühlsdorff <ports@toco-domains.de>
+# $FreeBSD$
+
+PORTNAME= omniauth-saml
+PORTVERSION= 1.3.1
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= OmniAuth strategy for SAML
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-omniauth>=1.1:${PORTSDIR}/security/rubygem-omniauth \
+ rubygem-ruby-saml>=0.8.1:${PORTSDIR}/security/rubygem-ruby-saml
+
+NO_ARCH= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-omniauth-saml/distinfo b/security/rubygem-omniauth-saml/distinfo
new file mode 100644
index 000000000000..e3cf597cb77c
--- /dev/null
+++ b/security/rubygem-omniauth-saml/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/omniauth-saml-1.3.1.gem) = 41d23d263f928b8b301c4a1a02e7a7a917952665d0f79d3bf587cd99f83d8a85
+SIZE (rubygem/omniauth-saml-1.3.1.gem) = 9728
diff --git a/security/rubygem-omniauth-saml/files/patch-omniauth-saml.gemspec b/security/rubygem-omniauth-saml/files/patch-omniauth-saml.gemspec
new file mode 100644
index 000000000000..b18c05639363
--- /dev/null
+++ b/security/rubygem-omniauth-saml/files/patch-omniauth-saml.gemspec
@@ -0,0 +1,11 @@
+--- omniauth-saml.gemspec.orig 2015-07-06 11:43:34 UTC
++++ omniauth-saml.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<omniauth>, ["~> 1.1"])
+- s.add_runtime_dependency(%q<ruby-saml>, ["~> 0.8.1"])
++ s.add_runtime_dependency(%q<ruby-saml>, [">= 0.8.1"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.8"])
+ s.add_development_dependency(%q<simplecov>, ["~> 0.6"])
+ s.add_development_dependency(%q<rack-test>, ["~> 0.6"])
diff --git a/security/rubygem-omniauth-saml/pkg-descr b/security/rubygem-omniauth-saml/pkg-descr
new file mode 100644
index 000000000000..fb77a0822663
--- /dev/null
+++ b/security/rubygem-omniauth-saml/pkg-descr
@@ -0,0 +1,3 @@
+A generic SAML strategy for OmniAuth
+
+WWW: https://github.com/PracticallyGreen/omniauth-saml