1 |
commit: 08b836511eee4fe7150dd47990536b6edb424c72 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 7 19:16:42 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 7 19:16:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b83651 |
7 |
|
8 |
net-p2p/transmission: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.1_p6 |
11 |
|
12 |
net-p2p/transmission/Manifest | 1 - |
13 |
net-p2p/transmission/transmission-2.84-r5.ebuild | 168 ----------------------- |
14 |
net-p2p/transmission/transmission-2.90-r1.ebuild | 158 --------------------- |
15 |
3 files changed, 327 deletions(-) |
16 |
|
17 |
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest |
18 |
index a367870d..11ea7ea 100644 |
19 |
--- a/net-p2p/transmission/Manifest |
20 |
+++ b/net-p2p/transmission/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342 |
23 |
-DIST transmission-2.90.tar.xz 3377720 SHA256 69ff8caf81684155926f437f46bf7df1b1fb304f52c7809f546257e8923f2fd2 SHA512 09c8e90cb1c7b508e3956d294ba9b5f01b4093c9f934c76d7515e96915c657b97f02819e1365dbbfecbdf489ae5757346d8bb2dd8e0070c304af434006495fda WHIRLPOOL a51a86603ddf208c73b6e86a05eda2d90636407c7c716fb959fa460a72908aafe2d82f46c1fe3d7afda52ba845d73924d0f26f107a2446644809f7cfd5985275 |
24 |
DIST transmission-2.92.tar.xz 3378116 SHA256 3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11 WHIRLPOOL a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f |
25 |
|
26 |
diff --git a/net-p2p/transmission/transmission-2.84-r5.ebuild b/net-p2p/transmission/transmission-2.84-r5.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0844fa8..00000000 |
29 |
--- a/net-p2p/transmission/transmission-2.84-r5.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,168 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=5 |
37 |
-inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user |
38 |
- |
39 |
-DESCRIPTION="A Fast, Easy and Free BitTorrent client" |
40 |
-HOMEPAGE="http://www.transmissionbt.com/" |
41 |
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" |
42 |
- |
43 |
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest |
44 |
-# transmission in licenses/ is for mentioning OpenSSL linking exception |
45 |
-# MIT is in several libtransmission/ headers |
46 |
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" |
47 |
-SLOT=0 |
48 |
-IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs" |
49 |
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" |
50 |
- |
51 |
-RDEPEND=">=dev-libs/libevent-2.0.10:= |
52 |
- !libressl? ( dev-libs/openssl:0= ) |
53 |
- libressl? ( dev-libs/libressl ) |
54 |
- net-libs/libnatpmp:= |
55 |
- >=net-libs/miniupnpc-1.7:= |
56 |
- >=net-misc/curl-7.16.3:=[ssl] |
57 |
- sys-libs/zlib:= |
58 |
- gtk? ( |
59 |
- >=dev-libs/dbus-glib-0.100:= |
60 |
- >=dev-libs/glib-2.32:2= |
61 |
- >=x11-libs/gtk+-3.4:3= |
62 |
- ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) |
63 |
- ) |
64 |
- systemd? ( sys-apps/systemd:= ) |
65 |
- qt4? ( |
66 |
- dev-qt/qtcore:4 |
67 |
- dev-qt/qtgui:4 |
68 |
- dev-qt/qtdbus:4 |
69 |
- ) |
70 |
- qt5? ( |
71 |
- dev-qt/qtcore:5 |
72 |
- dev-qt/qtdbus:5 |
73 |
- dev-qt/qtgui:5 |
74 |
- dev-qt/qtnetwork:5 |
75 |
- dev-qt/qtwidgets:5 |
76 |
- )" |
77 |
-DEPEND="${RDEPEND} |
78 |
- >=dev-libs/glib-2.32 |
79 |
- dev-util/intltool |
80 |
- sys-devel/gettext |
81 |
- virtual/os-headers |
82 |
- virtual/pkgconfig |
83 |
- qt5? ( dev-qt/linguist-tools:5 ) |
84 |
- xfs? ( sys-fs/xfsprogs )" |
85 |
- |
86 |
-REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )" |
87 |
- |
88 |
-DOCS="AUTHORS NEWS qt/README.txt" |
89 |
- |
90 |
-pkg_setup() { |
91 |
- enewgroup ${PN} |
92 |
- enewuser ${PN} -1 -1 -1 ${PN} |
93 |
-} |
94 |
- |
95 |
-src_prepare() { |
96 |
- sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die |
97 |
- # Trick to avoid automagic dependency |
98 |
- use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } |
99 |
- # Pass our configuration dir to systemd unit file |
100 |
- sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${PN}-daemon.service || die |
101 |
- # http://trac.transmissionbt.com/ticket/4324 |
102 |
- sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die |
103 |
- # Fix for broken translations path |
104 |
- epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch |
105 |
- # http://trac.transmissionbt.com/ticket/5700 |
106 |
- sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die |
107 |
- |
108 |
- epatch "${FILESDIR}/2.84-miniupnp14.patch" |
109 |
- epatch "${FILESDIR}/2.84-libevent-2.1.5.patch" |
110 |
- epatch "${FILESDIR}/2.84-node_alloc-segfault.patch" |
111 |
- |
112 |
- epatch_user |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
-src_configure() { |
117 |
- export ac_cv_header_xfs_xfs_h=$(usex xfs) |
118 |
- |
119 |
- econf \ |
120 |
- --enable-external-natpmp \ |
121 |
- $(use_enable lightweight) \ |
122 |
- $(use_with systemd systemd-daemon) \ |
123 |
- $(use_with gtk) |
124 |
- |
125 |
- if use qt4 || use qt5; then |
126 |
- pushd qt >/dev/null || die |
127 |
- use qt4 && eqmake4 qtr.pro |
128 |
- use qt5 && eqmake5 qtr.pro |
129 |
- popd >/dev/null || die |
130 |
- fi |
131 |
-} |
132 |
- |
133 |
-src_compile() { |
134 |
- emake |
135 |
- |
136 |
- if use qt4 || use qt5; then |
137 |
- local qt_bindir |
138 |
- use qt4 && qt_bindir=$(qt4_get_bindir) |
139 |
- use qt5 && qt_bindir=$(qt5_get_bindir) |
140 |
- emake -C qt |
141 |
- "${qt_bindir}"/lrelease qt/translations/*.ts || die |
142 |
- fi |
143 |
-} |
144 |
- |
145 |
-src_install() { |
146 |
- default |
147 |
- |
148 |
- rm -f "${ED}"/usr/share/${PN}/web/LICENSE |
149 |
- |
150 |
- newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon |
151 |
- newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon |
152 |
- systemd_dounit daemon/${PN}-daemon.service |
153 |
- |
154 |
- keepdir /var/{lib/${PN}/{config,downloads},log/${PN}} |
155 |
- fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}} |
156 |
- |
157 |
- if use qt4 || use qt5; then |
158 |
- pushd qt >/dev/null || die |
159 |
- emake INSTALL_ROOT="${ED}"/usr install |
160 |
- |
161 |
- domenu ${PN}-qt.desktop |
162 |
- |
163 |
- local res |
164 |
- for res in 16 22 24 32 48 64 72 96 128 192 256; do |
165 |
- doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png |
166 |
- done |
167 |
- doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg |
168 |
- |
169 |
- use qt4 && insinto /usr/share/qt4/translations |
170 |
- use qt5 && insinto /usr/share/qt5/translations |
171 |
- doins translations/*.qm |
172 |
- popd >/dev/null || die |
173 |
- fi |
174 |
-} |
175 |
- |
176 |
-pkg_preinst() { |
177 |
- gnome2_icon_savelist |
178 |
-} |
179 |
- |
180 |
-pkg_postinst() { |
181 |
- fdo-mime_desktop_database_update |
182 |
- gnome2_icon_cache_update |
183 |
- |
184 |
- elog "If you use ${PN}-daemon, please, set 'rpc-username' and" |
185 |
- elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" |
186 |
- elog "start) in settings.json file located at /var/lib/${PN}/config or" |
187 |
- elog "any other appropriate config directory." |
188 |
- elog |
189 |
- elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" |
190 |
- elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" |
191 |
- elog " net.core.rmem_max = 4194304" |
192 |
- elog " net.core.wmem_max = 1048576" |
193 |
- elog "and run sysctl -p" |
194 |
-} |
195 |
- |
196 |
-pkg_postrm() { |
197 |
- fdo-mime_desktop_database_update |
198 |
- gnome2_icon_cache_update |
199 |
-} |
200 |
|
201 |
diff --git a/net-p2p/transmission/transmission-2.90-r1.ebuild b/net-p2p/transmission/transmission-2.90-r1.ebuild |
202 |
deleted file mode 100644 |
203 |
index 96c12ef..00000000 |
204 |
--- a/net-p2p/transmission/transmission-2.90-r1.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,158 +0,0 @@ |
207 |
-# Copyright 1999-2016 Gentoo Foundation |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
-# $Id$ |
210 |
- |
211 |
-EAPI=6 |
212 |
-inherit autotools fdo-mime gnome2-utils qmake-utils systemd user |
213 |
- |
214 |
-DESCRIPTION="A Fast, Easy and Free BitTorrent client" |
215 |
-HOMEPAGE="http://www.transmissionbt.com/" |
216 |
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" |
217 |
- |
218 |
-# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest |
219 |
-# transmission in licenses/ is for mentioning OpenSSL linking exception |
220 |
-# MIT is in several libtransmission/ headers |
221 |
-LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" |
222 |
-SLOT=0 |
223 |
-IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs" |
224 |
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" |
225 |
- |
226 |
-RDEPEND=">=dev-libs/libevent-2.0.10:= |
227 |
- !libressl? ( dev-libs/openssl:0= ) |
228 |
- libressl? ( dev-libs/libressl ) |
229 |
- net-libs/libnatpmp:= |
230 |
- >=net-libs/miniupnpc-1.7:= |
231 |
- >=net-misc/curl-7.16.3:=[ssl] |
232 |
- sys-libs/zlib:= |
233 |
- gtk? ( |
234 |
- >=dev-libs/dbus-glib-0.100:= |
235 |
- >=dev-libs/glib-2.32:2= |
236 |
- >=x11-libs/gtk+-3.4:3= |
237 |
- ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) |
238 |
- ) |
239 |
- systemd? ( sys-apps/systemd:= ) |
240 |
- qt4? ( |
241 |
- dev-qt/qtcore:4 |
242 |
- dev-qt/qtgui:4 |
243 |
- dev-qt/qtdbus:4 |
244 |
- ) |
245 |
- qt5? ( |
246 |
- dev-qt/qtcore:5 |
247 |
- dev-qt/qtdbus:5 |
248 |
- dev-qt/qtgui:5 |
249 |
- dev-qt/qtnetwork:5 |
250 |
- dev-qt/qtwidgets:5 |
251 |
- )" |
252 |
-DEPEND="${RDEPEND} |
253 |
- >=dev-libs/glib-2.32 |
254 |
- dev-util/intltool |
255 |
- sys-devel/gettext |
256 |
- virtual/os-headers |
257 |
- virtual/pkgconfig |
258 |
- qt5? ( dev-qt/linguist-tools:5 ) |
259 |
- xfs? ( sys-fs/xfsprogs )" |
260 |
- |
261 |
-REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )" |
262 |
- |
263 |
-DOCS="AUTHORS NEWS qt/README.txt" |
264 |
- |
265 |
-src_prepare() { |
266 |
- sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die |
267 |
- |
268 |
- # Trick to avoid automagic dependency |
269 |
- use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } |
270 |
- |
271 |
- # Pass our configuration dir to systemd unit file |
272 |
- sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/transmission-daemon.service || die |
273 |
- |
274 |
- # http://trac.transmissionbt.com/ticket/4324 |
275 |
- sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die |
276 |
- |
277 |
- eapply_user |
278 |
- eautoreconf |
279 |
-} |
280 |
- |
281 |
-src_configure() { |
282 |
- export ac_cv_header_xfs_xfs_h=$(usex xfs) |
283 |
- |
284 |
- econf \ |
285 |
- --enable-external-natpmp \ |
286 |
- $(use_enable lightweight) \ |
287 |
- $(use_with systemd systemd-daemon) \ |
288 |
- $(use_with gtk) |
289 |
- |
290 |
- if use qt4 || use qt5; then |
291 |
- pushd qt >/dev/null || die |
292 |
- use qt4 && eqmake4 qtr.pro |
293 |
- use qt5 && eqmake5 qtr.pro |
294 |
- popd >/dev/null || die |
295 |
- fi |
296 |
-} |
297 |
- |
298 |
-src_compile() { |
299 |
- emake |
300 |
- |
301 |
- if use qt4 || use qt5; then |
302 |
- local qt_bindir |
303 |
- use qt4 && qt_bindir=$(qt4_get_bindir) |
304 |
- use qt5 && qt_bindir=$(qt5_get_bindir) |
305 |
- emake -C qt |
306 |
- "${qt_bindir}"/lrelease qt/translations/*.ts || die |
307 |
- fi |
308 |
-} |
309 |
- |
310 |
-src_install() { |
311 |
- default |
312 |
- |
313 |
- rm "${ED}"/usr/share/transmission/web/LICENSE || die |
314 |
- |
315 |
- newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon |
316 |
- newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon |
317 |
- systemd_dounit daemon/transmission-daemon.service |
318 |
- |
319 |
- if use qt4 || use qt5; then |
320 |
- pushd qt >/dev/null || die |
321 |
- emake INSTALL_ROOT="${ED}"/usr install |
322 |
- |
323 |
- domenu transmission-qt.desktop |
324 |
- |
325 |
- local res |
326 |
- for res in 16 22 24 32 48 64 72 96 128 192 256; do |
327 |
- doicon -s ${res} icons/hicolor/${res}x${res}/transmission-qt.png |
328 |
- done |
329 |
- doicon -s scalable icons/hicolor/scalable/transmission-qt.svg |
330 |
- |
331 |
- use qt4 && insinto /usr/share/qt4/translations |
332 |
- use qt5 && insinto /usr/share/qt5/translations |
333 |
- doins translations/*.qm |
334 |
- popd >/dev/null || die |
335 |
- fi |
336 |
-} |
337 |
- |
338 |
-pkg_preinst() { |
339 |
- gnome2_icon_savelist |
340 |
-} |
341 |
- |
342 |
-pkg_postinst() { |
343 |
- fdo-mime_desktop_database_update |
344 |
- gnome2_icon_cache_update |
345 |
- |
346 |
- enewgroup transmission |
347 |
- enewuser transmission -1 -1 -1 transmission |
348 |
- |
349 |
- elog "If you use transmission-daemon, please, set 'rpc-username' and" |
350 |
- elog "'rpc-password' (in plain text, transmission-daemon will hash it on" |
351 |
- elog "start) in settings.json file located at /var/lib/transmission/config or" |
352 |
- elog "any other appropriate config directory." |
353 |
- elog |
354 |
- elog "Since µTP is enabled by default, transmission needs large kernel buffers for" |
355 |
- elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" |
356 |
- elog " net.core.rmem_max = 4194304" |
357 |
- elog " net.core.wmem_max = 1048576" |
358 |
- elog "and run sysctl -p" |
359 |
-} |
360 |
- |
361 |
-pkg_postrm() { |
362 |
- fdo-mime_desktop_database_update |
363 |
- gnome2_icon_cache_update |
364 |
-} |