From 3aea77bb3a754d74592aa2d152b4619e4783784a Mon Sep 17 00:00:00 2001 From: fanch Date: Sat, 5 Jun 2010 10:38:22 +0200 Subject: ajout libtorrent-rasterbar#0.15.0-1 --- extra/libtorrent-rasterbar/.footprint | 127 +++++++++++++++++++++++ extra/libtorrent-rasterbar/.md5sum | 2 + extra/libtorrent-rasterbar/Pkgfile | 24 +++++ extra/libtorrent-rasterbar/disable-valloc.dpatch | 16 +++ 4 files changed, 169 insertions(+) create mode 100644 extra/libtorrent-rasterbar/.footprint create mode 100644 extra/libtorrent-rasterbar/.md5sum create mode 100644 extra/libtorrent-rasterbar/Pkgfile create mode 100644 extra/libtorrent-rasterbar/disable-valloc.dpatch (limited to 'extra/libtorrent-rasterbar') diff --git a/extra/libtorrent-rasterbar/.footprint b/extra/libtorrent-rasterbar/.footprint new file mode 100644 index 000000000..4c3988781 --- /dev/null +++ b/extra/libtorrent-rasterbar/.footprint @@ -0,0 +1,127 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libtorrent/ +-rw-r--r-- root/root usr/include/libtorrent/ConvertUTF.h +-rw-r--r-- root/root usr/include/libtorrent/GeoIP.h +-rw-r--r-- root/root usr/include/libtorrent/alert.hpp +-rw-r--r-- root/root usr/include/libtorrent/alert_types.hpp +-rw-r--r-- root/root usr/include/libtorrent/alloca.hpp +-rw-r--r-- root/root usr/include/libtorrent/allocator.hpp +-rw-r--r-- root/root usr/include/libtorrent/assert.hpp +drwxr-xr-x root/root usr/include/libtorrent/aux_/ +-rw-r--r-- root/root usr/include/libtorrent/aux_/session_impl.hpp +-rw-r--r-- root/root usr/include/libtorrent/bandwidth_limit.hpp +-rw-r--r-- root/root usr/include/libtorrent/bandwidth_manager.hpp +-rw-r--r-- root/root usr/include/libtorrent/bandwidth_queue_entry.hpp +-rw-r--r-- root/root usr/include/libtorrent/bencode.hpp +-rw-r--r-- root/root usr/include/libtorrent/bitfield.hpp +-rw-r--r-- root/root usr/include/libtorrent/broadcast_socket.hpp +-rw-r--r-- root/root usr/include/libtorrent/bt_peer_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/buffer.hpp +-rw-r--r-- root/root usr/include/libtorrent/chained_buffer.hpp +-rw-r--r-- root/root usr/include/libtorrent/config.hpp +-rw-r--r-- root/root usr/include/libtorrent/connection_queue.hpp +-rw-r--r-- root/root usr/include/libtorrent/create_torrent.hpp +-rw-r--r-- root/root usr/include/libtorrent/debug.hpp +-rw-r--r-- root/root usr/include/libtorrent/disk_buffer_holder.hpp +-rw-r--r-- root/root usr/include/libtorrent/disk_io_thread.hpp +-rw-r--r-- root/root usr/include/libtorrent/entry.hpp +-rw-r--r-- root/root usr/include/libtorrent/enum_net.hpp +-rw-r--r-- root/root usr/include/libtorrent/error_code.hpp +-rw-r--r-- root/root usr/include/libtorrent/escape_string.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions.hpp +drwxr-xr-x root/root usr/include/libtorrent/extensions/ +-rw-r--r-- root/root usr/include/libtorrent/extensions/logger.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions/lt_trackers.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions/metadata_transfer.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions/smart_ban.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions/ut_metadata.hpp +-rw-r--r-- root/root usr/include/libtorrent/extensions/ut_pex.hpp +-rw-r--r-- root/root usr/include/libtorrent/file.hpp +-rw-r--r-- root/root usr/include/libtorrent/file_pool.hpp +-rw-r--r-- root/root usr/include/libtorrent/file_storage.hpp +-rw-r--r-- root/root usr/include/libtorrent/fingerprint.hpp +-rw-r--r-- root/root usr/include/libtorrent/gzip.hpp +-rw-r--r-- root/root usr/include/libtorrent/hasher.hpp +-rw-r--r-- root/root usr/include/libtorrent/http_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/http_parser.hpp +-rw-r--r-- root/root usr/include/libtorrent/http_seed_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/http_stream.hpp +-rw-r--r-- root/root usr/include/libtorrent/http_tracker_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/identify_client.hpp +-rw-r--r-- root/root usr/include/libtorrent/instantiate_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/intrusive_ptr_base.hpp +-rw-r--r-- root/root usr/include/libtorrent/invariant_check.hpp +-rw-r--r-- root/root usr/include/libtorrent/io.hpp +-rw-r--r-- root/root usr/include/libtorrent/ip_filter.hpp +drwxr-xr-x root/root usr/include/libtorrent/kademlia/ +-rw-r--r-- root/root usr/include/libtorrent/kademlia/closest_nodes.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/dht_tracker.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/find_data.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/logging.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/msg.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/node.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/node_entry.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/node_id.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/observer.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/refresh.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/routing_table.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/rpc_manager.hpp +-rw-r--r-- root/root usr/include/libtorrent/kademlia/traversal_algorithm.hpp +-rw-r--r-- root/root usr/include/libtorrent/lazy_entry.hpp +-rw-r--r-- root/root usr/include/libtorrent/lsd.hpp +-rw-r--r-- root/root usr/include/libtorrent/magnet_uri.hpp +-rw-r--r-- root/root usr/include/libtorrent/natpmp.hpp +-rw-r--r-- root/root usr/include/libtorrent/parse_url.hpp +-rw-r--r-- root/root usr/include/libtorrent/pch.hpp +-rw-r--r-- root/root usr/include/libtorrent/pe_crypto.hpp +-rw-r--r-- root/root usr/include/libtorrent/peer.hpp +-rw-r--r-- root/root usr/include/libtorrent/peer_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/peer_id.hpp +-rw-r--r-- root/root usr/include/libtorrent/peer_info.hpp +-rw-r--r-- root/root usr/include/libtorrent/peer_request.hpp +-rw-r--r-- root/root usr/include/libtorrent/piece_block_progress.hpp +-rw-r--r-- root/root usr/include/libtorrent/piece_picker.hpp +-rw-r--r-- root/root usr/include/libtorrent/policy.hpp +-rw-r--r-- root/root usr/include/libtorrent/proxy_base.hpp +-rw-r--r-- root/root usr/include/libtorrent/random_sample.hpp +-rw-r--r-- root/root usr/include/libtorrent/session.hpp +-rw-r--r-- root/root usr/include/libtorrent/session_settings.hpp +-rw-r--r-- root/root usr/include/libtorrent/session_status.hpp +-rw-r--r-- root/root usr/include/libtorrent/size_type.hpp +-rw-r--r-- root/root usr/include/libtorrent/socket.hpp +-rw-r--r-- root/root usr/include/libtorrent/socket_type.hpp +-rw-r--r-- root/root usr/include/libtorrent/socks5_stream.hpp +-rw-r--r-- root/root usr/include/libtorrent/ssl_stream.hpp +-rw-r--r-- root/root usr/include/libtorrent/stat.hpp +-rw-r--r-- root/root usr/include/libtorrent/storage.hpp +-rw-r--r-- root/root usr/include/libtorrent/time.hpp +-rw-r--r-- root/root usr/include/libtorrent/torrent.hpp +-rw-r--r-- root/root usr/include/libtorrent/torrent_handle.hpp +-rw-r--r-- root/root usr/include/libtorrent/torrent_info.hpp +-rw-r--r-- root/root usr/include/libtorrent/tracker_manager.hpp +-rw-r--r-- root/root usr/include/libtorrent/udp_socket.hpp +-rw-r--r-- root/root usr/include/libtorrent/udp_tracker_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/upnp.hpp +-rw-r--r-- root/root usr/include/libtorrent/utf8.hpp +-rw-r--r-- root/root usr/include/libtorrent/variant_stream.hpp +-rw-r--r-- root/root usr/include/libtorrent/version.hpp +-rw-r--r-- root/root usr/include/libtorrent/web_peer_connection.hpp +-rw-r--r-- root/root usr/include/libtorrent/xml_parse.hpp +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libtorrent-rasterbar.a +-rwxr-xr-x root/root usr/lib/libtorrent-rasterbar.la +lrwxrwxrwx root/root usr/lib/libtorrent-rasterbar.so -> libtorrent-rasterbar.so.6.0.0 +lrwxrwxrwx root/root usr/lib/libtorrent-rasterbar.so.6 -> libtorrent-rasterbar.so.6.0.0 +-rwxr-xr-x root/root usr/lib/libtorrent-rasterbar.so.6.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libtorrent-rasterbar.pc +drwxr-xr-x root/root usr/lib/python2.6/ +drwxr-xr-x root/root usr/lib/python2.6/site-packages/ +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/libtorrent.so +-rw-r--r-- root/root usr/lib/python2.6/site-packages/python_libtorrent-0.15.0-py2.6.egg-info +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/libtorrent-rasterbar/ +-rwxr-xr-x root/root usr/share/licenses/libtorrent-rasterbar/LICENSE diff --git a/extra/libtorrent-rasterbar/.md5sum b/extra/libtorrent-rasterbar/.md5sum new file mode 100644 index 000000000..4c7a91de5 --- /dev/null +++ b/extra/libtorrent-rasterbar/.md5sum @@ -0,0 +1,2 @@ +7763d3f4e6c74b1b3d1bdfa3b07d529a disable-valloc.dpatch +3f8253457557a3f4778fa18fa076c5c9 libtorrent-rasterbar-0.15.0.tar.gz diff --git a/extra/libtorrent-rasterbar/Pkgfile b/extra/libtorrent-rasterbar/Pkgfile new file mode 100644 index 000000000..cdc3693c6 --- /dev/null +++ b/extra/libtorrent-rasterbar/Pkgfile @@ -0,0 +1,24 @@ + +# Description: un client bitorrent en c++ comme alternative aux autres client. +# URL:http://www.rasterbar.com/products/libtorrent/ +# Maintainer: NuTyX core team +# Packager: fanch +# Depends on: boost, python + +name=libtorrent-rasterbar +version=0.15.0 +release=1 +source=(http://libtorrent.googlecode.com/files/$name-$version.tar.gz + disable-valloc.dpatch) + + +build() { + cd $SRC/$name-$version + patch -Np1 -i $SRC/disable-valloc.dpatch + ./configure --prefix=/usr --enable-python-binding \ + --with-boost-filesystem=mt \ + --with-boost-thread=mt + make + make DESTDIR=$PKG install + install -D COPYING $PKG/usr/share/licenses/$name/LICENSE +} diff --git a/extra/libtorrent-rasterbar/disable-valloc.dpatch b/extra/libtorrent-rasterbar/disable-valloc.dpatch new file mode 100644 index 000000000..9239b8e3c --- /dev/null +++ b/extra/libtorrent-rasterbar/disable-valloc.dpatch @@ -0,0 +1,16 @@ + +Index: libtorrent-rasterbar-0.15.0/configure +=================================================================== +--- libtorrent-rasterbar-0.15.0.orig/configure 2010-03-31 14:32:43.088649904 -0700 ++++ libtorrent-rasterbar-0.15.0/configure 2010-03-31 14:35:23.284694490 -0700 +@@ -15297,8 +15297,8 @@ + fi + + +- +- ++# Use posix_memalign() instead of valloc() to avoid issues with eglibc ++$as_echo "#define TORRENT_USE_POSIX_MEMALIGN 1" >>confdefs.h + + # Check whether --with-boost-system was given. + if test "${with_boost_system+set}" = set; then : -- cgit v1.2.3-70-g09d2