From b78c8e6641cc2a8772d96740129cdd8e269ce0d4 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 2 Apr 2001 14:33:50 +0000 Subject: databases/p5-MLDBM is a duplicate of devel/p5-MLDBM. Merge the two packages into one, in the databases category. --- databases/p5-MLDBM/Makefile | 24 +++++++++++++++--------- databases/p5-MLDBM/files/patch-sum | 3 +++ databases/p5-MLDBM/patches/patch-aa | 13 +++++++++++++ databases/p5-MLDBM/pkg/DESCR | 11 +++++++++-- databases/p5-MLDBM/pkg/PLIST | 2 +- 5 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 databases/p5-MLDBM/files/patch-sum create mode 100644 databases/p5-MLDBM/patches/patch-aa diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile index d0fe0f13043..7c4c4a78e65 100644 --- a/databases/p5-MLDBM/Makefile +++ b/databases/p5-MLDBM/Makefile @@ -1,16 +1,22 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/03/25 05:14:28 mjl Exp $ +# $NetBSD: Makefile,v 1.2 2001/04/02 14:33:50 agc Exp $ # -DISTNAME= MLDBM-2.00 -PKGNAME= p5-MLDBM-2.0 -CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} +DISTNAME= MLDBM-2.00 +PKGNAME= p5-MLDBM-2.00 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MLDBM/} -MAINTAINER= pkgsrc@netbsd.org -COMMENT= Perl module store multidimensional hash structures in tied hashes +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/MLDBM/MLDBM.html +COMMENT= perl5 module for storing arbitrary data in tied hashes -USE_PERL5= # defined -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MLDBM/.packlist +DEPENDS+= p5-Data-Dumper-*:../../devel/p5-Data-Dumper + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MLDBM/.packlist + +post-patch: + ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \; do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL diff --git a/databases/p5-MLDBM/files/patch-sum b/databases/p5-MLDBM/files/patch-sum new file mode 100644 index 00000000000..a39fd39a833 --- /dev/null +++ b/databases/p5-MLDBM/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2001/04/02 14:33:50 agc Exp $ + +MD5 (patch-aa) = 9659f7252fd47b353af4a2fb2ec79236 diff --git a/databases/p5-MLDBM/patches/patch-aa b/databases/p5-MLDBM/patches/patch-aa new file mode 100644 index 00000000000..b6afb3845f3 --- /dev/null +++ b/databases/p5-MLDBM/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2001/04/02 14:33:50 agc Exp $ + +--- lib/MLDBM.pm.orig Sun May 10 18:06:39 1998 ++++ lib/MLDBM.pm +@@ -255,7 +255,7 @@ + + B relies on an underlying TIEHASH implementation (usually a + DBM package), and an underlying serialization package. The respective +-defaults are B and D. Both of these defaults ++defaults are B and B. Both of these defaults + can be changed. Changing the B default is strongly recommended. + See L below. + diff --git a/databases/p5-MLDBM/pkg/DESCR b/databases/p5-MLDBM/pkg/DESCR index b1e2cc3217b..59fc10669da 100644 --- a/databases/p5-MLDBM/pkg/DESCR +++ b/databases/p5-MLDBM/pkg/DESCR @@ -1,2 +1,9 @@ -MLDBM is a Perl module that can be used to store multidimensional -hash structures in tied hashes (including DBM files). +This module can serve as a transparent interface to any TIEHASH package +that is required to store arbitrary perl data, including nested +references. Thus, this module can be used for storing references and +other arbitrary data within DBM databases. + +It works by serializing the references in the hash into a single string. +In the underlying TIEHASH package (usually a DBM database), it is this +string that gets stored. When the value is fetched again, the string is +deserialized to reconstruct the data structure into memory. diff --git a/databases/p5-MLDBM/pkg/PLIST b/databases/p5-MLDBM/pkg/PLIST index 6d031b7ac9c..65574be9f3c 100644 --- a/databases/p5-MLDBM/pkg/PLIST +++ b/databases/p5-MLDBM/pkg/PLIST @@ -1 +1 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/25 05:14:28 mjl Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/04/02 14:33:50 agc Exp $ -- cgit v1.2.3