From: | "Peter Alfredsen (loki_val)" <loki_val@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent: ChangeLog libtorrent-0.12.2-r4.ebuild |
Date: | Tue, 26 Aug 2008 21:17:22 |
Message-Id: | E1KY5ue-0000hk-0P@stork.gentoo.org |
1 | loki_val 08/08/26 21:17:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libtorrent-0.12.2-r4.ebuild |
5 | Log: |
6 | Fixes an interoperability issue in the get_peers handling, now it behaves according to the clarified BEP-0005. Also fixes a minor issue of not being able to generate error packets. Patch by Josef Drexler. |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.123 net-libs/libtorrent/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.123&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.123&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.122&r2=1.123 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v |
19 | retrieving revision 1.122 |
20 | retrieving revision 1.123 |
21 | diff -u -r1.122 -r1.123 |
22 | --- ChangeLog 25 Aug 2008 20:19:48 -0000 1.122 |
23 | +++ ChangeLog 26 Aug 2008 21:17:15 -0000 1.123 |
24 | @@ -1,6 +1,15 @@ |
25 | # ChangeLog for net-libs/libtorrent |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.122 2008/08/25 20:19:48 jer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.123 2008/08/26 21:17:15 loki_val Exp $ |
29 | + |
30 | +*libtorrent-0.12.2-r4 (26 Aug 2008) |
31 | + |
32 | + 26 Aug 2008; Peter Alfredsen <loki_val@g.o> |
33 | + +files/libtorrent-0.12.2-fix_dht-get_peers.patch, |
34 | + +libtorrent-0.12.2-r4.ebuild: |
35 | + Fixes an interoperability issue in the get_peers handling, now it behaves |
36 | + according to the clarified BEP-0005. Also fixes a minor issue of not being |
37 | + able to generate error packets. Patch by Josef Drexler. |
38 | |
39 | 25 Aug 2008; Jeroen Roovers <jer@g.o> libtorrent-0.12.2-r3.ebuild: |
40 | Stable for HPPA (bug #233122). |
41 | |
42 | |
43 | |
44 | 1.1 net-libs/libtorrent/libtorrent-0.12.2-r4.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r4.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r4.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: libtorrent-0.12.2-r4.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2008 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r4.ebuild,v 1.1 2008/08/26 21:17:15 loki_val Exp $ |
54 | |
55 | inherit autotools eutils toolchain-funcs flag-o-matic libtool |
56 | |
57 | DESCRIPTION="LibTorrent is a 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 | SLOT="0" |
61 | LICENSE="GPL-2" |
62 | KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 | |
64 | IUSE="debug ipv6" |
65 | |
66 | RDEPEND=">=dev-libs/libsigc++-2" |
67 | DEPEND="${RDEPEND} |
68 | dev-util/pkgconfig" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | cd "${S}" |
73 | epatch "${FILESDIR}"/${PN}-0.11.9+gcc-4.3.patch |
74 | epatch "${FILESDIR}"/${P}-dht_bounds_fix.patch |
75 | epatch "${FILESDIR}"/${P}-fix_cull.patch |
76 | epatch "${FILESDIR}"/${P}-fix_dht_target.patch |
77 | epatch "${FILESDIR}"/${P}-fix_have_timer.patch |
78 | epatch "${FILESDIR}"/${P}-fix_pex_leak.patch |
79 | epatch "${FILESDIR}"/${P}-fix_write_datagram.patch |
80 | epatch "${FILESDIR}"/${P}-lt-ver.patch |
81 | epatch "${FILESDIR}"/${P}-tracker_timer_fix.patch |
82 | epatch "${FILESDIR}"/${P}-fix_dht-get_peers.patch |
83 | |
84 | elibtoolize #Don't remove |
85 | eautoreconf |
86 | } |
87 | |
88 | src_compile() { |
89 | replace-flags -Os -O2 |
90 | |
91 | if [[ $(tc-arch) = "x86" ]]; then |
92 | filter-flags -fomit-frame-pointer -fforce-addr |
93 | fi |
94 | |
95 | econf \ |
96 | $(use_enable debug) \ |
97 | $(use_enable ipv6) \ |
98 | --enable-aligned \ |
99 | --enable-static \ |
100 | --enable-shared \ |
101 | --disable-dependency-tracking \ |
102 | || die "econf failed" |
103 | |
104 | emake || die "emake failed" |
105 | } |
106 | |
107 | src_install() { |
108 | emake DESTDIR="${D}" install || die "make install failed" |
109 | dodoc AUTHORS NEWS README |
110 | } |