diff options
| author | Rafe <mondo.debater_0q@icloud.com> | 2025-11-02 05:09:56 +0300 |
|---|---|---|
| committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-11-02 05:13:20 +0300 |
| commit | 7132e859c82014bec4d0ec1f0b9c396cfb76ddb5 (patch) | |
| tree | e877fc7f271385689577f2d9bc808112fd505e56 | |
| parent | www/freenginx-devel: enable third-party echo module (diff) | |
net-p2p/libutp: Update g20230213 => g20231123: sync with the version that shipped with Transmission
The patch brings libutp up to date with the version that shipped with
Transmission 4.0.6—source and binary.
PR: 290714
MFH: 2025Q4
| -rw-r--r-- | net-p2p/libutp/Makefile | 6 | ||||
| -rw-r--r-- | net-p2p/libutp/distinfo | 6 | ||||
| -rw-r--r-- | net-p2p/libutp/files/patch-CMakeLists.txt | 25 |
3 files changed, 6 insertions, 31 deletions
diff --git a/net-p2p/libutp/Makefile b/net-p2p/libutp/Makefile index 9150ca449f76..011a515701f9 100644 --- a/net-p2p/libutp/Makefile +++ b/net-p2p/libutp/Makefile @@ -1,9 +1,9 @@ PORTNAME= libutp -DISTVERSION= g20230213 +DISTVERSION= g20231123 CATEGORIES= net-p2p MAINTAINER= mondo.debater_0q@icloud.com -COMMENT= uTorrent Transport Protocol library and sample utilities. +COMMENT= uTorrent Transport Protocol library and sample utilities WWW= https://github.com/transmission/libutp LICENSE= MIT @@ -12,7 +12,7 @@ USES= cmake uidfix USE_GITHUB= yes GH_ACCOUNT= transmission -GH_TAGNAME= c95738b1a6644b919e5b64d3ea9736cfc5894e0b +GH_TAGNAME= 52645d6 USE_LDCONFIG= yes CMAKE_ON= LIBUTP_SHARED diff --git a/net-p2p/libutp/distinfo b/net-p2p/libutp/distinfo index 7ebb081422bd..993b90123bc5 100644 --- a/net-p2p/libutp/distinfo +++ b/net-p2p/libutp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690649660 -SHA256 (transmission-libutp-g20230213-c95738b1a6644b919e5b64d3ea9736cfc5894e0b_GH0.tar.gz) = d856fde68828d52eb39df40e15ad5dc4efaa9a51d4121bcbfbe47fed2163d20a -SIZE (transmission-libutp-g20230213-c95738b1a6644b919e5b64d3ea9736cfc5894e0b_GH0.tar.gz) = 59698 +TIMESTAMP = 1761968107 +SHA256 (transmission-libutp-g20231123-52645d6_GH0.tar.gz) = 97c618baf7ef6c7b5ab6cec5f2275bb1f096c70c2a98eab43cdf5d802aaf083e +SIZE (transmission-libutp-g20231123-52645d6_GH0.tar.gz) = 56470 diff --git a/net-p2p/libutp/files/patch-CMakeLists.txt b/net-p2p/libutp/files/patch-CMakeLists.txt deleted file mode 100644 index 27dc44215202..000000000000 --- a/net-p2p/libutp/files/patch-CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ ---- CMakeLists.txt.orig 2023-08-04 09:40:52 UTC -+++ CMakeLists.txt -@@ -56,6 +56,13 @@ if(WIN32) - libutp_inet_ntop.h) - endif() - -+if(CMAKE_VERSION VERSION_LESS 3.25) -+ set(BSD OFF) -+ if(CMAKE_SYSTEM_NAME MATCHES "BSD") -+ set(BSD ON) -+ endif() -+ endif() -+ - add_library(libutp ${LIBUTP_LIBRARY_TYPE} - include/libutp/utp.h - include/libutp/utp_types.h -@@ -118,7 +125,7 @@ if(LIBUTP_BUILD_PROGRAMS AND NOT MSVC) - - target_compile_definitions(ucat - PRIVATE -- $<$<NOT:$<BOOL:${WIN32}>>:_POSIX_C_SOURCE=200112L> -+ $<$<NOT:$<OR:$<BOOL:${WIN32}>,$<BOOL:${BSD}>>>:_POSIX_C_SOURCE=200112L> - $<$<BOOL:${APPLE}>:_DARWIN_C_SOURCE>) - - target_link_libraries(ucat |
