From c854aac6f5fb317ff3201a4095ffbbc5379269ff Mon Sep 17 00:00:00 2001 From: sturm Date: Thu, 27 Jan 2005 12:38:17 +0000 Subject: [PATCH] Initial import of Cache-Mmap 0.081 This module provides a shared cache, using a memory mapped file. Very useful for mod_perl applications. If routines are provided which interact with the underlying data, access to the cache is completely transparent, and the module handles all the details of refreshing cache contents, and updating underlying data, if necessary. --- devel/p5-Cache-Mmap/Makefile | 23 +++++++++++++++++++++++ devel/p5-Cache-Mmap/distinfo | 3 +++ devel/p5-Cache-Mmap/pkg/DESCR | 5 +++++ devel/p5-Cache-Mmap/pkg/PFRAG.shared | 2 ++ devel/p5-Cache-Mmap/pkg/PLIST | 10 ++++++++++ 5 files changed, 43 insertions(+) create mode 100644 devel/p5-Cache-Mmap/Makefile create mode 100644 devel/p5-Cache-Mmap/distinfo create mode 100644 devel/p5-Cache-Mmap/pkg/DESCR create mode 100644 devel/p5-Cache-Mmap/pkg/PFRAG.shared create mode 100644 devel/p5-Cache-Mmap/pkg/PLIST diff --git a/devel/p5-Cache-Mmap/Makefile b/devel/p5-Cache-Mmap/Makefile new file mode 100644 index 00000000000..bd514f0ff19 --- /dev/null +++ b/devel/p5-Cache-Mmap/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/01/27 12:38:17 sturm Exp $ + +SHARED-ONLY= Yes + +COMMENT= "shared data cache using memory mapped files" + +DISTNAME= Cache-Mmap-0.081 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 + +MAINTAINER= Nikolay Sturm + +# GPL/Artistic +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Cache/} + +CONFIGURE_STYLE=perl + +.include diff --git a/devel/p5-Cache-Mmap/distinfo b/devel/p5-Cache-Mmap/distinfo new file mode 100644 index 00000000000..aaf7c17dda1 --- /dev/null +++ b/devel/p5-Cache-Mmap/distinfo @@ -0,0 +1,3 @@ +MD5 (Cache-Mmap-0.081.tar.gz) = 3170cbdf4232f5b2c578d5cd81527693 +RMD160 (Cache-Mmap-0.081.tar.gz) = 26e8d77eabddb88c615a4f3302303e119f803a62 +SHA1 (Cache-Mmap-0.081.tar.gz) = 04a3e21d3290db9eb5a9aec5b6817f16ad3027c2 diff --git a/devel/p5-Cache-Mmap/pkg/DESCR b/devel/p5-Cache-Mmap/pkg/DESCR new file mode 100644 index 00000000000..dc343ce94a9 --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg/DESCR @@ -0,0 +1,5 @@ +This module provides a shared cache, using a memory mapped file. Very +useful for mod_perl applications. If routines are provided which interact +with the underlying data, access to the cache is completely transparent, +and the module handles all the details of refreshing cache contents, and +updating underlying data, if necessary. diff --git a/devel/p5-Cache-Mmap/pkg/PFRAG.shared b/devel/p5-Cache-Mmap/pkg/PFRAG.shared new file mode 100644 index 00000000000..1e265455406 --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/01/27 12:38:17 sturm Exp $ +${P5ARCH}/auto/Cache/Mmap/Mmap.so diff --git a/devel/p5-Cache-Mmap/pkg/PLIST b/devel/p5-Cache-Mmap/pkg/PLIST new file mode 100644 index 00000000000..728c0cb77aa --- /dev/null +++ b/devel/p5-Cache-Mmap/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/27 12:38:17 sturm Exp $ +${P5ARCH}/ +${P5ARCH}/Cache/ +${P5ARCH}/Cache/Mmap.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Cache/ +${P5ARCH}/auto/Cache/Mmap/ +${P5ARCH}/auto/Cache/Mmap/Mmap.bs +@man man/man3p/Cache::Mmap.3p +%%SHARED%%