Hello community,
here is the log from the commit of package libtorrent-rasterbar for
openSUSE:Factory checked in at 2013-01-29 06:44:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
and /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent-rasterbar", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes
2013-01-20 08:04:23.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new/libtorrent-rasterbar.changes
2013-01-29 06:44:39.000000000 +0100
@@ -2,16 +1,0 @@
-Thu Jan 10 15:17:22 UTC 2013 - [email protected]
-
-- 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
-
--------------------------------------------------------------------
Old:
----
libtorrent-rasterbar-0.16.6.tar.gz
New:
----
libtorrent-rasterbar-0.15.10.tar.gz
libtorrent-rasterbar-0.15.9-missing-return.patch
libtorrent-rasterbar-boost-time_utc.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.VQlwWy/_old 2013-01-29 06:44:41.000000000 +0100
+++ /var/tmp/diff_new_pack.VQlwWy/_new 2013-01-29 06:44:41.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libtorrent-rasterbar
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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,20 +16,22 @@
#
-%define _soname 7
+%define _soname 6
# 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.16.6
+Version: 0.15.10
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
@@ -108,33 +110,26 @@
%prep
%setup -q
-#%%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
+%patch0 -p1
+%patch1 -p1
%build
export CFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing"
-export LDFLAGS="%{optflags} -lrt -lboost_system -lpthread"
+export LDFLAGS="%{optflags} -lrt"
%configure \
--disable-static \
--disable-silent-rules \
- --with-libgeoip=system \
+ --with-libgeoip \
--with-boost-libdir=%{_libdir} \
- --with-boost-python=mt \
- --with-boost-system=mt \
--enable-tests \
%if %{with examples}
--enable-examples \
%endif
--enable-python-binding
-make V=1 %{?_smp_mflags}
+make %{?_smp_mflags}
%install
%make_install
@@ -152,15 +147,10 @@
%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}
++++++ libtorrent-rasterbar-0.16.6.tar.gz ->
libtorrent-rasterbar-0.15.10.tar.gz ++++++
++++ 159482 lines of diff (skipped)
++++++ libtorrent-rasterbar-0.15.9-missing-return.patch ++++++
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;
}
}
++++++ libtorrent-rasterbar-boost-time_utc.patch ++++++
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)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]