aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:15 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:15 +0000
commit1ca8cd57f2c95606f289241c101418aaa2923900 (patch)
tree0b52c421e60ab73d220f7519e5b1e5d1eddaf0d4
parent09731424527119c34b5c74fe49497b9993437c5c (diff)
downloadports-1ca8cd57f2c95606f289241c101418aaa2923900.tar.gz
ports-1ca8cd57f2c95606f289241c101418aaa2923900.zip
security/p5-Net-SAML2: Add p5-Net-SAML2 0.57
Net::SAML2 provides support for the Web Browser SSO profile of SAML2. Net::SAML2 correctly perform the SSO process against numerous SAML Identity Providers (IdPs). It has been tested against: - GSuite (Google) - Azure (Microsoft Office 365) - OneLogin - Jump - Mircosoft ADFS - Keycloak - Auth0 - PingIdentity WWW: https://metacpan.org/dist/Net-SAML2
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Net-SAML2/Makefile56
-rw-r--r--security/p5-Net-SAML2/distinfo3
-rw-r--r--security/p5-Net-SAML2/pkg-descr14
-rw-r--r--security/p5-Net-SAML2/pkg-plist30
5 files changed, 104 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index fb3be1cc04d2..c7b9abe82074 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -650,6 +650,7 @@
SUBDIR += p5-Net-OpenID-Server
SUBDIR += p5-Net-Radius-Server
SUBDIR += p5-Net-SAML
+ SUBDIR += p5-Net-SAML2
SUBDIR += p5-Net-SSH-AuthorizedKeysFile
SUBDIR += p5-Net-SSL-ExpireDate
SUBDIR += p5-Net-SSLGlue
diff --git a/security/p5-Net-SAML2/Makefile b/security/p5-Net-SAML2/Makefile
new file mode 100644
index 000000000000..13afc7b84bc8
--- /dev/null
+++ b/security/p5-Net-SAML2/Makefile
@@ -0,0 +1,56 @@
+PORTNAME= Net-SAML2
+PORTVERSION= 0.57
+CATEGORIES= security perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= SAML2 bindings and protocol implementation
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0:security/p5-Crypt-OpenSSL-Bignum \
+ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \
+ p5-Crypt-OpenSSL-Random>=0:security/p5-Crypt-OpenSSL-Random \
+ p5-Crypt-OpenSSL-Verify>=0:security/p5-Crypt-OpenSSL-Verify \
+ p5-Crypt-OpenSSL-X509>=0:security/p5-Crypt-OpenSSL-X509 \
+ p5-DateTime>=0:devel/p5-DateTime \
+ p5-DateTime-Format-XSD>=0:devel/p5-DateTime-Format-XSD \
+ p5-DateTime-HiRes>=0:devel/p5-DateTime-HiRes \
+ p5-File-Slurper>=0:devel/p5-File-Slurper \
+ p5-HTTP-Message>=0:www/p5-HTTP-Message \
+ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \
+ p5-Moose>=0:devel/p5-Moose \
+ p5-MooseX-Types-Common>=0:devel/p5-MooseX-Types-Common \
+ p5-MooseX-Types-DateTime>=0:devel/p5-MooseX-Types-DateTime \
+ p5-MooseX-Types-URI>=0:devel/p5-MooseX-Types-URI \
+ p5-URI>=0:net/p5-URI \
+ p5-URI-Encode>=0:www/p5-URI-Encode \
+ p5-URN-OASIS-SAML2>=0.002:security/p5-URN-OASIS-SAML2 \
+ p5-XML-Enc>=0.05:textproc/p5-XML-Enc \
+ p5-XML-Generator>=0:textproc/p5-XML-Generator \
+ p5-XML-LibXML>=0:textproc/p5-XML-LibXML \
+ p5-XML-Sig>=0.52:textproc/p5-XML-Sig \
+ p5-XML-Writer>=0.625:textproc/p5-XML-Writer \
+ p5-libwww>=0:www/p5-libwww \
+ p5-namespace-autoclean>=0:devel/p5-namespace-autoclean
+TEST_DEPENDS= p5-Import-Into>=0:devel/p5-Import-Into \
+ p5-Path-Tiny>=0:devel/p5-Path-Tiny \
+ p5-Sub-Override>=0:devel/p5-Sub-Override \
+ p5-Test-Deep>=0:devel/p5-Test-Deep \
+ p5-Test-Exception>=0:devel/p5-Test-Exception \
+ p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+ p5-Test-Lib>=0:devel/p5-Test-Lib \
+ p5-Test-NoTabs>=0:devel/p5-Test-NoTabs \
+ p5-Test-Pod>=0:devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/p5-Net-SAML2/distinfo b/security/p5-Net-SAML2/distinfo
new file mode 100644
index 000000000000..9d93f4cc6c84
--- /dev/null
+++ b/security/p5-Net-SAML2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660576672
+SHA256 (Net-SAML2-0.57.tar.gz) = 155807d99eac184a796897c20b2060ae341948e28e838b216eddfec0924dfd71
+SIZE (Net-SAML2-0.57.tar.gz) = 105756
diff --git a/security/p5-Net-SAML2/pkg-descr b/security/p5-Net-SAML2/pkg-descr
new file mode 100644
index 000000000000..eb5e606ffdae
--- /dev/null
+++ b/security/p5-Net-SAML2/pkg-descr
@@ -0,0 +1,14 @@
+Net::SAML2 provides support for the Web Browser SSO profile of SAML2.
+
+Net::SAML2 correctly perform the SSO process against numerous SAML Identity
+Providers (IdPs). It has been tested against:
+- GSuite (Google)
+- Azure (Microsoft Office 365)
+- OneLogin
+- Jump
+- Mircosoft ADFS
+- Keycloak
+- Auth0
+- PingIdentity
+
+WWW: https://metacpan.org/dist/Net-SAML2
diff --git a/security/p5-Net-SAML2/pkg-plist b/security/p5-Net-SAML2/pkg-plist
new file mode 100644
index 000000000000..331525e285dc
--- /dev/null
+++ b/security/p5-Net-SAML2/pkg-plist
@@ -0,0 +1,30 @@
+%%SITE_PERL%%/Net/SAML2.pm
+%%SITE_PERL%%/Net/SAML2/Binding/POST.pm
+%%SITE_PERL%%/Net/SAML2/Binding/Redirect.pm
+%%SITE_PERL%%/Net/SAML2/Binding/SOAP.pm
+%%SITE_PERL%%/Net/SAML2/IdP.pm
+%%SITE_PERL%%/Net/SAML2/Protocol/ArtifactResolve.pm
+%%SITE_PERL%%/Net/SAML2/Protocol/Assertion.pm
+%%SITE_PERL%%/Net/SAML2/Protocol/AuthnRequest.pm
+%%SITE_PERL%%/Net/SAML2/Protocol/LogoutRequest.pm
+%%SITE_PERL%%/Net/SAML2/Protocol/LogoutResponse.pm
+%%SITE_PERL%%/Net/SAML2/Role/ProtocolMessage.pm
+%%SITE_PERL%%/Net/SAML2/SP.pm
+%%SITE_PERL%%/Net/SAML2/Util.pm
+%%SITE_PERL%%/Net/SAML2/XML/Sig.pm
+%%SITE_PERL%%/Net/SAML2/XML/Util.pm
+%%PERL5_MAN3%%/Net::SAML2.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Binding::POST.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Binding::Redirect.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Binding::SOAP.3.gz
+%%PERL5_MAN3%%/Net::SAML2::IdP.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Protocol::ArtifactResolve.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Protocol::Assertion.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Protocol::AuthnRequest.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Protocol::LogoutRequest.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Protocol::LogoutResponse.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Role::ProtocolMessage.3.gz
+%%PERL5_MAN3%%/Net::SAML2::SP.3.gz
+%%PERL5_MAN3%%/Net::SAML2::Util.3.gz
+%%PERL5_MAN3%%/Net::SAML2::XML::Sig.3.gz
+%%PERL5_MAN3%%/Net::SAML2::XML::Util.3.gz