summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-WWW-OAuth/Makefile28
-rw-r--r--www/p5-WWW-OAuth/distinfo3
-rw-r--r--www/p5-WWW-OAuth/pkg-descr8
-rw-r--r--www/p5-WWW-OAuth/pkg-plist12
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index e15175598f1a..b7a225f0bb65 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1302,6 +1302,7 @@
SUBDIR += p5-WWW-Myspace
SUBDIR += p5-WWW-NicoVideo-Download
SUBDIR += p5-WWW-NioTV
+ SUBDIR += p5-WWW-OAuth
SUBDIR += p5-WWW-OpenSVN
SUBDIR += p5-WWW-OpenSearch
SUBDIR += p5-WWW-Pastebin-PastebinCom-Create
diff --git a/www/p5-WWW-OAuth/Makefile b/www/p5-WWW-OAuth/Makefile
new file mode 100644
index 000000000000..2a1155286f93
--- /dev/null
+++ b/www/p5-WWW-OAuth/Makefile
@@ -0,0 +1,28 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= WWW-OAuth
+PORTVERSION= 1.000
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Portable OAuth 1.0 authentication
+
+LICENSE= ART20
+
+BUILD_DEPENDS= p5-libwww>0:www/p5-libwww \
+ p5-Class-Tiny-Chained>0:devel/p5-Class-Tiny-Chained \
+ p5-HTTP-Message>0:www/p5-HTTP-Message \
+ p5-Module-Runtime>0:devel/p5-Module-Runtime \
+ p5-Mojolicious>0:www/p5-Mojolicious \
+ p5-Role-Tiny>0:devel/p5-Role-Tiny \
+ p5-URI>0:net/p5-URI \
+ p5-WWW-Form-UrlEncoded>0:www/p5-WWW-Form-UrlEncoded
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/www/p5-WWW-OAuth/distinfo b/www/p5-WWW-OAuth/distinfo
new file mode 100644
index 000000000000..59eed52de552
--- /dev/null
+++ b/www/p5-WWW-OAuth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1540046396
+SHA256 (WWW-OAuth-1.000.tar.gz) = 5ec4350b2657a747f422e9ac76dc54da7dd824058b53aaa866c43fdac646762a
+SIZE (WWW-OAuth-1.000.tar.gz) = 29304
diff --git a/www/p5-WWW-OAuth/pkg-descr b/www/p5-WWW-OAuth/pkg-descr
new file mode 100644
index 000000000000..0c86701ef987
--- /dev/null
+++ b/www/p5-WWW-OAuth/pkg-descr
@@ -0,0 +1,8 @@
+WWW::OAuth implements OAuth 1.0 request authentication according to RFC 5849
+(sometimes referred to as OAuth 1.0A). It does not implement the user agent
+requests needed for the complete OAuth 1.0 authorization flow; it only
+prepares and signs requests, leaving the rest up to your application. It can
+authenticate requests for LWP::UserAgent, Mojo::UserAgent, HTTP::Tiny, and
+can be extended to operate on other types of requests.
+
+WWW: https://metacpan.org/pod/WWW::OAuth
diff --git a/www/p5-WWW-OAuth/pkg-plist b/www/p5-WWW-OAuth/pkg-plist
new file mode 100644
index 000000000000..dd17698a7aa0
--- /dev/null
+++ b/www/p5-WWW-OAuth/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/WWW/OAuth.pm
+%%SITE_PERL%%/WWW/OAuth/Request.pm
+%%SITE_PERL%%/WWW/OAuth/Request/Basic.pm
+%%SITE_PERL%%/WWW/OAuth/Request/HTTP_Request.pm
+%%SITE_PERL%%/WWW/OAuth/Request/Mojo.pm
+%%SITE_PERL%%/WWW/OAuth/Util.pm
+%%PERL5_MAN3%%/WWW::OAuth.3.gz
+%%PERL5_MAN3%%/WWW::OAuth::Request.3.gz
+%%PERL5_MAN3%%/WWW::OAuth::Request::Basic.3.gz
+%%PERL5_MAN3%%/WWW::OAuth::Request::HTTP_Request.3.gz
+%%PERL5_MAN3%%/WWW::OAuth::Request::Mojo.3.gz
+%%PERL5_MAN3%%/WWW::OAuth::Util.3.gz