summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-HTTP-Cache-Transparent/DESCR7
-rw-r--r--www/p5-HTTP-Cache-Transparent/Makefile16
-rw-r--r--www/p5-HTTP-Cache-Transparent/PLIST1
-rw-r--r--www/p5-HTTP-Cache-Transparent/distinfo4
4 files changed, 28 insertions, 0 deletions
diff --git a/www/p5-HTTP-Cache-Transparent/DESCR b/www/p5-HTTP-Cache-Transparent/DESCR
new file mode 100644
index 00000000000..bf96b7106d2
--- /dev/null
+++ b/www/p5-HTTP-Cache-Transparent/DESCR
@@ -0,0 +1,7 @@
+HTTP::Cache::Transparent is an implementation of http get that
+keeps a local cache of fetched pages to avoid fetching the same
+data from the server if it hasn't been updated. The cache is stored
+on disk and is thus persistent between invocations.
+
+The http-headers If-Modified-Since and ETag are used to let the
+server decide if the version in the cache is up-to-date or not.
diff --git a/www/p5-HTTP-Cache-Transparent/Makefile b/www/p5-HTTP-Cache-Transparent/Makefile
new file mode 100644
index 00000000000..db3268c2e4d
--- /dev/null
+++ b/www/p5-HTTP-Cache-Transparent/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/19 20:22:34 wiz Exp $
+
+DISTNAME= HTTP-Cache-Transparent-0.5
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/HTTP-Cache-Transparent/
+COMMENT= Cache the result of http get-requests persistently
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTTP/Cache/Transparent/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTP-Cache-Transparent/PLIST b/www/p5-HTTP-Cache-Transparent/PLIST
new file mode 100644
index 00000000000..f658523f833
--- /dev/null
+++ b/www/p5-HTTP-Cache-Transparent/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/19 20:22:34 wiz Exp $
diff --git a/www/p5-HTTP-Cache-Transparent/distinfo b/www/p5-HTTP-Cache-Transparent/distinfo
new file mode 100644
index 00000000000..202e6708bd5
--- /dev/null
+++ b/www/p5-HTTP-Cache-Transparent/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/19 20:22:34 wiz Exp $
+
+SHA1 (HTTP-Cache-Transparent-0.5.tar.gz) = 89fb2e09e30a22a239ceb57fdc7a48bf5c6fc37d
+Size (HTTP-Cache-Transparent-0.5.tar.gz) = 7305 bytes