Date: Sat, 28 May 2016 06:10:10 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> 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 Message-ID: <201605280610.u4S6AAd5055221@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <yuri@rawbw.com> 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 <yuri@rawbw.com> +# $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 <bsd.port.mk> 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 <msgpack.hpp> + ++#if defined(__FreeBSD__) ++#include <sys/socket.h> ++#include <netinet/in.h> ++#endif ++ + #ifndef _WIN32 + #include <netinet/in.h> + #include <netdb.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605280610.u4S6AAd5055221>