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-p2p/rtorrent: ChangeLog rtorrent-0.8.2-r5.ebuild
Date: Tue, 26 Aug 2008 21:04:14
Message-Id: E1KY5hz-0000Zn-EX@stork.gentoo.org
1 loki_val 08/08/26 21:04:11
2
3 Modified: ChangeLog
4 Added: rtorrent-0.8.2-r5.ebuild
5 Log:
6 Fix a crash in scgi_local or scgi_port when calling freeaddrinfo with a NULL pointer. Patch by Josef Drexler.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686)
8
9 Revision Changes Path
10 1.118 net-p2p/rtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.118&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.118&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?r1=1.117&r2=1.118
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v
19 retrieving revision 1.117
20 retrieving revision 1.118
21 diff -u -r1.117 -r1.118
22 --- ChangeLog 25 Aug 2008 20:23:23 -0000 1.117
23 +++ ChangeLog 26 Aug 2008 21:04:10 -0000 1.118
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-p2p/rtorrent
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.117 2008/08/25 20:23:23 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.118 2008/08/26 21:04:10 loki_val Exp $
29 +
30 +*rtorrent-0.8.2-r5 (26 Aug 2008)
31 +
32 + 26 Aug 2008; Peter Alfredsen <loki_val@g.o>
33 + +files/rtorrent-0.8.2-fix_scgi_crash.patch, +rtorrent-0.8.2-r5.ebuild:
34 + Fix a crash in scgi_local or scgi_port when calling freeaddrinfo with a
35 + NULL pointer. Patch by Josef Drexler.
36
37 25 Aug 2008; Jeroen Roovers <jer@g.o> rtorrent-0.8.2-r3.ebuild:
38 Stable for HPPA (bug #233122).
39
40
41
42 1.1 net-p2p/rtorrent/rtorrent-0.8.2-r5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.2-r5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.2-r5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rtorrent-0.8.2-r5.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.2-r5.ebuild,v 1.1 2008/08/26 21:04:10 loki_val Exp $
52
53 inherit eutils autotools toolchain-funcs flag-o-matic
54
55 DESCRIPTION="BitTorrent Client using libtorrent"
56 HOMEPAGE="http://libtorrent.rakshasa.no/"
57 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="debug ipv6 xmlrpc"
63
64 DEPEND=">=net-libs/libtorrent-0.12.${PV##*.}
65 >=dev-libs/libsigc++-2
66 >=net-misc/curl-7.18
67 sys-libs/ncurses
68 xmlrpc? ( dev-libs/xmlrpc-c )"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}"/${PN}-0.8.0+gcc-4.3.patch
74 epatch "${FILESDIR}"/${P}-fix_start_stop_filter.patch
75 epatch "${FILESDIR}"/${P}-fix_conn_type_seed.patch
76 epatch "${FILESDIR}"/${P}-fix_load_cache.patch
77 epatch "${FILESDIR}"/${P}-fix_utf8_filenames.patch
78 epatch "${FILESDIR}"/${P}-fix-configure-execinfo.patch
79 epatch "${FILESDIR}"/${P}-gcc34.patch
80 epatch "${FILESDIR}"/${P}-fix_scgi_crash.patch
81 eautoreconf
82 }
83
84 src_compile() {
85 replace-flags -Os -O2
86 append-flags -fno-strict-aliasing
87
88 if [[ $(tc-arch) = "x86" ]]; then
89 filter-flags -fomit-frame-pointer -fforce-addr
90 fi
91
92 econf \
93 $(use_enable debug) \
94 $(use_enable ipv6) \
95 $(use_with xmlrpc xmlrpc-c) \
96 --disable-dependency-tracking \
97 || die "econf failed"
98
99 emake || die "emake failed"
100 }
101
102 pkg_postinst() {
103 elog "rtorrent now supports a configuration file."
104 elog "A sample configuration file for rtorrent can be found"
105 elog "in ${ROOT}usr/share/doc/${PF}/rtorrent.rc.gz."
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "make install failed"
110 dodoc AUTHORS README TODO doc/rtorrent.rc
111 }
112
113 pkg_postinst() {
114 ewarn "If you're upgrading from rtorrent <0.8.0, you will have to delete your"
115 ewarn "session directory or run the fixSession080-c.py script from this address:"
116 ewarn "http://rssdler.googlecode.com/files/fixSession080-c.py"
117 ewarn "See http://libtorrent.rakshasa.no/wiki/LibTorrentKnownIssues for more info."
118 }