Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent: ChangeLog rtorrent-0.8.5.ebuild
Date: Thu, 10 Sep 2009 17:56:43
Message-Id: E1Mlnsv-0002pJ-JE@stork.gentoo.org
1 patrick 09/09/10 17:56:41
2
3 Modified: ChangeLog
4 Added: rtorrent-0.8.5.ebuild
5 Log:
6 Bump to 0.8.5, fixes other half of #278660. Thanks to Shark for testing.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.139 net-p2p/rtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.139&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.139&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/ChangeLog?r1=1.138&r2=1.139
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v
19 retrieving revision 1.138
20 retrieving revision 1.139
21 diff -u -r1.138 -r1.139
22 --- ChangeLog 28 Jul 2009 21:52:33 -0000 1.138
23 +++ ChangeLog 10 Sep 2009 17:56:41 -0000 1.139
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-p2p/rtorrent
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.138 2009/07/28 21:52:33 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.139 2009/09/10 17:56:41 patrick Exp $
29 +
30 +*rtorrent-0.8.5 (10 Sep 2009)
31 +
32 + 10 Sep 2009; Patrick Lauer <patrick@g.o> +rtorrent-0.8.5.ebuild:
33 + Bump to 0.8.5, fixes other half of #278660. Thanks to Shark for testing.
34
35 28 Jul 2009; Robin H. Johnson <robbat2@g.o> files/rtorrentd.init:
36 Bug #262046: If used with a non-local NSS source, we need to start after
37
38
39
40 1.1 net-p2p/rtorrent/rtorrent-0.8.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rtorrent-0.8.5.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.5.ebuild,v 1.1 2009/09/10 17:56:41 patrick Exp $
50
51 inherit base eutils toolchain-funcs flag-o-matic
52
53 DESCRIPTION="BitTorrent Client using libtorrent"
54 HOMEPAGE="http://libtorrent.rakshasa.no/"
55 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE="daemon debug ipv6 xmlrpc"
61
62 COMMON_DEPEND=">=net-libs/libtorrent-0.12.${PV##*.}
63 >=dev-libs/libsigc++-2.2.2
64 >=net-misc/curl-7.19.1
65 sys-libs/ncurses
66 xmlrpc? ( dev-libs/xmlrpc-c )"
67 RDEPEND="${COMMON_DEPEND}
68 daemon? ( app-misc/screen )"
69 DEPEND="${COMMON_DEPEND}
70 dev-util/pkgconfig"
71
72 src_compile() {
73 replace-flags -Os -O2
74 append-flags -fno-strict-aliasing
75
76 if [[ $(tc-arch) = "x86" ]]; then
77 filter-flags -fomit-frame-pointer -fforce-addr
78 fi
79
80 econf $(use_enable debug) \
81 $(use_enable ipv6) \
82 $(use_with xmlrpc xmlrpc-c) \
83 --disable-dependency-tracking \
84 || die "econf failed"
85
86 emake || die "emake failed"
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die "make install failed"
91 dodoc AUTHORS README TODO doc/rtorrent.rc
92
93 if use daemon; then
94 newinitd "${FILESDIR}/rtorrentd.init" rtorrentd || die "newinitd failed"
95 newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd || die "newconfd failed"
96 fi
97 }
98
99 pkg_postinst() {
100 elog "rtorrent now supports a configuration file."
101 elog "A sample configuration file for rtorrent can be found"
102 elog "in rtorrent.rc in ${ROOT}usr/share/doc/${PF}/"
103 elog ""
104 ewarn "If you're upgrading from rtorrent <0.8.0, you will have to delete your"
105 ewarn "session directory or run the fixSession080-c.py script from this address:"
106 ewarn "http://rssdler.googlecode.com/files/fixSession080-c.py"
107 ewarn "See http://libtorrent.rakshasa.no/wiki/LibTorrentKnownIssues for more info."
108 }