From nobody Sat Apr 08 05:28:31 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PtkKq5M0gz44hRl; Sat, 8 Apr 2023 05:28:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtkKq25Zxz43GF; Sat, 8 Apr 2023 05:28:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680931711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6bT5BfrLF5y8DHBlZhlqt4kjbQZ6chTJkkrTuFUqqbk=; b=M8WCUE6YkK6yK7X7KSdi7LQMsKu0GuXlVrawWFQ6HQsdFY/JFjC4nu3Ty1qt+1LVfDotrD +5ntT7wLKs4Dl/ytmreUOBKi2LBoe2juM5Bb0gd2J6r3oY/ZZKdhpErBm/HAcDZEflEbWw CUK4/XQ4UnDMZt2nfomVZGfZW1Mk4So1g/jqn+E2FqMVwTZiiTtpkg4SQi02FXTu3abwUv dkbe43yjSDrAheuWmB99iIhNhHxbHFUlh8KtKHaVOoN62i2QGVenygNNHERIq6Q+AGfV7U LKDMaA3t8pjxUkQ/k2ap5ScTtUL3/ZCAR0PI3OZdqDb5rWvZJty0gqEue822ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680931711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6bT5BfrLF5y8DHBlZhlqt4kjbQZ6chTJkkrTuFUqqbk=; b=dYiQ6pfnFpdUK/4DNpbUnRHvJPxDoBn1cT4r2/IIJiNgr9nUrlo6YWzQQWgrq7fblSaw6y pTI0MlcZF9pi/kLax43zUM8scLPt1u/BuhNLSKfoE73/rUgeIRmtXF5CXBu/G4HVjJ2EaE 7Mq+fHqiROCyyvj10MvBbm0okPBMzUlSUsAbo4jf4g6IRN/h3Ismxw5R2cmEZ+RLvt2b71 wcJGb374Sog6kLLYNXPY85SbMud4wQfv08Sfd+lU2kLIHO2Xg7xfTcviv/eMJi32LAgKLa qT5kKyIgAHTPsjNliLRmax5EuzXOJ7FiAQ6FvCWOYBzL/aiBT8nVj++3keET6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680931711; a=rsa-sha256; cv=none; b=kymc6tpojTAS6+MyFRS//ygcVI9fQVvF6NTP2WbUP5qcIaEmzzegwi0coIa/8wEaIOtaIE BOVSUNRyhQ/ze3lgNKDjOgGEVxf40vs9eNAbvcQJJby5m5DpzROzTWCZsgEGyrG7j+k2RX hoUhv6bGCFYmK+d/jR3fWeIU1dxHTRKXZrMQ6Pnxln/QIHlMcKoarnmNXs1c46p3YOZWGQ wpKdbAXEHcScshnvg/VZZgu4DiQMNcu/pOJfX4skQpxSDI/dYjjjvRefd6Z39mseGtSWJ0 MNA/f5eiiwINVFKHV9BwK98sIyEhBGkgcwQGX2pOEDp0kJnmxIRUAS8FcPZ+JQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PtkKq1CLtzFcM; Sat, 8 Apr 2023 05:28:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3385SV3E002506; Sat, 8 Apr 2023 05:28:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3385SVG5002505; Sat, 8 Apr 2023 05:28:31 GMT (envelope-from git) Date: Sat, 8 Apr 2023 05:28:31 GMT Message-Id: <202304080528.3385SVG5002505@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: c2e7dd0dbd0f - main - =?utf-8?Q?devel/opendht:=20Update=202.4.12=20=E2=86=92=202.5.1?= List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2e7dd0dbd0f458e7d94f7382578832b00d6f599 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2e7dd0dbd0f458e7d94f7382578832b00d6f599 commit c2e7dd0dbd0f458e7d94f7382578832b00d6f599 Author: Yuri Victorovich AuthorDate: 2023-04-08 05:13:24 +0000 Commit: Yuri Victorovich CommitDate: 2023-04-08 05:28:18 +0000 devel/opendht: Update 2.4.12 → 2.5.1 Reported by: portscout --- devel/opendht/Makefile | 8 ++--- devel/opendht/distinfo | 6 ++-- devel/opendht/files/patch-CMakeLists.txt | 52 +++++++++++--------------------- devel/opendht/pkg-plist | 1 + 4 files changed, 25 insertions(+), 42 deletions(-) diff --git a/devel/opendht/Makefile b/devel/opendht/Makefile index bb42ecbd623b..3fde1c2cae9a 100644 --- a/devel/opendht/Makefile +++ b/devel/opendht/Makefile @@ -1,6 +1,6 @@ PORTNAME= opendht DISTVERSIONPREFIX= v -DISTVERSION= 2.4.12 +DISTVERSION= 2.5.1 CATEGORIES= devel net MAINTAINER= yuri@FreeBSD.org @@ -23,7 +23,7 @@ LIB_DEPENDS= libargon2.so:security/libargon2 \ RUN_DEPENDS= msgpack-cxx>0:devel/msgpack-cxx TEST_DEPENDS= cppunit>0:devel/cppunit -USES= cmake:testing compiler:c++17-lang pathfix pkgconfig readline ssl +USES= cmake:testing compiler:c++17-lang localbase pathfix pkgconfig readline ssl USE_GITHUB= yes GH_ACCOUNT= savoirfairelinux @@ -31,8 +31,8 @@ USE_LDCONFIG= yes LDFLAGS+= -lcrypto -CMAKE_OFF= OPENDHT_STATIC -CMAKE_TESTING_ON= OPENDHT_TESTS # tests fail w/out explanation, see https://github.com/savoirfairelinux/opendht/issues/640, https://github.com/savoirfairelinux/opendht/issues/658 +CMAKE_OFF= OPENDHT_STATIC BUILD_TESTING +CMAKE_TESTING_ON= BUILD_TESTING # tests fail w/out explanation, see https://github.com/savoirfairelinux/opendht/issues/640, https://github.com/savoirfairelinux/opendht/issues/658 PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} diff --git a/devel/opendht/distinfo b/devel/opendht/distinfo index b1ab4b3dd6f5..ed77b3526a86 100644 --- a/devel/opendht/distinfo +++ b/devel/opendht/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1678187565 -SHA256 (savoirfairelinux-opendht-v2.4.12_GH0.tar.gz) = 5144bc4456d396b527b59065064bbc31fbe0d2af5fd052506219a66895791e64 -SIZE (savoirfairelinux-opendht-v2.4.12_GH0.tar.gz) = 479457 +TIMESTAMP = 1680928160 +SHA256 (savoirfairelinux-opendht-v2.5.1_GH0.tar.gz) = 519245ad7ceff35f9e45035301b34f8ccafad16c605149b034cc10fd92adb32c +SIZE (savoirfairelinux-opendht-v2.5.1_GH0.tar.gz) = 480528 diff --git a/devel/opendht/files/patch-CMakeLists.txt b/devel/opendht/files/patch-CMakeLists.txt index 4c092de64606..0ebb4df3c0df 100644 --- a/devel/opendht/files/patch-CMakeLists.txt +++ b/devel/opendht/files/patch-CMakeLists.txt @@ -1,15 +1,15 @@ ---- CMakeLists.txt.orig 2023-03-07 11:14:26 UTC +--- CMakeLists.txt.orig 2023-04-08 04:39:13 UTC +++ CMakeLists.txt -@@ -59,7 +59,7 @@ if (NOT MSVC) - find_package (PkgConfig REQUIRED) - pkg_search_module (GnuTLS REQUIRED IMPORTED_TARGET gnutls) +@@ -61,7 +61,7 @@ if (NOT MSVC) pkg_search_module (Nettle REQUIRED IMPORTED_TARGET nettle) -- find_package (msgpack REQUIRED NAMES msgpackc-cxx msgpack msgpack-cxx) -+ find_package (msgpackc-cxx REQUIRED NAMES msgpackc-cxx msgpack msgpack-cxx) + check_include_file_cxx(msgpack.hpp HAVE_MSGPACKCXX) + if (NOT HAVE_MSGPACKCXX) +- find_package (msgpack REQUIRED CONFIG) ++ find_package (msgpack-cxx REQUIRED CONFIG) + endif() if (OPENDHT_TOOLS) find_package (Readline 6 REQUIRED) - endif () -@@ -91,8 +91,8 @@ if (NOT MSVC) +@@ -94,8 +94,8 @@ if (NOT MSVC) endif() if (OPENDHT_PROXY_OPENSSL) # https://cmake.org/cmake/help/latest/module/FindOpenSSL.html @@ -20,30 +20,12 @@ message(STATUS "Found OpenSSL ${OPENSSL_VERSION} ${OPENSSL_INCLUDE_DIRS}") set(openssl_lib ", openssl") else () -@@ -309,7 +309,7 @@ if (OPENDHT_STATIC) - target_link_libraries(opendht-static PUBLIC PkgConfig::Jsoncpp) - endif() - if (OPENDHT_PROXY_OPENSSL) -- target_link_libraries(opendht-static PUBLIC PkgConfig::OPENSSL) -+ target_link_libraries(opendht-static ssl) - endif() - if (APPLE) - target_link_libraries(opendht-static PRIVATE SYSTEM "-framework CoreFoundation" "-framework Security") -@@ -381,7 +381,7 @@ if (OPENDHT_SHARED) - target_link_libraries(opendht PUBLIC PkgConfig::Jsoncpp) - endif() - if (OPENDHT_PROXY_OPENSSL) -- target_link_libraries(opendht PUBLIC PkgConfig::OPENSSL) -+ target_link_libraries(opendht PUBLIC ssl) - endif() - if (APPLE) - target_link_libraries(opendht PRIVATE SYSTEM "-framework CoreFoundation" "-framework Security") -@@ -498,7 +498,7 @@ if (OPENDHT_TESTS) - ${GNUTLS_LIBRARIES} - ) - if (OPENDHT_PROXY_OPENSSL) -- target_link_libraries(opendht_unit_tests PkgConfig::OPENSSL) -+ target_link_libraries(opendht_unit_tests ssl) - endif() - enable_testing() - add_test(TEST opendht_unit_tests) +@@ -359,7 +359,7 @@ if (Jsoncpp_FOUND) + target_link_libraries(opendht PUBLIC PkgConfig::Jsoncpp) + endif() + if (OPENDHT_PROXY_OPENSSL) +- target_link_libraries(opendht PUBLIC PkgConfig::OPENSSL) ++ target_link_libraries(opendht PRIVATE ssl) + endif() + if (APPLE) + target_link_libraries(opendht PRIVATE SYSTEM "-framework CoreFoundation" "-framework Security") diff --git a/devel/opendht/pkg-plist b/devel/opendht/pkg-plist index c6d1d5313c8b..390089fa30f9 100644 --- a/devel/opendht/pkg-plist +++ b/devel/opendht/pkg-plist @@ -20,6 +20,7 @@ include/opendht/network_engine.h include/opendht/network_utils.h include/opendht/node.h include/opendht/node_cache.h +include/opendht/node_export.h include/opendht/peer_discovery.h include/opendht/proxy.h include/opendht/rate_limiter.h