rpms/rb_libtorrent/devel rb_libtorrent-gcc43.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 rb_libtorrent.spec, 1.9, 1.10 sources, 1.3, 1.4
Peter Gordon (pgordon)
fedora-extras-commits at redhat.com
Fri Feb 15 07:00:45 UTC 2008
- Previous message (by thread): rpms/kdegames3/devel kdegames-3.5.9-trademarks.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 kdegames3.spec, 1.4, 1.5 sources, 1.2, 1.3 kdegames-3.5.8-trademarks.patch, 1.1, NONE
- Next message (by thread): rpms/rb_libtorrent/devel rb_libtorrent-svn1968-bdecode_recursive-security-fix.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pgordon
Update of /cvs/pkgs/rpms/rb_libtorrent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv772
Modified Files:
.cvsignore rb_libtorrent.spec sources
Added Files:
rb_libtorrent-gcc43.patch
Log Message:
Update to 0.12.1; build w/ GCC 4.3
rb_libtorrent-gcc43.patch:
--- NEW FILE rb_libtorrent-gcc43.patch ---
diff -up ./src/file.cpp.old ./src/file.cpp
--- ./src/file.cpp.old 2008-02-14 20:53:03.000000000 -0800
+++ ./src/file.cpp 2008-02-14 20:53:14.000000000 -0800
@@ -66,6 +66,7 @@ BOOST_STATIC_ASSERT(sizeof(lseek(0, 0, 0
#include <boost/filesystem/operations.hpp>
#include "libtorrent/file.hpp"
#include <sstream>
+#include <cstring>
#ifndef O_BINARY
#define O_BINARY 0
diff -up ./include/libtorrent/buffer.hpp.old ./include/libtorrent/buffer.hpp
--- ./include/libtorrent/buffer.hpp.old 2008-02-14 20:50:39.000000000 -0800
+++ ./include/libtorrent/buffer.hpp 2008-02-14 20:50:59.000000000 -0800
@@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/invariant_check.hpp"
#include <memory>
+#include <cstring>
namespace libtorrent {
diff -up ./include/libtorrent/peer_id.hpp.old ./include/libtorrent/peer_id.hpp
--- ./include/libtorrent/peer_id.hpp.old 2008-02-14 20:53:41.000000000 -0800
+++ ./include/libtorrent/peer_id.hpp 2008-02-14 20:54:02.000000000 -0800
@@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <cctype>
#include <algorithm>
#include <string>
+#include <cstring>
#include "libtorrent/config.hpp"
diff -up ./include/libtorrent/file.hpp.old ./include/libtorrent/file.hpp
diff -up ./include/libtorrent/asio/detail/pipe_select_interrupter.hpp.old ./include/libtorrent/asio/detail/pipe_select_interrupter.hpp
--- ./include/libtorrent/asio/detail/pipe_select_interrupter.hpp.old 2008-02-14 20:49:42.000000000 -0800
+++ ./include/libtorrent/asio/detail/pipe_select_interrupter.hpp 2008-02-14 20:50:09.000000000 -0800
@@ -32,6 +32,8 @@
#include "asio/system_error.hpp"
#include "asio/detail/socket_types.hpp"
+#include <cstring>
+
namespace asio {
namespace detail {
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rb_libtorrent/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 10 Jul 2007 07:12:55 -0000 1.3
+++ .cvsignore 15 Feb 2008 07:00:08 -0000 1.4
@@ -1 +1 @@
-libtorrent-0.12.tar.gz
+libtorrent-0.12.1.tar.gz
Index: rb_libtorrent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rb_libtorrent/devel/rb_libtorrent.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rb_libtorrent.spec 29 Jan 2008 07:59:21 -0000 1.9
+++ rb_libtorrent.spec 15 Feb 2008 07:00:08 -0000 1.10
@@ -1,6 +1,6 @@
Name: rb_libtorrent
-Version: 0.12
-Release: 3%{?dist}
+Version: 0.12.1
+Release: 1%{?dist}
Summary: A C++ BitTorrent library aiming to be the best alternative
Group: System Environment/Libraries
@@ -12,7 +12,7 @@
Source2: %{name}-COPYING.Boost
Source3: %{name}-COPYING.zlib
-Patch0: %{name}-svn1968-bdecode_recursive-security-fix.patch
+Patch0: %{name}-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -70,6 +70,7 @@
%prep
%setup -q -n "libtorrent-%{version}"
+%patch0 -p0 -b .gcc43
## Some of the sources and docs are executable, which makes rpmlint against
## the resulting -debuginfo and -devel packages, respectively, quite angry. :]
find src/ docs/ -type f -exec chmod a-x '{}' \;
@@ -84,9 +85,6 @@
## Fix the installed pkgconfig file: we don't need linkage that the
## libtorrent DSO already ensures.
sed -i -e 's/^Libs:.*$/Libs: -L${libdir} -ltorrent/' libtorrent.pc.in
-## SECURITY: Fix potential stack overflow in bencode_recursive with
-## malformed messages.
-%patch0 -p3 -b .bdecode_recursive-security-fix
%build
@@ -128,14 +126,13 @@
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
-%{_libdir}/libtorrent.so.*
%exclude %{_libdir}/*.la
+%{_libdir}/libtorrent-%{version}.so
## Unfortunately (even with the "--disable-static" option to the %%configure
## invocation) our use of the system libtool creates static libraries at build
## time, so we must exclude them here.
%exclude %{_libdir}/*.a
-
%files devel
%defattr(-,root,root,-)
%doc COPYING.Boost COPYING.BSD COPYING.zlib docs/
@@ -149,6 +146,14 @@
%changelog
+* Sat Feb 09 2008 Peter Gordon <peter at thecodergeek.com> - 0.12.1-1
+- Update to new upstream bug-fix release (0.12.1)
+- Rebuild for GCC 4.3
+- Drop security fix patch (merged upstream):
+ - svn1968-bdecode_recursive-security-fix.patch
+- Add GCC 4.3 build fixes (based on patch from Adel Gadllah, bug 432778):
+ + gcc43.patch
+
* Mon Jan 28 2008 Peter Gordon <peter at thecodergeek.com> - 0.12-3
- Add upstream patch (changeset 1968) to fix potential security vulnerability:
malformed messages passed through the bdecode_recursive routine could cause
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rb_libtorrent/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 10 Jul 2007 07:12:55 -0000 1.3
+++ sources 15 Feb 2008 07:00:08 -0000 1.4
@@ -1 +1 @@
-a09a37e6fc74d152821c00c3cb15d248 libtorrent-0.12.tar.gz
+1be3c3751673f751015b260836437f2e libtorrent-0.12.1.tar.gz
- Previous message (by thread): rpms/kdegames3/devel kdegames-3.5.9-trademarks.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 kdegames3.spec, 1.4, 1.5 sources, 1.2, 1.3 kdegames-3.5.8-trademarks.patch, 1.1, NONE
- Next message (by thread): rpms/rb_libtorrent/devel rb_libtorrent-svn1968-bdecode_recursive-security-fix.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list