From 3c45419fd98ce298c324086255cec20b23b36d56 Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 13 Apr 2006 22:14:01 +0000 Subject: [PATCH] initial import of Cache::FastMmap 1.09 A shared memory cache through an mmap'ed file. It's core is written in C for performance. It uses fcntl locking to ensure multiple processes can safely access the cache at the same time. It uses a basic LRU algorithm to keep the most used entries in the cache. submitted by Srebrenko Sehic, ssehic at gmail.com ok sturm@ --- devel/p5-Cache-FastMmap/Makefile | 23 +++++++++++++++++++++++ devel/p5-Cache-FastMmap/distinfo | 4 ++++ devel/p5-Cache-FastMmap/pkg/DESCR | 4 ++++ devel/p5-Cache-FastMmap/pkg/PLIST | 14 ++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 devel/p5-Cache-FastMmap/Makefile create mode 100644 devel/p5-Cache-FastMmap/distinfo create mode 100644 devel/p5-Cache-FastMmap/pkg/DESCR create mode 100644 devel/p5-Cache-FastMmap/pkg/PLIST diff --git a/devel/p5-Cache-FastMmap/Makefile b/devel/p5-Cache-FastMmap/Makefile new file mode 100644 index 00000000000..a5e8d00f340 --- /dev/null +++ b/devel/p5-Cache-FastMmap/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/04/13 22:14:01 steven Exp $ + +SHARED_ONLY= Yes + +COMMENT= "fast shared data cache using memory mapped files" + +DISTNAME= Cache-FastMmap-1.09 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 + +MAINTAINER= Srebrenko Sehic + +# 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-FastMmap/distinfo b/devel/p5-Cache-FastMmap/distinfo new file mode 100644 index 00000000000..61246d260db --- /dev/null +++ b/devel/p5-Cache-FastMmap/distinfo @@ -0,0 +1,4 @@ +MD5 (Cache-FastMmap-1.09.tar.gz) = 513e715813ff55c534e7b0cebbffedad +RMD160 (Cache-FastMmap-1.09.tar.gz) = b53d5c564a8cdd49eb17ba359af7b902fe57eaf2 +SHA1 (Cache-FastMmap-1.09.tar.gz) = bea11a393f9b377ae300b692dc237efd6dfb4475 +SIZE (Cache-FastMmap-1.09.tar.gz) = 36275 diff --git a/devel/p5-Cache-FastMmap/pkg/DESCR b/devel/p5-Cache-FastMmap/pkg/DESCR new file mode 100644 index 00000000000..e448030f7e9 --- /dev/null +++ b/devel/p5-Cache-FastMmap/pkg/DESCR @@ -0,0 +1,4 @@ +A shared memory cache through an mmap'ed file. It's core is written in C for +performance. It uses fcntl locking to ensure multiple processes can safely +access the cache at the same time. It uses a basic LRU algorithm to keep the +most used entries in the cache. diff --git a/devel/p5-Cache-FastMmap/pkg/PLIST b/devel/p5-Cache-FastMmap/pkg/PLIST new file mode 100644 index 00000000000..53244d96fa5 --- /dev/null +++ b/devel/p5-Cache-FastMmap/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/04/13 22:14:01 steven Exp $ +${P5ARCH}/ +${P5ARCH}/Cache/ +${P5ARCH}/Cache/FastMmap/ +${P5ARCH}/Cache/FastMmap.pm +${P5ARCH}/Cache/FastMmap/CImpl.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Cache/ +${P5ARCH}/auto/Cache/FastMmap/ +${P5ARCH}/auto/Cache/FastMmap/CImpl/ +${P5ARCH}/auto/Cache/FastMmap/CImpl/CImpl.bs +${P5ARCH}/auto/Cache/FastMmap/CImpl/CImpl.so +@man man/man3p/Cache::FastMmap.3p +@man man/man3p/Cache::FastMmap::CImpl.3p