diff options
author | clsung <clsung@FreeBSD.org> | 2008-01-24 10:47:24 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2008-01-24 10:47:24 +0800 |
commit | 774584d4ec8308104e9534bc3d0a8adf2b1c0167 (patch) | |
tree | b2ff18c0d801ccde303dd9d1f05d95fe51681a6e /devel | |
parent | 509b67a996bdc333677ca6bb4b240c2e9c9fd4b1 (diff) | |
download | freebsd-ports-gnome-774584d4ec8308104e9534bc3d0a8adf2b1c0167.tar.gz freebsd-ports-gnome-774584d4ec8308104e9534bc3d0a8adf2b1c0167.tar.zst freebsd-ports-gnome-774584d4ec8308104e9534bc3d0a8adf2b1c0167.zip |
Consistent hashing is a scheme that provides hash table functionality
in a way that the addition or removal of one slot does not
significantly change the mapping of keys to slots. In contrast, in
most traditional hash tables, a change in the number of array slots
causes nearly all keys to be remapped.
Consistent hashing was introduced in 1997 as a way of distributing
requests among a changing population of web servers. More recently, it
and similar techniques have been employed in distributed hash tables.
WWW: http://search.cpan.org/dist/Set-ConsistentHash/
PR: ports/119587
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Set-ConsistentHash/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-Set-ConsistentHash/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Set-ConsistentHash/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Set-ConsistentHash/pkg-plist | 6 |
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ae1b29806610..c8ae88e8bee9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1521,6 +1521,7 @@ SUBDIR += p5-Scope-Guard SUBDIR += p5-Search-Binary SUBDIR += p5-Set-Array + SUBDIR += p5-Set-ConsistentHash SUBDIR += p5-Set-Crontab SUBDIR += p5-Set-Infinite SUBDIR += p5-Set-NestedGroups diff --git a/devel/p5-Set-ConsistentHash/Makefile b/devel/p5-Set-ConsistentHash/Makefile new file mode 100644 index 000000000000..4339d82e419a --- /dev/null +++ b/devel/p5-Set-ConsistentHash/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Set-ConsistentHash +# Date created: 2008-01-12 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Set-ConsistentHash +PORTVERSION= 0.91 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= Set +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Library for doing consistent hashing + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 + +PERL_CONFIGURE= yes + +MAN3= Set::ConsistentHash.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Set-ConsistentHash/distinfo b/devel/p5-Set-ConsistentHash/distinfo new file mode 100644 index 000000000000..efde76cd5e3a --- /dev/null +++ b/devel/p5-Set-ConsistentHash/distinfo @@ -0,0 +1,3 @@ +MD5 (Set-ConsistentHash-0.91.tar.gz) = 9ffc6a8c4d525e5cf36e5c3f3a442587 +SHA256 (Set-ConsistentHash-0.91.tar.gz) = 990f0c06e2a5b19993cd1281ee71eccd278f6c517b05a3aba918a702e9ce31f9 +SIZE (Set-ConsistentHash-0.91.tar.gz) = 4980 diff --git a/devel/p5-Set-ConsistentHash/pkg-descr b/devel/p5-Set-ConsistentHash/pkg-descr new file mode 100644 index 000000000000..2092ae0eb661 --- /dev/null +++ b/devel/p5-Set-ConsistentHash/pkg-descr @@ -0,0 +1,11 @@ +Consistent hashing is a scheme that provides hash table functionality +in a way that the addition or removal of one slot does not +significantly change the mapping of keys to slots. In contrast, in +most traditional hash tables, a change in the number of array slots +causes nearly all keys to be remapped. + +Consistent hashing was introduced in 1997 as a way of distributing +requests among a changing population of web servers. More recently, it +and similar techniques have been employed in distributed hash tables. + +WWW: http://search.cpan.org/dist/Set-ConsistentHash/ diff --git a/devel/p5-Set-ConsistentHash/pkg-plist b/devel/p5-Set-ConsistentHash/pkg-plist new file mode 100644 index 000000000000..781c413b4012 --- /dev/null +++ b/devel/p5-Set-ConsistentHash/pkg-plist @@ -0,0 +1,6 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Set/ConsistentHash/.packlist +%%SITE_PERL%%/Set/ConsistentHash.pm +@dirrmtry %%SITE_PERL%%/Set +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Set/ConsistentHash +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Set |