Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+22
View File
@@ -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.
+19
View File
@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.2 2012/10/23 17:18:13 asau 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
AUTO_MKDIRS= yes
.include "../../mk/bsd.pkg.mk"
+12
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.2 2012/11/19 02:58:41 joerg 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
SHA1 (patch-src_route.c) = c21b457e9b0efa56888b6715278c272bf229238a
+21
View File
@@ -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);
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-src_route.c,v 1.1 2012/11/19 02:58:41 joerg Exp $
--- src/route.c.orig 2012-11-18 16:29:00.000000000 +0000
+++ src/route.c
@@ -435,7 +435,7 @@ ChimeraHost *find_closest_key (void *sta
if (size == 0)
{
min = NULL;
- return;
+ return NULL;
}
else