From owner-svn-ports-head@freebsd.org Sun Mar 18 21:37:59 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD9E6F560C8; Sun, 18 Mar 2018 21:37:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 736F8683D3; Sun, 18 Mar 2018 21:37:58 +0000 (UTC) (envelope-from yuri@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69B4F25E21; Sun, 18 Mar 2018 21:37:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2ILbwgj018353; Sun, 18 Mar 2018 21:37:58 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2ILbvYe018347; Sun, 18 Mar 2018 21:37:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803182137.w2ILbvYe018347@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 18 Mar 2018 21:37:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464957 - in head/devel/opendht: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel/opendht: . files X-SVN-Commit-Revision: 464957 X-SVN-Commit-Repository: ports 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.25 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: Sun, 18 Mar 2018 21:37:59 -0000 Author: yuri Date: Sun Mar 18 21:37:57 2018 New Revision: 464957 URL: https://svnweb.freebsd.org/changeset/ports/464957 Log: devel/opendht: Update to 1.6.1 Port changes: * Change to cmake * Add port options PROXY_SERVER PROXY_CLIENT PUSH_NOTIFICATIONS DOCS * Broken on 10.3 Added: head/devel/opendht/files/patch-doc_CMakeLists.txt (contents, props changed) Modified: head/devel/opendht/Makefile head/devel/opendht/distinfo head/devel/opendht/files/patch-include_opendht_value.h head/devel/opendht/pkg-plist Modified: head/devel/opendht/Makefile ============================================================================== --- head/devel/opendht/Makefile Sun Mar 18 21:08:18 2018 (r464956) +++ head/devel/opendht/Makefile Sun Mar 18 21:37:57 2018 (r464957) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= opendht -PORTVERSION= 0.5.2 -PORTREVISION= 3 +DISTVERSION= 1.6.1 CATEGORIES= devel net MAINTAINER= yuri@FreeBSD.org @@ -12,22 +11,37 @@ COMMENT= Lightweight Distributed Hash Table implementa LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libmsgpackc.so:devel/msgpack \ +LIB_DEPENDS= libargon2.so:security/libargon2 \ + libmsgpackc.so:devel/msgpack \ libnettle.so:security/nettle \ libgnutls.so:security/gnutls +USES= cmake:outsource compiler:c++11-lib pathfix pkgconfig readline:port USE_GITHUB= yes GH_ACCOUNT= savoirfairelinux - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--disable-python USE_LDCONFIG= yes -USES= autoreconf compiler:c++11-lib libtool pathfix pkgconfig readline:port -CFLAGS+= -I${LOCALBASE}/include -CXXFLAGS+= -I${LOCALBASE}/include +CMAKE_OFF= OPENDHT_STATIC -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0 +OPTIONS_DEFINE= PROXY_SERVER PROXY_CLIENT PUSH_NOTIFICATIONS DOCS -.include +PROXY_SERVER_DESC= Enable DHT proxy server +PROXY_CLIENT_DESC= Enable DHT proxy client +PUSH_NOTIFICATIONS_DESC= Enable push notifications support + +PROXY_SERVER_CMAKE_BOOL= OPENDHT_PROXY_SERVER +PROXY_CLIENT_CMAKE_BOOL= OPENDHT_PROXY_CLIENT +PUSH_NOTIFICATIONS_CMAKE_BOOL= OPENDHT_PUSH_NOTIFICATIONS + +PROXY_SERVER_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp \ + librestbed.so:www/restbed + +PORTDOCS= * + +.include + +.if ${OPSYS} == FreeBSD && ${OSREL} == 10.3 +BROKEN= Missing __cxa_thread_atexit +.endif + +.include Modified: head/devel/opendht/distinfo ============================================================================== --- head/devel/opendht/distinfo Sun Mar 18 21:08:18 2018 (r464956) +++ head/devel/opendht/distinfo Sun Mar 18 21:37:57 2018 (r464957) @@ -1,3 +1,3 @@ -TIMESTAMP = 1464414803 -SHA256 (savoirfairelinux-opendht-0.5.2_GH0.tar.gz) = 4fb8c80fed8abd4861b16144a0c50853717add59d5491b779590fa81e72784b8 -SIZE (savoirfairelinux-opendht-0.5.2_GH0.tar.gz) = 120460 +TIMESTAMP = 1521093684 +SHA256 (savoirfairelinux-opendht-1.6.1_GH0.tar.gz) = c50d4862d01233be02856affc560dcd6425b5e742c6445d597dc0ceccb7e9d19 +SIZE (savoirfairelinux-opendht-1.6.1_GH0.tar.gz) = 400456 Added: head/devel/opendht/files/patch-doc_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/opendht/files/patch-doc_CMakeLists.txt Sun Mar 18 21:37:57 2018 (r464957) @@ -0,0 +1,9 @@ +--- doc/CMakeLists.txt.orig 2018-03-15 06:08:59 UTC ++++ doc/CMakeLists.txt +@@ -1,5 +1,5 @@ + if (OPENDHT_TOOLS) +- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dhtnode.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) ++ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dhtnode.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1) + endif () + + if (OPENDHT_DOCUMENTATION) Modified: head/devel/opendht/files/patch-include_opendht_value.h ============================================================================== --- head/devel/opendht/files/patch-include_opendht_value.h Sun Mar 18 21:08:18 2018 (r464956) +++ head/devel/opendht/files/patch-include_opendht_value.h Sun Mar 18 21:37:57 2018 (r464957) @@ -1,4 +1,4 @@ ---- include/opendht/value.h.orig 2016-05-13 00:23:45 UTC +--- include/opendht/value.h.orig 2016-11-12 22:38:27 UTC +++ include/opendht/value.h @@ -26,6 +26,11 @@ @@ -9,6 +9,6 @@ +#include +#endif + - #ifndef _WIN32 - #include - #include + #include + #include + #include Modified: head/devel/opendht/pkg-plist ============================================================================== --- head/devel/opendht/pkg-plist Sun Mar 18 21:08:18 2018 (r464956) +++ head/devel/opendht/pkg-plist Sun Mar 18 21:37:57 2018 (r464957) @@ -2,17 +2,36 @@ bin/dhtchat bin/dhtnode bin/dhtscanner include/opendht.h +include/opendht/callbacks.h include/opendht/crypto.h +include/opendht/def.h include/opendht/default_types.h include/opendht/dht.h +include/opendht/dht_interface.h +include/opendht/dht_proxy_client.h +include/opendht/dht_proxy_server.h include/opendht/dhtrunner.h +include/opendht/indexation/pht.h include/opendht/infohash.h +include/opendht/log.h +include/opendht/log_enable.h +include/opendht/network_engine.h +include/opendht/node.h +include/opendht/node_cache.h +include/opendht/rate_limiter.h include/opendht/rng.h +include/opendht/routing_table.h +include/opendht/scheduler.h include/opendht/securedht.h +include/opendht/sockaddr.h include/opendht/utils.h include/opendht/value.h -lib/libopendht.a +include/opendht/value.h.orig +lib/cmake/opendht/opendhtConfig-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/opendht/opendhtConfig.cmake +lib/cmake/opendht/opendhtConfigVersion.cmake lib/libopendht.so -lib/libopendht.so.0 -lib/libopendht.so.0.0.0 +lib/libopendht.so.1 +lib/libopendht.so.1.6.1 libdata/pkgconfig/opendht.pc +man/man1/dhtnode.1.gz