mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
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>
This commit is contained in:
parent
4cae60ca87
commit
98c464071f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415975
@ -1619,6 +1619,7 @@
|
||||
SUBDIR += open-usp-tukubai
|
||||
SUBDIR += opencl
|
||||
SUBDIR += opencvs
|
||||
SUBDIR += opendht
|
||||
SUBDIR += opengrok
|
||||
SUBDIR += openmp
|
||||
SUBDIR += openocd
|
||||
|
35
devel/opendht/Makefile
Normal file
35
devel/opendht/Makefile
Normal file
@ -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>
|
3
devel/opendht/distinfo
Normal file
3
devel/opendht/distinfo
Normal file
@ -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
|
14
devel/opendht/files/patch-include_opendht_value.h
Normal file
14
devel/opendht/files/patch-include_opendht_value.h
Normal file
@ -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>
|
13
devel/opendht/pkg-descr
Normal file
13
devel/opendht/pkg-descr
Normal file
@ -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/
|
18
devel/opendht/pkg-plist
Normal file
18
devel/opendht/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user