From 1bfa55b3bfe9462f396dd6b843fc1ba904ffd30b Mon Sep 17 00:00:00 2001 From: Foxfair Hu Date: Fri, 24 Oct 2003 04:21:35 +0000 Subject: [PATCH] Add p5-Tie-DB_File-SplitHash 1.01, a wrapper around the DB_File Berkeley database system. PR: 58454 Submitted by: clsung@dragon2.net --- devel/Makefile | 1 + devel/p5-Tie-DB_File-SplitHash/Makefile | 25 ++++++++++++++++++++++++ devel/p5-Tie-DB_File-SplitHash/distinfo | 1 + devel/p5-Tie-DB_File-SplitHash/pkg-descr | 11 +++++++++++ devel/p5-Tie-DB_File-SplitHash/pkg-plist | 6 ++++++ 5 files changed, 44 insertions(+) create mode 100644 devel/p5-Tie-DB_File-SplitHash/Makefile create mode 100644 devel/p5-Tie-DB_File-SplitHash/distinfo create mode 100644 devel/p5-Tie-DB_File-SplitHash/pkg-descr create mode 100644 devel/p5-Tie-DB_File-SplitHash/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 4f0d58a56d57..cd9dcd5b4090 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -809,6 +809,7 @@ SUBDIR += p5-Test-Simple SUBDIR += p5-Test-Unit SUBDIR += p5-Tie-Cache + SUBDIR += p5-Tie-DB_File-SplitHash SUBDIR += p5-Tie-DB_FileLock SUBDIR += p5-Tie-File SUBDIR += p5-Tie-IxHash diff --git a/devel/p5-Tie-DB_File-SplitHash/Makefile b/devel/p5-Tie-DB_File-SplitHash/Makefile new file mode 100644 index 000000000000..2a6410512a2a --- /dev/null +++ b/devel/p5-Tie-DB_File-SplitHash/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: devel/p5-Tie-DB_File-SplitHash +# Date created: Oct 23 2003 +# Whom: clsung@dragon2.net +# +# $FreeBSD$ +# + +PORTNAME= Tie-DB_File-SplitHash +PORTVERSION= 1.01 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Tie +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= A wrapper around the DB_File Berkeley database system + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Tie::DB_File::SplitHash.3 + +.include diff --git a/devel/p5-Tie-DB_File-SplitHash/distinfo b/devel/p5-Tie-DB_File-SplitHash/distinfo new file mode 100644 index 000000000000..bb40f1190df1 --- /dev/null +++ b/devel/p5-Tie-DB_File-SplitHash/distinfo @@ -0,0 +1 @@ +MD5 (Tie-DB_File-SplitHash-1.01.tar.gz) = a2f82b7d2108b985c20ca661b597cc99 diff --git a/devel/p5-Tie-DB_File-SplitHash/pkg-descr b/devel/p5-Tie-DB_File-SplitHash/pkg-descr new file mode 100644 index 000000000000..5b3a65e4909b --- /dev/null +++ b/devel/p5-Tie-DB_File-SplitHash/pkg-descr @@ -0,0 +1,11 @@ +Tie::DB_File::SplitHash + +Designed for support of file size limitted OSes. Transparently splits +a DB_File database into as many distinct files as desired. Distributes +hash entries between the files using a randomization algorithm. +Has the effect of allowing DB_File hashes to grow to the full size +of the partition. Requires 'Digest::SHA1' and 'DB_File' to be installed. + +WWW: http://search.cpan.org/~snowhare/Tie-DB_File-SplitHash-1.01/ + +Author: Benjamin Franz diff --git a/devel/p5-Tie-DB_File-SplitHash/pkg-plist b/devel/p5-Tie-DB_File-SplitHash/pkg-plist new file mode 100644 index 000000000000..3e331e5cfd36 --- /dev/null +++ b/devel/p5-Tie-DB_File-SplitHash/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Tie/DB_File/SplitHash.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DB_File/SplitHash/.packlist +@dirrm %%SITE_PERL%%/Tie/DB_File +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DB_File/SplitHash +@unexec rmdir %D/%%SITE_PERL%%/Tie/DB_File 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/DB_File/SplitHash 2>/dev/null || true