1
0
Alexei Sorokin
2016-08-17 10:42:37 +00:00
committed by Git OBS Bridge
parent 6c36ff9ce6
commit f3bc9a0abf
3 changed files with 30 additions and 4 deletions

View File

@@ -9,7 +9,17 @@
TORRENT_TRY
{
@@ -810,7 +810,7 @@ void bind_session()
@@ -497,9 +497,6 @@ namespace
}
return pieces;
}
-
- void load_asnum_db(lt::session& s, std::string file) {}
- void load_country_db(lt::session& s, std::string file) {}
#endif
entry save_state(lt::session const& s, boost::uint32_t flags)
@@ -810,7 +807,7 @@ void bind_session()
#ifndef TORRENT_NO_DEPRECATE
.def("add_feed", &add_feed)
.def("status", allow_threads(&lt::session::status))
@@ -18,6 +28,15 @@
.def("set_settings", &session_set_settings)
#endif
.def("get_settings", &session_get_settings)
@@ -874,8 +871,6 @@ void bind_session()
.def("set_max_connections", allow_threads(&lt::session::set_max_connections))
.def("max_connections", allow_threads(&lt::session::max_connections))
.def("num_connections", allow_threads(&lt::session::num_connections))
- .def("load_asnum_db", &load_asnum_db)
- .def("load_country_db", &load_country_db)
.def("set_max_half_open_connections", allow_threads(&lt::session::set_max_half_open_connections))
.def("set_severity_level", allow_threads(&lt::session::set_severity_level))
.def("set_alert_queue_size_limit", allow_threads(&lt::session::set_alert_queue_size_limit))
--- a/bindings/python/src/torrent_handle.cpp
+++ b/bindings/python/src/torrent_handle.cpp
@@ -193,9 +193,9 @@ void dict_to_announce_entry(dict d, anno

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 17 10:13:36 UTC 2016 - sor.alexei@meowr.ru
- Append commit f05fad0 to
libtorrent-rasterbar-1.1.0-python-fixes.patch from upstream.
- Set boost requirement version to 1.53+ as in commit 633d062.
-------------------------------------------------------------------
Fri Jul 29 12:14:17 UTC 2016 - normand@linux.vnet.ibm.com

View File

@@ -33,13 +33,13 @@ Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{
Patch0: %{name}-1.1.0-remove-x86-only-flag.patch
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-fix-get-ip-filter.patch boo#978600 -- Fix crash in session::get_ip_filter when not having set one (commit 66e5994).
Patch1: %{name}-1.1.0-fix-get-ip-filter.patch
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-python-fixes.patch boo#988986 -- Fixes for Python bindings (commits e4fd45e, 80710ab, f01ac8f, 42c6376).
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-python-fixes.patch boo#988986 -- Fixes for Python bindings (commits e4fd45e, 80710ab, f01ac8f, 42c6376, f05fad0).
Patch2: %{name}-1.1.0-python-fixes.patch
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-fix-invalid-input-crash.patch boo#983228 -- Fix crash on invalid input in http_parser (commit 3624ce6).
Patch3: %{name}-1.1.0-fix-invalid-input-crash.patch
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-add_ppc64le_as_64_bit_system_libraries.patch -- Fix configure error on ppc64le (commit 487cb44).
Patch4: %{name}-1.1.0-add_ppc64le_as_64_bit_system_libraries.patch
BuildRequires: boost-devel >= 1.54
BuildRequires: boost-devel >= 1.53
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python-devel
@@ -109,7 +109,7 @@ Example tools from the libtorrent-rasterbar package.
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
Requires: boost-devel >= 1.54
Requires: boost-devel >= 1.53
Requires: gcc-c++
Requires: pkgconfig(openssl)