Skip to content

Commit

Permalink
devel/opendht: update 2.5.1 → 2.6.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Sep 10, 2023
1 parent 8df26e0 commit 898b267
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 25 deletions.
3 changes: 1 addition & 2 deletions devel/opendht/Makefile
@@ -1,7 +1,6 @@
PORTNAME= opendht
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.1
PORTREVISION= 1
DISTVERSION= 2.6.0
CATEGORIES= devel net

MAINTAINER= yuri@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions devel/opendht/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1680928160
SHA256 (savoirfairelinux-opendht-v2.5.1_GH0.tar.gz) = 519245ad7ceff35f9e45035301b34f8ccafad16c605149b034cc10fd92adb32c
SIZE (savoirfairelinux-opendht-v2.5.1_GH0.tar.gz) = 480528
TIMESTAMP = 1694326478
SHA256 (savoirfairelinux-opendht-v2.6.0_GH0.tar.gz) = 25d67e766e439cc04fd73091f8cd6d3c0fc8bf047427cdc9e8f469b9084add45
SIZE (savoirfairelinux-opendht-v2.6.0_GH0.tar.gz) = 482044
29 changes: 10 additions & 19 deletions devel/opendht/files/patch-CMakeLists.txt
@@ -1,15 +1,6 @@
--- CMakeLists.txt.orig 2023-04-08 04:39:13 UTC
--- CMakeLists.txt.orig 2023-09-10 06:15:32 UTC
+++ CMakeLists.txt
@@ -61,7 +61,7 @@ if (NOT MSVC)
pkg_search_module (Nettle REQUIRED IMPORTED_TARGET nettle)
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)
@@ -94,8 +94,8 @@ if (NOT MSVC)
@@ -99,8 +99,8 @@ if (NOT MSVC)
endif()
if (OPENDHT_PROXY_OPENSSL)
# https://cmake.org/cmake/help/latest/module/FindOpenSSL.html
Expand All @@ -20,12 +11,12 @@
message(STATUS "Found OpenSSL ${OPENSSL_VERSION} ${OPENSSL_INCLUDE_DIRS}")
set(openssl_lib ", openssl")
else ()
@@ -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)
@@ -370,7 +370,7 @@ else()
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()
endif()
if (APPLE)
target_link_libraries(opendht PRIVATE SYSTEM "-framework CoreFoundation" "-framework Security")

2 changes: 1 addition & 1 deletion devel/opendht/pkg-plist
Expand Up @@ -15,7 +15,7 @@ include/opendht/http.h
include/opendht/indexation/pht.h
include/opendht/infohash.h
include/opendht/log.h
include/opendht/log_enable.h
include/opendht/logger.h
include/opendht/network_engine.h
include/opendht/network_utils.h
include/opendht/node.h
Expand Down

0 comments on commit 898b267

Please sign in to comment.