Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/mythweb/
Date: Sat, 22 Jul 2017 00:23:36
Message-Id: 1500681715.56c273948eaa8df3671c4473fc567461d825fb5f.asturm@gentoo
1 commit: 56c273948eaa8df3671c4473fc567461d825fb5f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 23:00:57 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 22 00:01:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c27394
7
8 www-apps/mythweb: 0.28.1 version bump
9
10 Drop BACKPORTS and related epatch hack
11 Sort RDEPEND
12
13 Reported-by: Andreas Steinmetz <ast <AT> domdv.de>
14 Gentoo-bug: 609000
15
16 Package-Manager: Portage-2.3.6, Repoman-2.3.1
17
18 www-apps/mythweb/Manifest | 1 +
19 www-apps/mythweb/mythweb-0.28.1.ebuild | 79 ++++++++++++++++++++++++++++++++++
20 2 files changed, 80 insertions(+)
21
22 diff --git a/www-apps/mythweb/Manifest b/www-apps/mythweb/Manifest
23 index 4d933027105..4d40219da90 100644
24 --- a/www-apps/mythweb/Manifest
25 +++ b/www-apps/mythweb/Manifest
26 @@ -1,2 +1,3 @@
27 DIST mythweb-0.27.5.tar.gz 1686597 SHA256 5dc3fd9e60f59dea4264fb064b40d73f2534c99d0399da6223a42d2f563e9d13 SHA512 effa5f9cab6b40423a819f0307aecd1faa397da7d859503162b6229e5da2d4cd0d95d793326768335518cd397fa58ba71ad98c14247feda10e7930f7e023f1af WHIRLPOOL 8721398611db0572f475f5642c397a5d3f0fbe352f0f3ea23dc21cc0ea94e0e6876a713cf0f99331c6fc1f585a62525dc64510737a85667c0e2a14b6f1c6bb10
28 +DIST mythweb-0.28.1.tar.gz 1705490 SHA256 bbd82992230d3571eba55a26a91cc3f2dcddfa631d1822ce58e1bf99f2537244 SHA512 0ce9e2c7138d35ef59859a8a8980b01d90d9b616e55653fb28dd5a473199446508e525171687383ce83051b434f5e7618f509a9e75cd84296446ee450733e963 WHIRLPOOL b36f3226a9984d4c7ea383e1344ddb630b06972fd3170cdcbd0521f9bad3b7acf24f94c7e7099812f8fe5eeea17ab115a36a38ea0b07617998011c7f7c545e00
29 DIST mythweb-0.28.tar.gz 1705475 SHA256 92253f4eb11331da64cff50926fbced3477d244c201675c177be4f5838cd4ed7 SHA512 58887f6d3823f137b252cf546ada134ebafa3e0142240ba9474868300add7ab00ee39f8cd0d56e91be0571837bea7110e8b3cca38a8a1a47b055d76dccf2a3fe WHIRLPOOL f130933ea6a5c20fa67668eb830cb094be9449ce4f21ff45041055cd91fda11be3752482ce04d066e90cfba9af97c741d4c67368900e4887bd7e726a22fe4540
30
31 diff --git a/www-apps/mythweb/mythweb-0.28.1.ebuild b/www-apps/mythweb/mythweb-0.28.1.ebuild
32 new file mode 100644
33 index 00000000000..5243d2658ba
34 --- /dev/null
35 +++ b/www-apps/mythweb/mythweb-0.28.1.ebuild
36 @@ -0,0 +1,79 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +inherit eutils webapp
43 +
44 +# Release version
45 +MY_PV="${PV%_p*}"
46 +MY_P="mythweb-${MY_PV}"
47 +
48 +DESCRIPTION="PHP scripts intended to manage MythTV from a web browser"
49 +HOMEPAGE="https://www.mythtv.org"
50 +SRC_URI="https://github.com/MythTV/mythweb/archive/v${MY_PV}.tar.gz -> mythweb-${MY_PV}.tar.gz"
51 +
52 +LICENSE="GPL-2"
53 +KEYWORDS="~amd64 ~ppc ~x86"
54 +IUSE=""
55 +
56 +RDEPEND="
57 + dev-lang/php:*[json,mysql,session,posix]
58 + dev-perl/DBD-mysql
59 + dev-perl/DBI
60 + dev-perl/HTTP-Date
61 + dev-perl/Net-UPnP
62 + virtual/httpd-php:*
63 +"
64 +DEPEND="${RDEPEND}"
65 +
66 +need_httpd_cgi
67 +
68 +S="${WORKDIR}/${MY_P}"
69 +
70 +src_configure() {
71 + :
72 +}
73 +
74 +src_compile() {
75 + :
76 +}
77 +
78 +src_install() {
79 + webapp_src_preinst
80 +
81 + # Install docs
82 + cd "${S}"
83 + dodoc README INSTALL
84 +
85 + # Install htdocs files
86 + insinto "${MY_HTDOCSDIR}"
87 + doins mythweb.php
88 + doins -r classes
89 + doins -r configuration
90 + doins -r data
91 + doins -r includes
92 + doins -r js
93 + doins -r modules
94 + doins -r skins
95 + doins -r tests
96 + exeinto "${MY_HTDOCSDIR}"
97 + doexe mythweb.pl
98 +
99 + # Install our server config files
100 + webapp_server_configfile apache mythweb.conf.apache mythweb.conf
101 + webapp_server_configfile lighttpd mythweb.conf.lighttpd mythweb.conf
102 + webapp_server_configfile nginx "${FILESDIR}"/mythweb.conf.nginx \
103 + mythweb.include
104 +
105 + # Data needs to be writable and modifiable by the web server
106 + webapp_serverowned -R "${MY_HTDOCSDIR}"/data
107 +
108 + # Message to display after install
109 + webapp_postinst_txt en "${FILESDIR}"/0.25-postinstall-en.txt
110 +
111 + # Script to set the correct defaults on install
112 + webapp_hook_script "${FILESDIR}"/reconfig
113 +
114 + webapp_src_install
115 +}