summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-04-02 14:33:50 +0000
committeragc <agc@pkgsrc.org>2001-04-02 14:33:50 +0000
commitb78c8e6641cc2a8772d96740129cdd8e269ce0d4 (patch)
treef1ea05d36f5a27ac9c39e47fdfbc14ee9b7e893b
parentdb0f1b495eb78d3c3e90facc67d5c1f23a86a105 (diff)
downloadpkgsrc-b78c8e6641cc2a8772d96740129cdd8e269ce0d4.tar.gz
databases/p5-MLDBM is a duplicate of devel/p5-MLDBM.
Merge the two packages into one, in the databases category.
-rw-r--r--databases/p5-MLDBM/Makefile24
-rw-r--r--databases/p5-MLDBM/files/patch-sum3
-rw-r--r--databases/p5-MLDBM/patches/patch-aa13
-rw-r--r--databases/p5-MLDBM/pkg/DESCR11
-rw-r--r--databases/p5-MLDBM/pkg/PLIST2
5 files changed, 41 insertions, 12 deletions
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<MLDBM> relies on an underlying TIEHASH implementation (usually a
+ DBM package), and an underlying serialization package. The respective
+-defaults are B<SDBM_File> and D<Data::Dumper>. Both of these defaults
++defaults are B<SDBM_File> and B<Data::Dumper>. Both of these defaults
+ can be changed. Changing the B<SDBM_File> default is strongly recommended.
+ See L<WARNINGS> 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 $