Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent: rtorrent-0.9.4-r1.ebuild ChangeLog
Date: Tue, 01 Jul 2014 19:31:49
Message-Id: 20140701193143.EC0452004E@flycatcher.gentoo.org
1 pacho 14/07/01 19:31:42
2
3 Modified: ChangeLog
4 Added: rtorrent-0.9.4-r1.ebuild
5 Log:
6 Add unit file (#513296 by Michael Cook)
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.186 net-p2p/rtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.186&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.186&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?r1=1.185&r2=1.186
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v
20 retrieving revision 1.185
21 retrieving revision 1.186
22 diff -u -r1.185 -r1.186
23 --- ChangeLog 29 Jun 2014 16:06:24 -0000 1.185
24 +++ ChangeLog 1 Jul 2014 19:31:42 -0000 1.186
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-p2p/rtorrent
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.185 2014/06/29 16:06:24 vostorga Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.186 2014/07/01 19:31:42 pacho Exp $
30 +
31 +*rtorrent-0.9.4-r1 (01 Jul 2014)
32 +
33 + 01 Jul 2014; Pacho Ramos <pacho@g.o> +files/rtorrentd_at.service,
34 + +rtorrent-0.9.4-r1.ebuild:
35 + Add unit file (#513296 by Michael Cook)
36
37 *rtorrent-0.9.4 (29 Jun 2014)
38
39
40
41
42 1.1 net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rtorrent-0.9.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 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.9.4-r1.ebuild,v 1.1 2014/07/01 19:31:42 pacho Exp $
52
53 EAPI=5
54
55 inherit eutils systemd
56
57 DESCRIPTION="BitTorrent Client using libtorrent"
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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
64 IUSE="daemon debug ipv6 selinux test xmlrpc"
65
66 COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
67 >=dev-libs/libsigc++-2.2.2:2
68 >=net-misc/curl-7.19.1
69 sys-libs/ncurses
70 selinux? ( sec-policy/selinux-rtorrent )
71 xmlrpc? ( dev-libs/xmlrpc-c )"
72 RDEPEND="${COMMON_DEPEND}
73 daemon? ( app-misc/screen )"
74 DEPEND="${COMMON_DEPEND}
75 test? ( dev-util/cppunit )
76 virtual/pkgconfig"
77
78 DOCS=( doc/rtorrent.rc )
79
80 src_prepare() {
81 # bug #358271
82 epatch "${FILESDIR}"/${PN}-0.9.1-ncurses.patch
83
84 # upstream forgot to include
85 cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die
86 }
87
88 src_configure() {
89 # configure needs bash or script bombs out on some null shift, bug #291229
90 CONFIG_SHELL=${BASH} econf \
91 --disable-dependency-tracking \
92 $(use_enable debug) \
93 $(use_enable ipv6) \
94 $(use_with xmlrpc xmlrpc-c)
95 }
96
97 src_install() {
98 default
99 doman doc/rtorrent.1
100
101 if use daemon; then
102 newinitd "${FILESDIR}/rtorrentd.init" rtorrentd
103 newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd
104 systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service"
105 fi
106 }