Date: Sun, 25 Mar 2001 15:35:21 -0800 (PST) From: ahze@ahze.net To: freebsd-gnats-submit@FreeBSD.org Subject: ports/26086: Another New Port. Message-ID: <200103252335.f2PNZLF69342@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <ahze@ahze.net> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103252335.f2PNZLF69342>