Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2022 21:12:45 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fa764ee14332 - main - www/p5-LWP-UserAgent-Cached: New port: LWP::UserAgent with simple caching mechanism
Message-ID:  <202212112112.2BBLCjAh084173@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa764ee14332a84dd739167772230091a863196d

commit fa764ee14332a84dd739167772230091a863196d
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-12-11 21:11:32 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-12-11 21:11:32 +0000

    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
---
 www/Makefile                          |  1 +
 www/p5-LWP-UserAgent-Cached/Makefile  | 17 +++++++++++++++++
 www/p5-LWP-UserAgent-Cached/distinfo  |  3 +++
 www/p5-LWP-UserAgent-Cached/pkg-descr |  4 ++++
 www/p5-LWP-UserAgent-Cached/pkg-plist |  2 ++
 5 files changed, 27 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212112112.2BBLCjAh084173>