pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add p5-Mojolicious-Plugin-OAuth2-Server



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Thu Nov 29 16:42:40 2018 +0200
Changeset:	d1493d83510afbfc259b76f475e28352ec0d685f

Added Files:
	p5-Mojolicious-Plugin-OAuth2-Server/DESCR
	p5-Mojolicious-Plugin-OAuth2-Server/Makefile
	p5-Mojolicious-Plugin-OAuth2-Server/distinfo

Log Message:
Add p5-Mojolicious-Plugin-OAuth2-Server

This plugin implements the various OAuth2 grant types flow as
described at http://tools.ietf.org/html/rfc6749. It is a complete
implementation of RFC6749, with the exception of the "Extension
Grants" as the description of that grant type is rather hand-wavy.

The bulk of the functionality is implemented in the
Net::OAuth2::AuthorizationServer distribution, you should see that
for more comprehensive documentation and examples of usage.

The examples here use the "Authorization Code Grant" flow as that
is considered the most secure and most complete form of OAuth2.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1493d83510afbfc259b76f475e28352ec0d685f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 p5-Mojolicious-Plugin-OAuth2-Server/DESCR    | 11 +++++++++++
 p5-Mojolicious-Plugin-OAuth2-Server/Makefile | 23 +++++++++++++++++++++++
 p5-Mojolicious-Plugin-OAuth2-Server/distinfo |  6 ++++++
 3 files changed, 40 insertions(+)

diffs:
diff --git a/p5-Mojolicious-Plugin-OAuth2-Server/DESCR b/p5-Mojolicious-Plugin-OAuth2-Server/DESCR
new file mode 100644
index 0000000000..a354cdda35
--- /dev/null
+++ b/p5-Mojolicious-Plugin-OAuth2-Server/DESCR
@@ -0,0 +1,11 @@
+This plugin implements the various OAuth2 grant types flow as
+described at http://tools.ietf.org/html/rfc6749. It is a complete
+implementation of RFC6749, with the exception of the "Extension
+Grants" as the description of that grant type is rather hand-wavy.
+
+The bulk of the functionality is implemented in the
+Net::OAuth2::AuthorizationServer distribution, you should see that
+for more comprehensive documentation and examples of usage.
+
+The examples here use the "Authorization Code Grant" flow as that
+is considered the most secure and most complete form of OAuth2.
diff --git a/p5-Mojolicious-Plugin-OAuth2-Server/Makefile b/p5-Mojolicious-Plugin-OAuth2-Server/Makefile
new file mode 100644
index 0000000000..d37b0edec9
--- /dev/null
+++ b/p5-Mojolicious-Plugin-OAuth2-Server/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.139 2018/09/02 07:55:30 wiz Exp $
+#
+# When updating this package, please upload the distfile
+# since they disappear immediately when new releases happen,
+# which is quite often.
+
+DISTNAME=	Mojolicious-Plugin-OAuth2-Server-0.42
+PKGNAME=	p5-${DISTNAME}
+CATEGORIES=	www perl5
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Mojolicious/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://mojolicio.us/
+COMMENT=	OAuth2 Authorization Server with Mojolicious
+LICENSE=	${PERL5_LICENSE}
+
+USE_LANGUAGES=	# empty
+PERL5_PACKLIST=	auto/Mojolicious/Plugin/OAuth2/Server/.packlist
+
+DEPENDS+=	p5-Net-OAuth2-AuthorizationServer-[0-9]*:../../wip/p5-Net-OAuth2-AuthorizationServer
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-Mojolicious-Plugin-OAuth2-Server/distinfo b/p5-Mojolicious-Plugin-OAuth2-Server/distinfo
new file mode 100644
index 0000000000..57f3c4a748
--- /dev/null
+++ b/p5-Mojolicious-Plugin-OAuth2-Server/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.130 2018/09/02 07:55:30 wiz Exp $
+
+SHA1 (Mojolicious-Plugin-OAuth2-Server-0.42.tar.gz) = f24646fcfcf894d89b4a46d9d2f1f10cf106194c
+RMD160 (Mojolicious-Plugin-OAuth2-Server-0.42.tar.gz) = 24d763c3c5d44e0b7741bf5eade9cfe847cf4732
+SHA512 (Mojolicious-Plugin-OAuth2-Server-0.42.tar.gz) = bd41326fdbcdc396a5a9ece573276011b0fd42cbe61707ce8b702b457e38399c314abca190b227d441cf2838575ea9626200bf99deb8d40aa777f7b19166c4ea
+Size (Mojolicious-Plugin-OAuth2-Server-0.42.tar.gz) = 20742 bytes


Home | Main Index | Thread Index | Old Index