diff --git a/_service b/_service index 2403dde..771021e 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/arvidn/libtorrent.git git .git - v2.0.6 + v2.0.7 @PARENT_TAG@ v(.*) libtorrent-rasterbar diff --git a/libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch b/libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch deleted file mode 100644 index 8f348bb..0000000 --- a/libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a5925cfc862923544d4d2b4dc5264836e2cd1030 Mon Sep 17 00:00:00 2001 -From: Nick Korotysh -Date: Thu, 21 Apr 2022 01:02:32 +0300 -Subject: [PATCH] fixed pkg-config file libraries list generation - -do not append '-l' to anything starting with '-' - -previously cmake-generated pkg-config file contained next line: - - Libs: -L${libdir} -ltorrent-rasterbar -l-pthread -lssl -lcrypto - -(note '-l' before '-pthread', even without space) - -the same line with this fix included is correct: - - Libs: -L${libdir} -ltorrent-rasterbar -pthread -lssl -lcrypto ---- - cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in b/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in -index d4cb81db69..6adea52ac5 100644 ---- a/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in -+++ b/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in -@@ -37,7 +37,12 @@ function(split_library_dirs _libraries _base_library_dir _library_dirs_var _libr - endfunction() - - split_library_dirs("${_TARGET_INTERFACE_LINK_LIBRARIES}" "${CMAKE_INSTALL_PREFIX}/${_INSTALL_LIBDIR}" _lib_dirs _library_names) -+set(_linker_options "${_library_names}") -+list(FILTER _linker_options INCLUDE REGEX "^-.*") -+list(FILTER _library_names EXCLUDE REGEX "^-.*") - cmake_list_to_pkg_config(_libs "${_library_names}" "-l") -+list(JOIN _linker_options " " _linker_options) -+string(JOIN " " _libs "${_linker_options}" "${_libs}") - list(LENGTH _lib_dirs _additional_libdirs_count) - if (_additional_libdirs_count GREATER 0) - cmake_list_to_pkg_config(_additional_libdirs "${_lib_dirs}" "-L") diff --git a/libtorrent-rasterbar-2.0.6.tar.xz b/libtorrent-rasterbar-2.0.6.tar.xz deleted file mode 100644 index 4dedb39..0000000 --- a/libtorrent-rasterbar-2.0.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a96cdf6bacb2435a3cd7546c3942b28f757888c18ee6d127c77df7eed49fe36 -size 3319800 diff --git a/libtorrent-rasterbar-2.0.7.tar.xz b/libtorrent-rasterbar-2.0.7.tar.xz new file mode 100644 index 0000000..8b0364e --- /dev/null +++ b/libtorrent-rasterbar-2.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11a77d50997c7a5037c0b7b21f36c7bca7affa7ea8a763517b2d1108eae3626a +size 3331356 diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index 296fbfa..97f518f 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun Jul 17 17:43:42 UTC 2022 - Luigi Baldoni + +- Update to version 2.0.7 + * fix issue in use of copy_file_range() + * avoid open-file race in the file_view_pool + * fix issue where stop-when-ready would not close files + * fix issue with duplicate hybrid torrent via separate v1 and + v2 magnet links + * added new function to load torrent files, load_torrent_*() + * support sync_file_range() + * fix issue in write_torrent_file() when file size is exactly + piece size + * fix file_num_blocks() and file_num_pieces() for empty files + * add new overload to make_magnet_uri() + * add missing protocol version to tracker_reply_alert and + tracker_error_alert + * fix privilege issue with SetFileValidData() + * add asynchronous overload of torrent_handle::add_piece() + * default to a single hashing thread, for full checks + * Fix bug when checking files and the first piece is invalid +- Drop libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch + (no longer necessary) + ------------------------------------------------------------------- Sun May 8 11:44:19 UTC 2022 - Luigi Baldoni diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 33e2272..6ac1e03 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -26,15 +26,13 @@ %bcond_with examples %bcond_with tests Name: libtorrent-rasterbar -Version: 2.0.6 +Version: 2.0.7 Release: 0 Summary: A C++ implementation of the BitTorrent protocol License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://libtorrent.org/ Source: %{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch -Patch0: libtorrent-rasterbar-2.0.6-fix_pkgconfig_creation.patch BuildRequires: cmake >= 3.12.0 BuildRequires: fdupes BuildRequires: gcc-c++