Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/, net-p2p/rtorrent/
Date: Fri, 10 Aug 2018 09:02:30
Message-Id: 1533891676.fc0ccfb9a6015e5eaf040f695224b39b1358f76a.perfinion@gentoo
1 commit: fc0ccfb9a6015e5eaf040f695224b39b1358f76a
2 Author: Stephen Shkardoon <ss23 <AT> ss23 <DOT> geek <DOT> nz>
3 AuthorDate: Fri Aug 10 08:44:19 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 10 09:01:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0ccfb9
7
8 net-p2p/rtorrent: remove old version 0.9.6.*
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-p2p/rtorrent/Manifest | 1 -
13 .../rtorrent/files/rtorrent-0.9.1-ncurses.patch | 10 ----
14 net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch | 37 -------------
15 .../files/rtorrent-0.9.6-cppunit-pkgconfig.patch | 28 ----------
16 net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 63 ----------------------
17 net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 62 ---------------------
18 6 files changed, 201 deletions(-)
19
20 diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest
21 index 180ca6b41a6..b7c90d413c5 100644
22 --- a/net-p2p/rtorrent/Manifest
23 +++ b/net-p2p/rtorrent/Manifest
24 @@ -1,2 +1 @@
25 -DIST rtorrent-0.9.6.tar.gz 610845 BLAKE2B 4a4faccffe79e7d877e3be9a9b16edcea87f1969ee2689f7789ebd738a19a5a41f5eae3b33c5b874b5c31ad8e872baa88374fae2047dbc76d4f1c0bc6d7ecbd4 SHA512 704f7b79d5bc78b817da21a6886662a5a97fde210a110c50f708bdc18e1dcf3ef5c5f4e2740261d41221cfc69c19926bf34e10057adf10601da9e6e06b2cef75
26 DIST rtorrent-0.9.7.tar.gz 610149 BLAKE2B 3f1316b0142dade9662630ad40132c5968d7b0ded32d7ae13d1ec1fdb7fec794812203fece367bf6abfd02212ed94d308046d40eb3e7562c408e8da13b23c23d SHA512 e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00
27
28 diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch b/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch
29 deleted file mode 100644
30 index 260cd9a3842..00000000000
31 --- a/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch
32 +++ /dev/null
33 @@ -1,10 +0,0 @@
34 ---- src/display/canvas.h
35 -+++ src/display/canvas.h
36 -@@ -48,5 +48,5 @@ class Canvas {
37 - public:
38 - typedef std::vector<Attributes> attributes_list;
39 -
40 -- Canvas(int x = 0, int y = 0, int width = 0, int height = 0);
41 -+ Canvas(int x = 0, int y = 0, int width = 1, int height = 1);
42 - ~Canvas() { delwin(m_window); }
43 - void refresh() { wnoutrefresh(m_window); }
44
45 diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch b/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch
46 deleted file mode 100644
47 index 21ee708782b..00000000000
48 --- a/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch
49 +++ /dev/null
50 @@ -1,37 +0,0 @@
51 -bug 462788
52 -
53 - configure.ac | 18 ++++++++++++------
54 - 1 file changed, 12 insertions(+), 6 deletions(-)
55 -
56 -diff --git a/configure.ac b/configure.ac
57 -index 430c15d..50ce687 100644
58 ---- a/configure.ac
59 -+++ b/configure.ac
60 -@@ -31,15 +31,21 @@ TORRENT_WITHOUT_STATVFS()
61 - TORRENT_WITHOUT_STATFS()
62 -
63 - AX_PTHREAD([], AC_MSG_ERROR([requires pthread]))
64 --AX_WITH_CURSES()
65 --
66 --if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
67 -- AC_MSG_ERROR([requires either NcursesW or Ncurses library])
68 --fi
69 -+PKG_CHECK_MODULES([CURSES],[ncursesw],[
70 -+ AC_DEFINE(HAVE_NCURSESW_CURSES_H, 1)
71 -+ ],
72 -+ [PKG_CHECK_MODULES([CURSES],[ncurses],[
73 -+ AC_DEFINE(HAVE_NCURSES_H, 1)
74 -+ ],
75 -+ [AX_WITH_CURSES()
76 -+ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
77 -+ AC_MSG_ERROR([requires either NcursesW or Ncurses library])
78 -+ fi])
79 -+ ])
80 -
81 - CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS"
82 - CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS"
83 --LIBS="$PTHREAD_LIBS $CURSES_LIB $LIBS"
84 -+LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $LIBS"
85 -
86 - PKG_CHECK_MODULES([libcurl], libcurl >= 7.15.4,
87 - CXXFLAGS="$CXXFLAGS $libcurl_CFLAGS";
88
89 diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch b/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch
90 deleted file mode 100644
91 index 753f4cb8a7f..00000000000
92 --- a/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch
93 +++ /dev/null
94 @@ -1,28 +0,0 @@
95 -https://bugs.gentoo.org/620908
96 -
97 -diff -ur a/configure.ac b/configure.ac
98 ---- a/configure.ac 2017-08-17 08:52:49.596897308 -0500
99 -+++ b/configure.ac 2017-08-17 08:54:57.171515415 -0500
100 -@@ -4,7 +4,6 @@
101 -
102 - AM_INIT_AUTOMAKE
103 - AC_CONFIG_HEADERS(config.h)
104 --AM_PATH_CPPUNIT(1.9.6)
105 -
106 - AC_PROG_CXX
107 - AC_PROG_LIBTOOL
108 -@@ -43,9 +42,11 @@
109 - fi])
110 - ])
111 -
112 --CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS"
113 --CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS"
114 --LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $LIBS"
115 -+PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"])
116 -+
117 -+CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS"
118 -+CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS"
119 -+LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $CPPUNIT_LIBS $LIBS"
120 -
121 - PKG_CHECK_MODULES([libcurl], libcurl >= 7.15.4,
122 - CXXFLAGS="$CXXFLAGS $libcurl_CFLAGS";
123
124 diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild
125 deleted file mode 100644
126 index 1067098b666..00000000000
127 --- a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild
128 +++ /dev/null
129 @@ -1,63 +0,0 @@
130 -# Copyright 1999-2017 Gentoo Foundation
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=5
134 -
135 -inherit autotools eutils systemd
136 -
137 -DESCRIPTION="BitTorrent Client using libtorrent"
138 -HOMEPAGE="https://rakshasa.github.io/rtorrent/"
139 -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz"
140 -
141 -LICENSE="GPL-2"
142 -SLOT="0"
143 -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"
144 -IUSE="daemon debug ipv6 selinux test xmlrpc"
145 -
146 -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
147 - >=dev-libs/libsigc++-2.2.2:2
148 - >=net-misc/curl-7.19.1
149 - sys-libs/ncurses:0=
150 - xmlrpc? ( dev-libs/xmlrpc-c )"
151 -RDEPEND="${COMMON_DEPEND}
152 - daemon? ( app-misc/screen )
153 - selinux? ( sec-policy/selinux-rtorrent )
154 -"
155 -DEPEND="${COMMON_DEPEND}
156 - dev-util/cppunit
157 - virtual/pkgconfig"
158 -
159 -DOCS=( doc/rtorrent.rc )
160 -
161 -src_prepare() {
162 - # bug #358271
163 - epatch \
164 - "${FILESDIR}"/${PN}-0.9.1-ncurses.patch \
165 - "${FILESDIR}"/${PN}-0.9.4-tinfo.patch \
166 - "${FILESDIR}"/${PN}-0.9.6-cppunit-pkgconfig.patch
167 -
168 - # https://github.com/rakshasa/rtorrent/issues/332
169 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die
170 -
171 - eautoreconf
172 -}
173 -
174 -src_configure() {
175 - # configure needs bash or script bombs out on some null shift, bug #291229
176 - CONFIG_SHELL=${BASH} econf \
177 - --disable-dependency-tracking \
178 - $(use_enable debug) \
179 - $(use_enable ipv6) \
180 - $(use_with xmlrpc xmlrpc-c)
181 -}
182 -
183 -src_install() {
184 - default
185 - doman doc/rtorrent.1
186 -
187 - if use daemon; then
188 - newinitd "${FILESDIR}/rtorrentd.init" rtorrentd
189 - newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd
190 - systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service"
191 - fi
192 -}
193
194 diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild
195 deleted file mode 100644
196 index 6de316711cb..00000000000
197 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild
198 +++ /dev/null
199 @@ -1,62 +0,0 @@
200 -# Copyright 1999-2017 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=5
204 -
205 -inherit autotools eutils systemd
206 -
207 -DESCRIPTION="BitTorrent Client using libtorrent"
208 -HOMEPAGE="https://rakshasa.github.io/rtorrent/"
209 -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz"
210 -
211 -LICENSE="GPL-2"
212 -SLOT="0"
213 -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"
214 -IUSE="daemon debug ipv6 selinux test xmlrpc"
215 -
216 -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
217 - >=dev-libs/libsigc++-2.2.2:2
218 - >=net-misc/curl-7.19.1
219 - sys-libs/ncurses:0=
220 - xmlrpc? ( dev-libs/xmlrpc-c )"
221 -RDEPEND="${COMMON_DEPEND}
222 - daemon? ( app-misc/screen )
223 - selinux? ( sec-policy/selinux-rtorrent )
224 -"
225 -DEPEND="${COMMON_DEPEND}
226 - dev-util/cppunit
227 - virtual/pkgconfig"
228 -
229 -DOCS=( doc/rtorrent.rc )
230 -
231 -src_prepare() {
232 - # bug #358271
233 - epatch \
234 - "${FILESDIR}"/${PN}-0.9.1-ncurses.patch \
235 - "${FILESDIR}"/${PN}-0.9.4-tinfo.patch
236 -
237 - # https://github.com/rakshasa/rtorrent/issues/332
238 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die
239 -
240 - eautoreconf
241 -}
242 -
243 -src_configure() {
244 - # configure needs bash or script bombs out on some null shift, bug #291229
245 - CONFIG_SHELL=${BASH} econf \
246 - --disable-dependency-tracking \
247 - $(use_enable debug) \
248 - $(use_enable ipv6) \
249 - $(use_with xmlrpc xmlrpc-c)
250 -}
251 -
252 -src_install() {
253 - default
254 - doman doc/rtorrent.1
255 -
256 - if use daemon; then
257 - newinitd "${FILESDIR}/rtorrentd.init" rtorrentd
258 - newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd
259 - systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service"
260 - fi
261 -}