From owner-freebsd-ports Sun Mar 25 15:40:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AE5B937B71E for ; Sun, 25 Mar 2001 15:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2PNe1Y69709; Sun, 25 Mar 2001 15:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3AA9837B71A for ; Sun, 25 Mar 2001 15:35:21 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2PNZLF69342; Sun, 25 Mar 2001 15:35:21 -0800 (PST) (envelope-from nobody) Message-Id: <200103252335.f2PNZLF69342@freefall.freebsd.org> Date: Sun, 25 Mar 2001 15:35:21 -0800 (PST) From: ahze@ahze.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/26086: Another New Port. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26086 >Category: ports >Synopsis: Another New Port. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Sun Mar 25 15:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: 4.3 >Organization: >Environment: >Description: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-LJ-Cache/ # p5-LJ-Cache/Makefile # p5-LJ-Cache/distinfo # p5-LJ-Cache/pkg-comment # p5-LJ-Cache/pkg-descr # p5-LJ-Cache/pkg-plist # echo c - p5-LJ-Cache/ mkdir -p p5-LJ-Cache/ > /dev/null 2>&1 echo x - p5-LJ-Cache/Makefile sed 's/^X//' >p5-LJ-Cache/Makefile << 'END-of-p5-LJ-Cache/Makefile' X# New ports collection makefile for: p5-LJ-Cache X# Date created: 25 Mar 2001 X# Whom: Michael Johnson X# X XPORTNAME= LJ-Cache XPORTVERSION= 1.0 XCATEGORIES= perl5 sysutils XMASTER_SITES= http://livejournal.com/files/code/cache/ \ X ftp://ftp.livejournal.com/code/cache/ X X XPKGNAMEPREFIX= p5- X XMAINTAINER= ahze@ahze.net X X XPERL_CONFIGURE= yes X X X.include END-of-p5-LJ-Cache/Makefile echo x - p5-LJ-Cache/distinfo sed 's/^X//' >p5-LJ-Cache/distinfo << 'END-of-p5-LJ-Cache/distinfo' XMD5 (LJ-Cache-1.0.tar.gz) = a7d7c0b8c54239d72ba3647be0de1d14 END-of-p5-LJ-Cache/distinfo echo x - p5-LJ-Cache/pkg-comment sed 's/^X//' >p5-LJ-Cache/pkg-comment << 'END-of-p5-LJ-Cache/pkg-comment' X two operations on it are get() and set(), both of which promote the key being referenced to the ``top'' of the cache, so it will stay alive longest. END-of-p5-LJ-Cache/pkg-comment echo x - p5-LJ-Cache/pkg-descr sed 's/^X//' >p5-LJ-Cache/pkg-descr << 'END-of-p5-LJ-Cache/pkg-descr' XThis class implements an LRU dictionary cache. The two operations on it are Xget() and set(), both of which promote the key being referenced to the ``top'' Xof the cache, so it will stay alive longest. When the cache is full and and a Xnew item needs to be added, the oldest one is thrown away. You should be able Xto regenerate the data at any time, if get() returns undef. This class is Xuseful for caching information from a slower data source while also keeping Xa bound on memory usage. X XWWW: http://livejournal.com/code/cache/ END-of-p5-LJ-Cache/pkg-descr echo x - p5-LJ-Cache/pkg-plist sed 's/^X//' >p5-LJ-Cache/pkg-plist << 'END-of-p5-LJ-Cache/pkg-plist' Xlib/perl5/5.00503/man/man3/LJ::Cache.3 Xlib/perl5/site_perl/5.005/LJ/Cache.pm Xlib/perl5/site_perl/5.005/auto/LJ/Cache/autosplit.ix X@dirrm lib/perl5/site_perl/5.005/auto/LJ/Cache/ END-of-p5-LJ-Cache/pkg-plist exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message