Subject: pkg/11834: new package: devel/p5-Storable
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eric@cirr.com>
List: netbsd-bugs
Date: 12/28/2000 11:46:22
>Number:         11834
>Category:       pkg
>Synopsis:       new package: devel/p5-Storable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 28 11:46:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Eric Schnoebelen
>Release:        2000-12-28
>Organization:
	Central Iowa (Model) Railroad
>Environment:
	
System: NetBSD milo.cirr.com 1.5 NetBSD 1.5 (MILO) #0: Sat Nov 18 13:15:16 PST 2000 eric@milo.cirr.com:/home/milo/eric/work/usr/src/sys/arch/alpha/compile/MILO alpha


>Description:
	Add the Perl5 Storable module.
	Needed in support of the Interchange module, which I hope to
	offer soon.

>How-To-Repeat:
>Fix:
# shell archive included in-line, as it is small
# 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:
#
#	Makefile
#	files
#	pkg
#	files/md5
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	Storable-1.0.6
XPKGNAME=	p5-${DISTNAME}
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Storable/}
X
XMAINTAINER=	eric@cirr.com
XHOMEPAGE=	http://theoryx5.uwinnipeg.ca/CPAN/data/Storable/Storable.html
X
XUSE_PERL5=	# defined
XPERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Storable/.packlist
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo c - files
mkdir -p files > /dev/null 2>&1
echo c - pkg
mkdir -p pkg > /dev/null 2>&1
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (Storable-1.0.6.tar.gz) = 35a1d9878056337b3779172f95f536e7
END-of-files/md5
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
Xstores to disk any perl data structure
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XThe Storable extension brings persistency to your data.
X
XYou may recursively store to disk any data structure, no matter how
Xcomplex and circular it is, provided it contains only SCALAR, ARRAY,
XHASH (possibly tied) and references (possibly blessed) to those items.
X
XAt a later stage, or in another program, you may retrieve data from
Xthe stored file and recreate the same hiearchy in memory. If you
Xhad blessed references, the retrieved references are blessed into
Xthe same package, so you must make sure you have access to the
Xsame perl class as the one used to create the relevant objects.
X
X[lifted completely from Storable's README]
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment $NetBSD$
END-of-pkg/PLIST
exit

>Release-Note:
>Audit-Trail:
>Unformatted: