summaryrefslogtreecommitdiff
path: root/net/chimera
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2012-05-02 04:48:04 +0000
committeragc <agc@pkgsrc.org>2012-05-02 04:48:04 +0000
commitc6cc2d13b5abbfe7fe302bbcd9f737cd5a3e6771 (patch)
treef4e4c7d84e5590b486838163dd11bf9c233e5407 /net/chimera
parent7845cecfb77f0907a9ade3a1bc0d5d9f5c9aeb04 (diff)
downloadpkgsrc-c6cc2d13b5abbfe7fe302bbcd9f737cd5a3e6771.tar.gz
Initial import of chimera-1.20 into the packages collection
Structured peer-to-peer overlays, sometimes also referred to as Distributed Hash Tables (DHTs), are scalable network infrastructures that support Internet-scale network applications utilizing a decentralized resource model. At their core, these overlays provide Key-Based Routing (KBR), where messages addressed to any Key will incrementally route towards an overlay node responsible for that key. On top of the KBR layer, these overlays can support distributed storage using a DHT layer or data location using a DOLR layer. On top of these overlays, researchers have proposed numerous distributed applications, including distributed storage and backup systems, multicast systems, resilient routing networks, distributed spam filters, mobility support and anonymous routing networks. Chimera is a light-weight C implementation of a "next-generation" structured overlay that provides similar functionality as prefix-routing protocols Tapestry and Pastry. Chimera gains simplicity and robustness from its use of Pastry's leafsets, and efficient routing from Tapestry's locality algorithms. In addition to these properties, Chimera also provides efficient detection of node and network failures, and reroutes messages around them to maintain connectivity and throughput.
Diffstat (limited to 'net/chimera')
-rw-r--r--net/chimera/DESCR22
-rw-r--r--net/chimera/Makefile20
-rw-r--r--net/chimera/PLIST12
-rw-r--r--net/chimera/distinfo6
-rw-r--r--net/chimera/patches/patch-aa21
5 files changed, 81 insertions, 0 deletions
diff --git a/net/chimera/DESCR b/net/chimera/DESCR
new file mode 100644
index 00000000000..353f59df648
--- /dev/null
+++ b/net/chimera/DESCR
@@ -0,0 +1,22 @@
+Structured peer-to-peer overlays, sometimes also referred to as
+Distributed Hash Tables (DHTs), are scalable network infrastructures
+that support Internet-scale network applications utilizing a
+decentralized resource model. At their core, these overlays provide
+Key-Based Routing (KBR), where messages addressed to any Key will
+incrementally route towards an overlay node responsible for that key.
+On top of the KBR layer, these overlays can support distributed
+storage using a DHT layer or data location using a DOLR layer.
+
+On top of these overlays, researchers have proposed numerous
+distributed applications, including distributed storage and backup
+systems, multicast systems, resilient routing networks, distributed
+spam filters, mobility support and anonymous routing networks.
+
+Chimera is a light-weight C implementation of a "next-generation"
+structured overlay that provides similar functionality as
+prefix-routing protocols Tapestry and Pastry. Chimera gains
+simplicity and robustness from its use of Pastry's leafsets, and
+efficient routing from Tapestry's locality algorithms. In addition to
+these properties, Chimera also provides efficient detection of node
+and network failures, and reroutes messages around them to maintain
+connectivity and throughput.
diff --git a/net/chimera/Makefile b/net/chimera/Makefile
new file mode 100644
index 00000000000..c80d1be5667
--- /dev/null
+++ b/net/chimera/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/02 04:48:04 agc Exp $
+
+DISTNAME= chimera-1.20
+CATEGORIES= net
+MASTER_SITES= http://www.cs.ucsb.edu/~ravenben/chimera/download/
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://pdos.csail.mit.edu/chord/
+COMMENT= Distributed Hash Table implementation
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/chimera
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+
+PKG_DESTDIR_SUPPORT= user-destdir
+AUTO_MKDIRS= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/chimera/PLIST b/net/chimera/PLIST
new file mode 100644
index 00000000000..29764e5f446
--- /dev/null
+++ b/net/chimera/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/02 04:48:04 agc Exp $
+bin/bighost
+bin/bignode
+bin/bigtest
+bin/dht
+bin/dhttest
+bin/monitor
+bin/receiver
+bin/sender
+bin/sha1_keygen
+bin/test
+lib/libchimera.a
diff --git a/net/chimera/distinfo b/net/chimera/distinfo
new file mode 100644
index 00000000000..d1464bb8d50
--- /dev/null
+++ b/net/chimera/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/02 04:48:04 agc Exp $
+
+SHA1 (chimera-1.20.tar.gz) = 5a603fdb234c3d6ef9ae48071ad41e8c9db835cf
+RMD160 (chimera-1.20.tar.gz) = 723162f2490622e97c10cade97fa489f67707f8e
+Size (chimera-1.20.tar.gz) = 978799 bytes
+SHA1 (patch-aa) = a02ea7183b641a3c540a6c0aa4013d4016f14060
diff --git a/net/chimera/patches/patch-aa b/net/chimera/patches/patch-aa
new file mode 100644
index 00000000000..bef6fc3e461
--- /dev/null
+++ b/net/chimera/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/05/02 04:48:04 agc Exp $
+
+correct header to get prototype
+
+--- src/log.c 2012/03/28 19:10:29 1.1
++++ src/log.c 2012/03/28 19:10:44
+@@ -9,12 +9,10 @@
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "log.h"
+
+-extern FILE *stdin;
+-
+-
+-void *log_init ()
++void *log_init (void)
+ {
+ static FILE **log_fp;
+ log_fp = (FILE **) malloc (sizeof (FILE *) * LOG_COUNT);