1 |
commit: 7da16c6b164802d16e6795f3d23a6d2102f46805 |
2 |
Author: Henning Schild <henning <AT> hennsch <DOT> de> |
3 |
AuthorDate: Sun Aug 6 13:33:11 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 10 08:44:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da16c6b |
7 |
|
8 |
www-apps/rutorrent: version bump to 3.8 |
9 |
|
10 |
taken from |
11 |
https://github.com/doctaweeks/junkdrawer-overlay |
12 |
with slight modification |
13 |
|
14 |
Closes: https://bugs.gentoo.org/490786 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/5322 |
16 |
|
17 |
www-apps/rutorrent/Manifest | 1 + |
18 |
www-apps/rutorrent/rutorrent-3.8.ebuild | 55 +++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 56 insertions(+) |
20 |
|
21 |
diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest |
22 |
index b96362e1632..0dbb3fc3577 100644 |
23 |
--- a/www-apps/rutorrent/Manifest |
24 |
+++ b/www-apps/rutorrent/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST plugins-3.4.tar.gz 674444 BLAKE2B ccbd132c5868684b3c25357d85e6aaa27b3e871730b6b64a1fe4dec765a9548be282a1aa98a39efc6b63df0fe1ebcf01ef7b74ea1ca293a636813684f8887406 SHA512 85d9ada4bd07cd50fdf88f4ae1a1bc682b6e54d5600356be73481094111cc21fad6fb2acac4b854ba815f986b3859caf824bc55c5bbac68872db8920e0c5fd9f |
27 |
DIST rutorrent-3.4.tar.gz 241253 BLAKE2B 7ff5423b36cd9a237b9cb656f65696948f31c1978460d4c17874a5fab6e7f1adf6bf7f5e1f165936913f79350aa6de81dffd929d0c7f406c7f125d36f2f0db43 SHA512 2fee5dd21e0d63fa9059c96ad3e8d09f3ce556adbfd1cb148224af998edcdb82c2fe05cb56daac0cdb8c3d50346536611d019fddb1833b06fa2ebc30cd884a0a |
28 |
+DIST rutorrent-3.8.tar.gz 1241643 BLAKE2B c432e8691d35447cd0698eee8edeee4060238dc39cc8cbb178c1169f166fa1d483493181ce0d2f468106ae01dd0f58d4fbb2f334de393fabb2b0aa73363e2b7f SHA512 ea3dfa74234a1eafcbc9e71d6c6d953a46fdf8e189237b8df0ec58cf46ac30404f7a15bb783ec7567ab6f28daa3987ee219039dd360e3c48d16aea244263c9b6 |
29 |
|
30 |
diff --git a/www-apps/rutorrent/rutorrent-3.8.ebuild b/www-apps/rutorrent/rutorrent-3.8.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..06d1d6b36e7 |
33 |
--- /dev/null |
34 |
+++ b/www-apps/rutorrent/rutorrent-3.8.ebuild |
35 |
@@ -0,0 +1,55 @@ |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+inherit webapp |
42 |
+ |
43 |
+DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent" |
44 |
+HOMEPAGE="https://github.com/Novik/ruTorrent" |
45 |
+SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
49 |
+IUSE="" |
50 |
+ |
51 |
+need_httpd_cgi |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ || ( dev-lang/php[xml,gd] dev-lang/php[xml,gd-external] ) |
55 |
+" |
56 |
+RDEPEND="virtual/httpd-php" |
57 |
+ |
58 |
+S="${WORKDIR}/ruTorrent-${PV}" |
59 |
+ |
60 |
+pkg_setup() { |
61 |
+ webapp_pkg_setup |
62 |
+} |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ find -name '\.gitignore' -type f -exec rm -rf {} \; |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ webapp_src_preinst |
71 |
+ |
72 |
+ insinto "${MY_HTDOCSDIR}" |
73 |
+ doins -r . |
74 |
+ |
75 |
+ chmod +x "${ED}${MY_HTDOCSDIR}"/plugins/*/*.sh \ |
76 |
+ "$ED${MY_HTDOCSDIR}"/php/test.sh || die "chmod failed" |
77 |
+ |
78 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/share |
79 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/share/settings |
80 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/share/torrents |
81 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/share/users |
82 |
+ |
83 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf/.htaccess |
84 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf/config.php |
85 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf/access.ini |
86 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf/plugins.ini |
87 |
+ webapp_configfile "${MY_HTDOCSDIR}"/share/.htaccess |
88 |
+ |
89 |
+ webapp_src_install |
90 |
+} |