1
0

Accepting request 476887 from home:alois:branches:devel:libraries:c_c++

Update to 1.1.2

OBS-URL: https://build.opensuse.org/request/show/476887
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=81
This commit is contained in:
Alexei Sorokin 2017-03-05 10:39:44 +00:00 committed by Git OBS Bridge
parent 0c2448ea4a
commit a770e27f6b
5 changed files with 62 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f
size 3641815

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45e55f2374507bb67a9b9125f6b8d1c45e6cd33849c62b1d9cb56657354e359a
size 3909420

View File

@ -1,14 +0,0 @@
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -116,6 +116,11 @@ else:
extra_link = flags.parse(ldflags)
extra_compile = flags.parse(extra_cmd)
+ if 'CXX' in os.environ:
+ os.environ['CC'] = os.environ['CXX']
+ if 'CXXFLAGS' in os.environ:
+ os.environ['CFLAGS'] = os.environ['CXXFLAGS']
+
ext = [Extension('libtorrent',
sources = source_list,
language='c++',

View File

@ -1,3 +1,60 @@
-------------------------------------------------------------------
Sat Mar 4 08:58:51 UTC 2017 - aloisio@gmx.com
- Update to version 1.1.2
* default TOS marking to 0x20
* fix invalid access when leaving seed-mode with outstanding
hash jobs
* fix ABI compatibility issue introduced with preformatted
entry type
* add web_seed_name_lookup_retry to session_settings
* slightly improve proxy settings backwards compatibility
* add function to get default settings
* updating super seeding would include the torrent in
state_update_alert
* fix issue where num_seeds could be greater than num_peers
in torrent_status
* finished non-seed torrents can also be in super-seeding
mode
* fix issue related to unloading torrents
* fixed finished-time calculation
* add missing min_memory_usage() and high_performance_seed()
settings presets to python
* fix stat cache issue that sometimes would produce
incorrect resume data
* storage optimization to peer classes
* fix torrent name in alerts of builds with deprecated
functions
* make torrent_info::is_valid() return false if torrent
failed to load
* fix per-torrent rate limits for >256 peer classes
* don't load user_agent and peer_fingerprint from
session_state
* fix file rename issue with name prefix matching torrent
name
* fix division by zero when setting tick_interval > 1000
* fix move_storage() to its own directory (would delete the
files)
* fix socks5 support for UDP
* add setting urlseed_max_request_bytes to handle large web
seed requests
* fix python build with CC/CXX environment
* add trackers from add_torrent_params/magnet links to
separate tiers
* fix resumedata check issue with files with priority 0
* deprecated mmap_cache feature
* add utility function for generating peer ID fingerprint
* fix bug in last-seen-complete
* remove file size limit in torrent_info filename constructor
* fix tail-padding for last file in create_torrent
* don't send user-agent in metadata http downloads or UPnP
requests when in anonymous mode
* fix internal resolve links lookup for mutable torrents
* hint DHT bootstrap nodes of actual bootstrap request
- Dropped libtorrent-rasterbar-python-cxxflags.patch (accepted
upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 1 15:44:54 UTC 2017 - adam.majer@suse.de Wed Feb 1 15:44:54 UTC 2017 - adam.majer@suse.de

View File

@ -18,11 +18,11 @@
%define _name libtorrent %define _name libtorrent
%define sover 9 %define sover 9
%define _version 1_1_1 %define _version 1_1_2
%bcond_with examples %bcond_with examples
%bcond_with tests %bcond_with tests
Name: libtorrent-rasterbar Name: libtorrent-rasterbar
Version: 1.1.1 Version: 1.1.2
Release: 0 Release: 0
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
License: BSD-3-Clause License: BSD-3-Clause
@ -31,8 +31,6 @@ Url: http://libtorrent.org/
Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-fix-build-boost-1.54.patch sor.alexei@meowr.ru -- Fix building with Boost 1.54. # PATCH-FIX-UPSTREAM libtorrent-rasterbar-fix-build-boost-1.54.patch sor.alexei@meowr.ru -- Fix building with Boost 1.54.
Patch0: libtorrent-rasterbar-fix-build-boost-1.54.patch Patch0: libtorrent-rasterbar-fix-build-boost-1.54.patch
# PATCH-FIX-OPENSUSE libtorrent-rasterbar-python-cxxflags.patch boo#1013570 sor.alexei@meowr.ru -- Fix Python bindings CXXFLAGS.
Patch1: libtorrent-rasterbar-python-cxxflags.patch
%if 0%{?suse_version} > 1325 %if 0%{?suse_version} > 1325
BuildRequires: libboost_chrono-devel BuildRequires: libboost_chrono-devel
BuildRequires: libboost_python-devel BuildRequires: libboost_python-devel
@ -141,7 +139,6 @@ Documentation for the libtorrent-rasterbar package.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"