diff --git a/libtorrent-rasterbar-0.15.10.tar.gz b/libtorrent-rasterbar-0.15.10.tar.gz deleted file mode 100644 index e712f37..0000000 --- a/libtorrent-rasterbar-0.15.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36e79fa4e79d5b0911ade11bc41ee75375048acc06526a23fad8558612ac38c4 -size 2623718 diff --git a/libtorrent-rasterbar-0.15.9-missing-return.patch b/libtorrent-rasterbar-0.15.9-missing-return.patch deleted file mode 100644 index 6c6f377..0000000 --- a/libtorrent-rasterbar-0.15.9-missing-return.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: libtorrent-rasterbar-0.15.8/src/file.cpp -=================================================================== ---- libtorrent-rasterbar-0.15.8/src/file.cpp.orig -+++ libtorrent-rasterbar-0.15.8/src/file.cpp -@@ -1125,6 +1125,7 @@ typedef struct _FILE_ALLOCATED_RANGE_BUF - #else - return start; - #endif -+ return start; - } - - } diff --git a/libtorrent-rasterbar-0.16.6.tar.gz b/libtorrent-rasterbar-0.16.6.tar.gz new file mode 100644 index 0000000..12934f3 --- /dev/null +++ b/libtorrent-rasterbar-0.16.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:143446afb7bd05b6eb4da8ef24a0999a787e63f13f73e6004294f2e5765558f9 +size 2930852 diff --git a/libtorrent-rasterbar-boost-time_utc.patch b/libtorrent-rasterbar-boost-time_utc.patch deleted file mode 100644 index 5473978..0000000 --- a/libtorrent-rasterbar-boost-time_utc.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: libtorrent-rasterbar-0.15.10/src/alert.cpp -=================================================================== ---- libtorrent-rasterbar-0.15.10.orig/src/alert.cpp -+++ libtorrent-rasterbar-0.15.10/src/alert.cpp -@@ -68,7 +68,7 @@ namespace libtorrent { - int secs = total_seconds(max_wait); - max_wait -= seconds(secs); - boost::xtime xt; -- boost::xtime_get(&xt, boost::TIME_UTC); -+ boost::xtime_get(&xt, boost::TIME_UTC_); - xt.sec += secs; - boost::int64_t nsec = xt.nsec + total_microseconds(max_wait) * 1000; - if (nsec > 1000000000) -Index: libtorrent-rasterbar-0.15.10/test/setup_transfer.cpp -=================================================================== ---- libtorrent-rasterbar-0.15.10.orig/test/setup_transfer.cpp -+++ libtorrent-rasterbar-0.15.10/test/setup_transfer.cpp -@@ -109,7 +109,7 @@ bool print_alerts(libtorrent::session& s - void test_sleep(int millisec) - { - boost::xtime xt; -- boost::xtime_get(&xt, boost::TIME_UTC); -+ boost::xtime_get(&xt, boost::TIME_UTC_); - boost::uint64_t nanosec = (millisec % 1000) * 1000000 + xt.nsec; - int sec = millisec / 1000; - if (nanosec > 1000000000) diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index c9b5d01..e02d7f5 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Jan 10 15:17:22 UTC 2013 - fisiu@opensuse.org + +- Update to 0.16.6: + + support torrents with more than 262000 pieces + + support banning web seeds sending corrupt data + + feature to encrypt peer connections with a secret AES-256 key + stored in .torrent file + + added support for RSS feeds + + uTP protocol support + + and much more, full list available in ChangeLog file +- Drop libtorrent-rasterbar-boost-time_utc.patch +- Drop libtorrent-rasterbar-0.15.9-missing-return.patch - it's not + needed for linux builds. +- soname gets 7 + ------------------------------------------------------------------- Fri Aug 3 09:23:46 UTC 2012 - aj@suse.de diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 3c5d5ce..5933a02 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -1,7 +1,7 @@ # # spec file for package libtorrent-rasterbar # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,20 @@ # -%define _soname 6 +%define _soname 7 # for setting those bcond_with* configs see # http://lizards.opensuse.org/2008/09/12/conditional-features-aka-use-flags/ # optionally build with examples %bcond_with examples Name: libtorrent-rasterbar -Version: 0.15.10 +Version: 0.16.6 Release: 0 Summary: Libtorrent is a C++ implementation of the BitTorrent protocol License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://www.rasterbar.com/products/libtorrent/ Source: http://libtorrent.googlecode.com/files/%{name}-%{version}.tar.gz -Patch0: libtorrent-rasterbar-0.15.9-missing-return.patch -Patch1: libtorrent-rasterbar-boost-time_utc.patch BuildRequires: boost-devel >= 1.36 BuildRequires: gcc-c++ BuildRequires: libGeoIP-devel @@ -110,26 +108,33 @@ Documentation for package libtorrent-rasterbar. %prep %setup -q -%patch0 -p1 -%patch1 -p1 +#%%patch0 -p1 +#%%patch1 -p1 +## Fix the interpreter for the example clients +sed -i -e 's:^#!/bin/python$:#!/usr/bin/python:' bindings/python/{simple_,}client.py +%if "%{_libdir}" != "/usr/lib" +sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure +%endif %build export CFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing" export CXXFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing" -export LDFLAGS="%{optflags} -lrt" +export LDFLAGS="%{optflags} -lrt -lboost_system -lpthread" %configure \ --disable-static \ --disable-silent-rules \ - --with-libgeoip \ + --with-libgeoip=system \ --with-boost-libdir=%{_libdir} \ + --with-boost-python=mt \ + --with-boost-system=mt \ --enable-tests \ %if %{with examples} --enable-examples \ %endif --enable-python-binding -make %{?_smp_mflags} +make V=1 %{?_smp_mflags} %install %make_install @@ -147,10 +152,15 @@ install -m 644 docs/* %{buildroot}%{_defaultdocdir}/%{name}/ %files -n %{name}-tools %defattr(-,root,root) %{_bindir}/client_test +%{_bindir}/connection_tester %{_bindir}/dump_torrent %{_bindir}/enum_if %{_bindir}/make_torrent +%{_bindir}/parse_hash_fails +%{_bindir}/parse_request_log +%{_bindir}/rss_reader %{_bindir}/simple_client +%{_bindir}/utp_test %endif %files -n %{name}%{_soname}