From owner-svn-ports-head@freebsd.org Sat May 28 06:10:12 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EF17B4D882; Sat, 28 May 2016 06:10:12 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 198281FDE; Sat, 28 May 2016 06:10:12 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4S6ABoi055227; Sat, 28 May 2016 06:10:11 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4S6AAd5055221; Sat, 28 May 2016 06:10:10 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201605280610.u4S6AAd5055221@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 28 May 2016 06:10:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415975 - in head/devel: . opendht opendht/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 06:10:12 -0000 Author: pi Date: Sat May 28 06:10:10 2016 New Revision: 415975 URL: https://svnweb.freebsd.org/changeset/ports/415975 Log: New port: devel/opendht A lightweight C++11 Distributed Hash Table implementation originally based on https://github.com/jech/dht by Juliusz Chroboczek. * Light and fast C++11 Kademlia DHT library. * Distributed shared key->value data-store * Clean and powerfull distributed map API with storage of arbitrary binary values of up to 56 KB. * Optional public key cryptography layer providing data signature and encryption (using GnuTLS). * IPv4 and IPv6 support. * Python binding. WWW: https://github.com/savoirfairelinux/opendht/ PR: 209476 Submitted by: Yuri Victorovich Added: head/devel/opendht/ head/devel/opendht/Makefile (contents, props changed) head/devel/opendht/distinfo (contents, props changed) head/devel/opendht/files/ head/devel/opendht/files/patch-include_opendht_value.h (contents, props changed) head/devel/opendht/pkg-descr (contents, props changed) head/devel/opendht/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 28 02:02:54 2016 (r415974) +++ head/devel/Makefile Sat May 28 06:10:10 2016 (r415975) @@ -1619,6 +1619,7 @@ SUBDIR += open-usp-tukubai SUBDIR += opencl SUBDIR += opencvs + SUBDIR += opendht SUBDIR += opengrok SUBDIR += openmp SUBDIR += openocd Added: head/devel/opendht/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/Makefile Sat May 28 06:10:10 2016 (r415975) @@ -0,0 +1,35 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= opendht +PORTVERSION= 0.5.2 +CATEGORIES= devel net + +MAINTAINER= yuri@rawbw.com +COMMENT= Lightweight Distributed Hash Table implementation + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libmsgpackc.so:devel/msgpack \ + libnettle.so:security/nettle \ + libgnutls.so:security/gnutls \ + libreadline.so:devel/readline + +USE_GITHUB= yes +GH_ACCOUNT= savoirfairelinux + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--disable-python +USE_LDCONFIG= yes + +USES= autoreconf compiler:c++11-lib libtool pkgconfig +CFLAGS+= -I${LOCALBASE}/include +CXXFLAGS+= -I${LOCALBASE}/include + +post-stage: + @${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/opendht.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ + @${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0 + +.include Added: head/devel/opendht/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/distinfo Sat May 28 06:10:10 2016 (r415975) @@ -0,0 +1,3 @@ +TIMESTAMP = 1464414803 +SHA256 (savoirfairelinux-opendht-0.5.2_GH0.tar.gz) = 4fb8c80fed8abd4861b16144a0c50853717add59d5491b779590fa81e72784b8 +SIZE (savoirfairelinux-opendht-0.5.2_GH0.tar.gz) = 120460 Added: head/devel/opendht/files/patch-include_opendht_value.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/files/patch-include_opendht_value.h Sat May 28 06:10:10 2016 (r415975) @@ -0,0 +1,14 @@ +--- include/opendht/value.h.orig 2016-05-13 00:23:45 UTC ++++ include/opendht/value.h +@@ -26,6 +26,11 @@ + + #include + ++#if defined(__FreeBSD__) ++#include ++#include ++#endif ++ + #ifndef _WIN32 + #include + #include Added: head/devel/opendht/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/pkg-descr Sat May 28 06:10:10 2016 (r415975) @@ -0,0 +1,13 @@ +A lightweight C++11 Distributed Hash Table implementation originally based on +https://github.com/jech/dht by Juliusz Chroboczek. + +* Light and fast C++11 Kademlia DHT library. +* Distributed shared key->value data-store +* Clean and powerfull distributed map API with storage of arbitrary binary + values of up to 56 KB. +* Optional public key cryptography layer providing data signature and + encryption (using GnuTLS). +* IPv4 and IPv6 support. +* Python binding. + +WWW: https://github.com/savoirfairelinux/opendht/ Added: head/devel/opendht/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/pkg-plist Sat May 28 06:10:10 2016 (r415975) @@ -0,0 +1,18 @@ +bin/dhtchat +bin/dhtnode +bin/dhtscanner +include/opendht.h +include/opendht/crypto.h +include/opendht/default_types.h +include/opendht/dht.h +include/opendht/dhtrunner.h +include/opendht/infohash.h +include/opendht/rng.h +include/opendht/securedht.h +include/opendht/utils.h +include/opendht/value.h +lib/libopendht.a +lib/libopendht.so +lib/libopendht.so.0 +lib/libopendht.so.0.0.0 +libdata/pkgconfig/opendht.pc