From 2b9b683d035c53775156509148fb7405e56da0d9 Mon Sep 17 00:00:00 2001 From: abs Date: Tue, 6 Feb 2007 18:50:07 +0000 Subject: Import p5-Cache into pkgsrc: The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web applications to store data locally to save repeated and redundant expensive calls to remote machines or databases. The Cache interface is implemented by derived classes that store cached data in different manners (such as as files on a filesystem, or in memory). To use the Cache system, a cache implementation must be chosen to suit your needs. The most common is Cache::File, which is suitable for sharing data between multiple invocations and even between concurrent processes. --- devel/p5-Cache/DESCR | 13 +++++++++++++ devel/p5-Cache/Makefile | 26 ++++++++++++++++++++++++++ devel/p5-Cache/PLIST | 1 + devel/p5-Cache/distinfo | 5 +++++ 4 files changed, 45 insertions(+) create mode 100644 devel/p5-Cache/DESCR create mode 100644 devel/p5-Cache/Makefile create mode 100644 devel/p5-Cache/PLIST create mode 100644 devel/p5-Cache/distinfo (limited to 'devel') diff --git a/devel/p5-Cache/DESCR b/devel/p5-Cache/DESCR new file mode 100644 index 00000000000..7c8eaeb7333 --- /dev/null +++ b/devel/p5-Cache/DESCR @@ -0,0 +1,13 @@ +The Cache modules are designed to assist a developer in persisting +data for a specified period of time. Often these modules are used +in web applications to store data locally to save repeated and +redundant expensive calls to remote machines or databases. + +The Cache interface is implemented by derived classes that store +cached data in different manners (such as as files on a filesystem, +or in memory). + +To use the Cache system, a cache implementation must be chosen to +suit your needs. The most common is Cache::File, which is suitable +for sharing data between multiple invocations and even between +concurrent processes. diff --git a/devel/p5-Cache/Makefile b/devel/p5-Cache/Makefile new file mode 100644 index 00000000000..e26ac5c8446 --- /dev/null +++ b/devel/p5-Cache/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $ +# + +DISTNAME= Cache-2.04 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Cache/} \ + ${MASTER_SITE_SOURCEFORGE:=perl-cache/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://perl-cache.sourceforge.net/ +COMMENT= The Cache interface + +DEPENDS+= p5-File-NFSLock>=1.20:../../devel/p5-File-NFSLock +DEPENDS+= p5-Heap>=0.01:../../devel/p5-Heap +DEPENDS+= p5-IO-String>=1.02:../../devel/p5-IO-String +DEPENDS+= p5-Storable>=1.00:../../devel/p5-Storable +DEPENDS+= p5-TimeDate>=1.00:../../time/p5-TimeDate +DEPENDS+= security/p5-Digest-SHA1>=2.01:../../security/p5-Digest-SHA1 + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +PERL5_PACKLIST= auto/Cache/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Cache/PLIST b/devel/p5-Cache/PLIST new file mode 100644 index 00000000000..427bd1f4c1d --- /dev/null +++ b/devel/p5-Cache/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $ diff --git a/devel/p5-Cache/distinfo b/devel/p5-Cache/distinfo new file mode 100644 index 00000000000..de2df863d3d --- /dev/null +++ b/devel/p5-Cache/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/02/06 18:50:07 abs Exp $ + +SHA1 (Cache-2.04.tar.gz) = 3eafae74877f2c9a96f1c0c574640fda7089f8b0 +RMD160 (Cache-2.04.tar.gz) = cc8faec9b0369888263705eed8a72334222365ae +Size (Cache-2.04.tar.gz) = 34501 bytes -- cgit v1.2.3