Gentoo Archives: gentoo-commits

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-r3.ebuild libtorrent-0.12.2-r2.ebuild
Date: Sat, 28 Jun 2008 11:34:28
Message-Id: E1KCYhD-0001wr-0O@stork.gentoo.org
1 loki_val 08/06/28 11:34:23
2
3 Modified: ChangeLog
4 Added: libtorrent-0.12.2-r3.ebuild
5 Removed: libtorrent-0.12.2-r2.ebuild
6 Log:
7 Revision bump to update patchset with newest fixes from Josef Drexler. Also fixes bug #227391
8 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
9
10 Revision Changes Path
11 1.117 net-libs/libtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.117&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.117&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.116&r2=1.117
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v
20 retrieving revision 1.116
21 retrieving revision 1.117
22 diff -u -r1.116 -r1.117
23 --- ChangeLog 5 Jun 2008 06:41:55 -0000 1.116
24 +++ ChangeLog 28 Jun 2008 11:34:22 -0000 1.117
25 @@ -1,6 +1,16 @@
26 # ChangeLog for net-libs/libtorrent
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.116 2008/06/05 06:41:55 loki_val Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.117 2008/06/28 11:34:22 loki_val Exp $
30 +
31 +*libtorrent-0.12.2-r3 (28 Jun 2008)
32 +
33 + 28 Jun 2008; Peter Alfredsen <loki_val@g.o>
34 + +files/libtorrent-0.12.2-fix_have_timer.patch,
35 + +files/libtorrent-0.12.2-fix_pex_leak.patch,
36 + +files/libtorrent-0.12.2-fix_write_datagram.patch,
37 + -libtorrent-0.12.2-r2.ebuild, +libtorrent-0.12.2-r3.ebuild:
38 + Revision bump to update patchset with newest fixes from Josef Drexler.
39 + Also fixes bug #227391
40
41 *libtorrent-0.12.2-r2 (05 Jun 2008)
42
43
44
45
46 1.1 net-libs/libtorrent/libtorrent-0.12.2-r3.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r3.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r3.ebuild?rev=1.1&content-type=text/plain
50
51 Index: libtorrent-0.12.2-r3.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.2-r3.ebuild,v 1.1 2008/06/28 11:34:22 loki_val Exp $
56
57 inherit autotools eutils toolchain-funcs flag-o-matic libtool
58
59 DESCRIPTION="LibTorrent is a BitTorrent library written in C++ for *nix."
60 HOMEPAGE="http://libtorrent.rakshasa.no/"
61 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
62 SLOT="0"
63 LICENSE="GPL-2"
64 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65
66 IUSE="debug ipv6"
67
68 RDEPEND=">=dev-libs/libsigc++-2"
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 epatch "${FILESDIR}"/${PN}-0.11.9+gcc-4.3.patch
76 epatch "${FILESDIR}"/${P}-dht_bounds_fix.patch
77 epatch "${FILESDIR}"/${P}-fix_cull.patch
78 epatch "${FILESDIR}"/${P}-fix_dht_target.patch
79 epatch "${FILESDIR}"/${P}-fix_have_timer.patch
80 epatch "${FILESDIR}"/${P}-fix_pex_leak.patch
81 epatch "${FILESDIR}"/${P}-fix_write_datagram.patch
82 epatch "${FILESDIR}"/${P}-lt-ver.patch
83 epatch "${FILESDIR}"/${P}-tracker_timer_fix.patch
84
85 elibtoolize #Don't remove
86 eautoreconf
87 }
88
89 src_compile() {
90 replace-flags -Os -O2
91
92 if [[ $(tc-arch) = "x86" ]]; then
93 filter-flags -fomit-frame-pointer -fforce-addr
94 fi
95
96 econf \
97 $(use_enable debug) \
98 $(use_enable ipv6) \
99 --enable-aligned \
100 --enable-static \
101 --enable-shared \
102 --disable-dependency-tracking \
103 || die "econf failed"
104
105 emake || die "emake failed"
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "make install failed"
110 dodoc AUTHORS NEWS README
111 }
112
113
114
115 --
116 gentoo-commits@l.g.o mailing list