Mon Oct 2 00:25:59 2023 UTC ()
Add p5-Net-OAuth2: OAuth 2.0 implementation in Perl

OAuth version 2.0 is a follow-up on OAuth 1.0, which is not supported by
this module. The specification for version 2.0 can be found in

- RFC6749, Authorization framework: http://tools.ietf.org/html/rfc6749
- RFC6750, Bearer token usage: http://tools.ietf.org/html/rfc6750

Start with one these modules:

- Net::OAuth2::Profile::WebServer
- Net::OAuth2::Profile::Password


(schmonz)
diff -r0 -r1.1 pkgsrc/net/p5-Net-OAuth2/DESCR
diff -r0 -r1.1 pkgsrc/net/p5-Net-OAuth2/Makefile
diff -r0 -r1.1 pkgsrc/net/p5-Net-OAuth2/distinfo

File Added: pkgsrc/net/p5-Net-OAuth2/DESCR
OAuth version 2.0 is a follow-up on OAuth 1.0, which is not supported by
this module. The specification for version 2.0 can be found in

- RFC6749, Authorization framework: http://tools.ietf.org/html/rfc6749
- RFC6750, Bearer token usage: http://tools.ietf.org/html/rfc6750

Start with one these modules:

- Net::OAuth2::Profile::WebServer
- Net::OAuth2::Profile::Password

File Added: pkgsrc/net/p5-Net-OAuth2/Makefile
# $NetBSD: Makefile,v 1.1 2023/10/02 00:25:58 schmonz Exp $

DISTNAME=	Net-OAuth2-0.67
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	net perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Net/}

MAINTAINER=	schmonz@NetBSD.org
HOMEPAGE=	https://metacpan.org/pod/Net::OAuth2
COMMENT=	OAuth 2.0 implementation in Perl
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-libwww>=0:../../www/p5-libwww
DEPENDS+=	p5-Carp>=0:../../devel/p5-Carp
DEPENDS+=	p5-HTTP-Message>=0:../../www/p5-HTTP-Message
DEPENDS+=	p5-JSON-MaybeXS>=0:../../converters/p5-JSON-MaybeXS
DEPENDS+=	p5-URI>=0:../../www/p5-URI

PERL5_PACKLIST=	auto/Net/OAuth2/.packlist
USE_LANGUAGES=	# none

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/net/p5-Net-OAuth2/distinfo
$NetBSD: distinfo,v 1.1 2023/10/02 00:25:58 schmonz Exp $

BLAKE2s (Net-OAuth2-0.67.tar.gz) = df88273fa4dd9ffff0cef46d9f4a3323b65617442776a59dadb286b0b37a1faf
SHA512 (Net-OAuth2-0.67.tar.gz) = 28e1db3707878ccf4ffde1097fa3058c0242303c63ac4920ad6c1884d309987bf6975e983acc7c16411ad9102d1a02b3c5d97d2ffabbed72e1f39cb21a2ee607
Size (Net-OAuth2-0.67.tar.gz) = 22450 bytes