aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2022-12-11 21:11:32 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-12-11 21:11:32 +0000
commitfa764ee14332a84dd739167772230091a863196d (patch)
treec4ee66df26812c67a3fe38f54ac8da4d457a9cde
parent94d5f0619385336c4f66d95f4fa95ad0a04aa719 (diff)
www/p5-LWP-UserAgent-Cached: New port: LWP::UserAgent with simple caching mechanism
LWP::UserAgent::Cached is yet another LWP::UserAgent subclass with cache support. It stores cache in the files on local filesystem and if response already available in the cache returns it instead of making HTTP request. WWW: https://metacpan.org/dist/LWP-UserAgent-Cached/ PR: 267493
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-LWP-UserAgent-Cached/Makefile17
-rw-r--r--www/p5-LWP-UserAgent-Cached/distinfo3
-rw-r--r--www/p5-LWP-UserAgent-Cached/pkg-descr4
-rw-r--r--www/p5-LWP-UserAgent-Cached/pkg-plist2
5 files changed, 27 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4cc1b620be30..348af08de223 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -978,6 +978,7 @@
SUBDIR += p5-LWP-Protocol-http10
SUBDIR += p5-LWP-Protocol-https
SUBDIR += p5-LWP-Protocol-socks
+ SUBDIR += p5-LWP-UserAgent-Cached
SUBDIR += p5-LWP-UserAgent-Determined
SUBDIR += p5-LWP-UserAgent-POE
SUBDIR += p5-LWP-UserAgent-WithCache
diff --git a/www/p5-LWP-UserAgent-Cached/Makefile b/www/p5-LWP-UserAgent-Cached/Makefile
new file mode 100644
index 000000000000..cfba91523ad2
--- /dev/null
+++ b/www/p5-LWP-UserAgent-Cached/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= LWP-UserAgent-Cached
+PORTVERSION= 0.08
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= LWP::UserAgent with simple caching mechanism
+WWW= https://metacpan.org/dist/LWP-UserAgent-Cached/
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/www/p5-LWP-UserAgent-Cached/distinfo b/www/p5-LWP-UserAgent-Cached/distinfo
new file mode 100644
index 000000000000..d5648ab77d6a
--- /dev/null
+++ b/www/p5-LWP-UserAgent-Cached/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1667292085
+SHA256 (LWP-UserAgent-Cached-0.08.tar.gz) = 3dce5ab4c78041656ce78564f76033e5bd1ec386f54d2e7b30740ae48ee787c3
+SIZE (LWP-UserAgent-Cached-0.08.tar.gz) = 8527
diff --git a/www/p5-LWP-UserAgent-Cached/pkg-descr b/www/p5-LWP-UserAgent-Cached/pkg-descr
new file mode 100644
index 000000000000..c53149d25fd7
--- /dev/null
+++ b/www/p5-LWP-UserAgent-Cached/pkg-descr
@@ -0,0 +1,4 @@
+LWP::UserAgent::Cached is yet another LWP::UserAgent subclass with
+cache support. It stores cache in the files on local filesystem and
+if response already available in the cache returns it instead of
+making HTTP request.
diff --git a/www/p5-LWP-UserAgent-Cached/pkg-plist b/www/p5-LWP-UserAgent-Cached/pkg-plist
new file mode 100644
index 000000000000..55396e762e36
--- /dev/null
+++ b/www/p5-LWP-UserAgent-Cached/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/LWP/UserAgent/Cached.pm
+%%PERL5_MAN3%%/LWP::UserAgent::Cached.3.gz