From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent: ChangeLog libtorrent-0.12.7.ebuild |
Date: | Sun, 03 Apr 2011 16:04:30 |
Message-Id: | 20110403160420.A945420054@flycatcher.gentoo.org |
1 | patrick 11/04/03 16:04:20 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libtorrent-0.12.7.ebuild |
5 | Log: |
6 | Bump, fix for upstream issue #2505 included |
7 | |
8 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.155 net-libs/libtorrent/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.155&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.155&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.154&r2=1.155 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v |
20 | retrieving revision 1.154 |
21 | retrieving revision 1.155 |
22 | diff -u -r1.154 -r1.155 |
23 | --- ChangeLog 8 Dec 2010 02:50:00 -0000 1.154 |
24 | +++ ChangeLog 3 Apr 2011 16:04:20 -0000 1.155 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-libs/libtorrent |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.154 2010/12/08 02:50:00 vapier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.155 2011/04/03 16:04:20 patrick Exp $ |
31 | + |
32 | +*libtorrent-0.12.7 (03 Apr 2011) |
33 | + |
34 | + 03 Apr 2011; Patrick Lauer <patrick@g.o> +libtorrent-0.12.7.ebuild, |
35 | + +files/download_constructor.diff: |
36 | + Bump, fix for upstream issue #2505 included |
37 | |
38 | 08 Dec 2010; Mike Frysinger <vapier@g.o> libtorrent-0.12.6.ebuild: |
39 | Fix building on systems that lack posix_fallocate(). |
40 | |
41 | |
42 | |
43 | 1.1 net-libs/libtorrent/libtorrent-0.12.7.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.7.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.7.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: libtorrent-0.12.7.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.7.ebuild,v 1.1 2011/04/03 16:04:20 patrick Exp $ |
53 | |
54 | EAPI=2 |
55 | inherit eutils libtool toolchain-funcs |
56 | |
57 | DESCRIPTION="BitTorrent library written in C++ for *nix" |
58 | HOMEPAGE="http://libtorrent.rakshasa.no/" |
59 | SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="debug ipv6 ssl" |
65 | |
66 | RDEPEND=">=dev-libs/libsigc++-2.2.2:2 |
67 | ssl? ( dev-libs/openssl )" |
68 | DEPEND="${RDEPEND} |
69 | dev-util/pkgconfig" |
70 | |
71 | src_prepare() { |
72 | epatch "${FILESDIR}"/${PN}-0.12.6-gcc44.patch |
73 | epatch "${FILESDIR}"/download_constructor.diff |
74 | elibtoolize |
75 | } |
76 | |
77 | src_configure() { |
78 | # the configure check for posix_fallocate is wrong. |
79 | # reported upstream as Ticket 2416. |
80 | local myconf |
81 | echo "int main(){return posix_fallocate();}" > "${T}"/posix_fallocate.c |
82 | if $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${T}"/posix_fallocate.c -o /dev/null 2>/dev/null ; then |
83 | myconf="--with-posix-fallocate" |
84 | else |
85 | myconf="--without-posix-fallocate" |
86 | fi |
87 | |
88 | econf \ |
89 | --disable-dependency-tracking \ |
90 | --enable-aligned \ |
91 | $(use_enable debug) \ |
92 | $(use_enable ipv6) \ |
93 | $(use_enable ssl openssl) \ |
94 | ${myconf} |
95 | } |
96 | |
97 | src_install() { |
98 | emake DESTDIR="${D}" install || die |
99 | dodoc AUTHORS NEWS README |
100 | } |