summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2008-12-28 21:35:27 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2008-12-28 21:35:27 +0000
commitab98205b47ab3aaec63f7c4af69a449f12ce9a27 (patch)
tree5f50bc83c3cab4d229e4f966a9b34edb9c2f2524 /net-libs/rb_libtorrent
parentRemoved dev-db/phppgadmin-4.2.1, added 4.2.2 in response to sec issue #250451. (diff)
downloadhistorical-ab98205b47ab3aaec63f7c4af69a449f12ce9a27.tar.gz
historical-ab98205b47ab3aaec63f7c4af69a449f12ce9a27.tar.bz2
historical-ab98205b47ab3aaec63f7c4af69a449f12ce9a27.zip
Version bump (bug #245731), thanks to Atman Sense <atman.sense@zise.de>. Closes bug #225931 too.
Package-Manager: portage-2.2_rc19/cvs/Linux 2.6.27-gentoo-r2 x86_64
Diffstat (limited to 'net-libs/rb_libtorrent')
-rw-r--r--net-libs/rb_libtorrent/ChangeLog10
-rw-r--r--net-libs/rb_libtorrent/Manifest5
-rw-r--r--net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch21
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild62
4 files changed, 96 insertions, 2 deletions
diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog
index a5db2289694f..82270cfb594f 100644
--- a/net-libs/rb_libtorrent/ChangeLog
+++ b/net-libs/rb_libtorrent/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-libs/rb_libtorrent
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.52 2008/08/09 16:59:27 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.53 2008/12/28 21:35:27 coldwind Exp $
+
+*rb_libtorrent-0.14.1 (28 Dec 2008)
+
+ 28 Dec 2008; Santiago M. Mola <coldwind@gentoo.org>
+ +files/rb_libtorrent-0.14.1-ax_python_path.patch,
+ +rb_libtorrent-0.14.1.ebuild:
+ Version bump (bug #245731), thanks to Atman Sense <atman.sense@zise.de>.
+ Closes bug #225931 too.
09 Aug 2008; Santiago M. Mola <coldwind@gentoo.org>
rb_libtorrent-0.13.ebuild:
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest
index 4be5a5a34c56..deeed24be500 100644
--- a/net-libs/rb_libtorrent/Manifest
+++ b/net-libs/rb_libtorrent/Manifest
@@ -1,10 +1,13 @@
+AUX rb_libtorrent-0.14.1-ax_python_path.patch 1084 RMD160 13f8d86ced91b9c617c3d5cd256056c9ae799dd3 SHA1 38165920f011971146d20feeb801df48e9fe664e SHA256 689cbb500e2bc7bd2a0ca7d48a84916497a7cba1cc65689b492e2d3dfddcaa20
DIST libtorrent-0.12.1.tar.gz 1188288 RMD160 cafb097a2b8a76777eb7a229cfbeb4113081a42e SHA1 4c405008b78a7b54099fce848dbb9f1a2f7782fe SHA256 0db29ea807dfd682bed5992950c35c40e8a53a4c5b2f383b8d071c4bfb9f64db
DIST libtorrent-0.13.tar.gz 1502517 RMD160 40b97552ca2b664facf864e48cc09a0cf4d84809 SHA1 010c02e350dc68263bb791bc8c37df341301e9bb SHA256 b187e6af2d2adc90417f991431fab5b0d6e61d71d0164345fad940a79cc45ee2
DIST libtorrent-0.13_p2335.tar.bz2 1537298 RMD160 877aab8ba3a95e6d8dd49a5f380c970f9c8a1ec7 SHA1 5dd3ccddff19645e54c05eeefe9a8c497d1cf6ef SHA256 84d0690a988dcba61e9f4c2507738251d043515bcff1e20e2fe7bb977f6ea0d4
DIST libtorrent-rasterbar-0.13.1.tar.gz 1469775 RMD160 9d806ee7914165d71c1c307b14874beef3033ca5 SHA1 af9c9709b62a9f06736b3d9e3dea4f8822eac948 SHA256 eed01a0f130c0c7cfdd56b172924bd8085821f372cdf5a44e85a3f855d1654bd
+DIST libtorrent-rasterbar-0.14.1.tar.gz 1780177 RMD160 d48a79c8b9c062d4726ee2312577306d13834f46 SHA1 0407b072765180367e4d58e9d20ad276ead3dc27 SHA256 7297861ef3b530509da1cb680e9d76804d557e9d77a082dd0f89c78caeec1317
EBUILD rb_libtorrent-0.12.1.ebuild 1363 RMD160 d56e4d09649577a1a5f862af3de95015514cf8b2 SHA1 4ee40a1b9c903018af6aba6b5ec596cde9dae9c7 SHA256 3d0f3504cd36b9db8286ba8ae1780da7db8c0645ed4947e1e177511a57e3613d
EBUILD rb_libtorrent-0.13.1.ebuild 1417 RMD160 9fa81d4c9541df0365a5fdd4ea4313ae93b95b6f SHA1 77332af178cd1c0a29517a3dab1919c903ebfa57 SHA256 27a34e13eed0a8570fd00fafb3e7ece5f140cc28036f98a666aaa9c508a66cc6
EBUILD rb_libtorrent-0.13.ebuild 1375 RMD160 29fd7fa11063e4ec0a35b5734a44f82c59c56958 SHA1 b37474a18317328f8821ae276802264736004ce0 SHA256 5addf2c16e9589528a57e0842e9e220888293f8b19a685b4ea218d8f45f4850a
EBUILD rb_libtorrent-0.13_p2335.ebuild 1466 RMD160 ce0142d67b1d6ad9e7cafcc793a3ec1bef96b028 SHA1 d74623987e37c0054613236bfac8a0699b17dfd7 SHA256 70902eba4a8d72d78163fbbd450d6f03d6a844803503cf2e703f9a86dc70510f
-MISC ChangeLog 8177 RMD160 e9f502b3888c7b868ab0c4d28088dd2166e312d1 SHA1 f95ebc29f3049d9496d28e4c9cd8828d68d07467 SHA256 f42cc96805ad54e36c0ad629c72494a70007dd8109e06f66602605a5a1733bbe
+EBUILD rb_libtorrent-0.14.1.ebuild 1694 RMD160 d5254807dc5af519ac01280dffee9171d20ae175 SHA1 044de6090d78e522c4198007d84e85eaec307cbf SHA256 3451875ea1bd7337418ce6a876e6be67982094293ab1028c060aa6a8793d7e32
+MISC ChangeLog 8454 RMD160 da170d2fde8f6aa484bad2fe0ac8b1f57a7cac22 SHA1 13fc21f9e25f44deb9caba20d53341f71a15808a SHA256 e2c6ca5850ee9ea4439e16af422fb2157aac63902dd42de53152abd1253c320c
MISC metadata.xml 222 RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f SHA1 540337d5841f15b43186e5858f9e24032567de08 SHA256 713b9d1548682d5c1c3686a7b0711acf065a8fa4f386883ace90359d3dceb966
diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch
new file mode 100644
index 000000000000..0d1f48ef5310
--- /dev/null
+++ b/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch
@@ -0,0 +1,21 @@
+Source: Santiago M. Mola <coldwind@gentoo.org>
+Upstream: The 'locate' part is merged.
+Reason: Support Python 2.6 and stop using locate to find Python headers.
+--- libtorrent-rasterbar-0.14.1.orig/m4/ax_python.m4 2008-12-28 15:07:42.000000000 +0100
++++ libtorrent-rasterbar-0.14.1/m4/ax_python.m4 2008-12-28 18:48:54.000000000 +0100
+@@ -58,13 +58,13 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
+ AC_CHECK_PROGS(PYTHON_BIN, [$python])
+ ax_python_bin=$PYTHON_BIN
+ if test x$ax_python_bin != x; then
+ AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
+ AC_CHECK_HEADER([$ax_python_bin/Python.h],
+- [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
++ [[ax_python_header=/usr/include/$ax_python_bin]],
+ ax_python_header=no)
+ if test $ax_python_lib != no; then
+ if test $ax_python_header != no; then
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild
new file mode 100644
index 000000000000..f21047f840cd
--- /dev/null
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.1.ebuild,v 1.1 2008/12/28 21:35:27 coldwind Exp $
+
+inherit eutils autotools
+
+MY_P=${P/rb_/}
+MY_P=${MY_P/torrent/torrent-rasterbar}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="BitTorrent library written in C++ for *nix."
+HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
+SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+IUSE="debug examples python test"
+
+DEPEND="
+ >=dev-libs/boost-1.34
+ || ( >=dev-libs/boost-1.35 dev-cpp/asio )
+ sys-libs/zlib
+ !net-libs/libtorrent"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ax_python_path.patch
+ eautoreconf
+}
+
+src_compile() {
+ #use multi-threading versions of boost libs
+ local BOOST_LIBS="
+ --with-boost-system=boost_system-mt \
+ --with-boost-asio=boost_system-mt \
+ --with-boost-filesystem=boost_filesystem-mt \
+ --with-boost-thread=boost_thread-mt \
+ --with-boost-regex=boost_regex-mt \
+ --with-boost-python=boost_python-mt \
+ --with-boost-program_options=boost_program_options-mt"
+
+ #TODO: We might want to add 'use debug -> --with-logging=verbose
+ econf \
+ $(use_enable debug) \
+ $(use_enable test tests) \
+ $(use_enable examples) \
+ $(use_enable python python-binding) \
+ --with-zlib=system \
+ --with-asio=system \
+ ${BOOST_LIBS} \
+ LDFLAGS="${LDFLAGS} -pthread" || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog AUTHORS NEWS README
+}