Gentoo Archives: gentoo-commits

From: "Richard Freeman (rich0)" <rich0@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/mythweb: ChangeLog mythweb-0.27.1.ebuild
Date: Sun, 01 Jun 2014 12:10:47
Message-Id: 20140601121041.A518E2004E@flycatcher.gentoo.org
1 rich0 14/06/01 12:10:41
2
3 Modified: ChangeLog
4 Added: mythweb-0.27.1.ebuild
5 Log:
6 bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
9
10 Revision Changes Path
11 1.102 www-apps/mythweb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mythweb/ChangeLog?rev=1.102&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mythweb/ChangeLog?rev=1.102&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mythweb/ChangeLog?r1=1.101&r2=1.102
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v
20 retrieving revision 1.101
21 retrieving revision 1.102
22 diff -u -r1.101 -r1.102
23 --- ChangeLog 3 Oct 2013 18:21:01 -0000 1.101
24 +++ ChangeLog 1 Jun 2014 12:10:41 -0000 1.102
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-apps/mythweb
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.101 2013/10/03 18:21:01 rich0 Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.102 2014/06/01 12:10:41 rich0 Exp $
31 +
32 +*mythweb-0.27.1 (01 Jun 2014)
33 +
34 + 01 Jun 2014; Richard Freeman <rich0@g.o> +mythweb-0.27.1.ebuild:
35 + bump
36
37 *mythweb-0.27 (03 Oct 2013)
38
39
40
41
42 1.1 www-apps/mythweb/mythweb-0.27.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mythweb/mythweb-0.27.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mythweb/mythweb-0.27.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mythweb-0.27.1.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/www-apps/mythweb/mythweb-0.27.1.ebuild,v 1.1 2014/06/01 12:10:41 rich0 Exp $
52
53 EAPI=4
54
55 inherit eutils webapp
56
57 #BACKPORTS="4f6ac2a60b"
58 # Release version
59 MY_PV="${PV%_p*}"
60 MY_P="mythweb-${MY_PV}"
61
62 DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
63 HOMEPAGE="http://www.mythtv.org"
64 LICENSE="GPL-2"
65 SRC_URI="https://github.com/MythTV/mythweb/archive/v${MY_PV}.tar.gz -> mythweb-${MY_PV}.tar.gz
66 ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
67 IUSE=""
68 KEYWORDS="~amd64 ~ppc ~x86"
69
70 RDEPEND="dev-lang/php[json,mysql,session,posix]
71 virtual/httpd-php
72 dev-perl/DBI
73 dev-perl/DBD-mysql
74 dev-perl/HTTP-Date
75 dev-perl/Net-UPnP"
76
77 DEPEND="${RDEPEND}"
78
79 need_httpd_cgi
80
81 S="${WORKDIR}/${MY_P}"
82
83 src_prepare() {
84 cd "${S}"/../
85
86 [[ -n ${BACKPORTS} ]] && \
87 EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \
88 epatch
89
90 epatch_user
91 }
92
93 src_configure() {
94 :
95 }
96
97 src_compile() {
98 :
99 }
100
101 src_install() {
102 webapp_src_preinst
103
104 # Install docs
105 cd "${S}"
106 dodoc README INSTALL
107
108 # Install htdocs files
109 insinto "${MY_HTDOCSDIR}"
110 doins mythweb.php
111 doins -r classes
112 doins -r configuration
113 doins -r data
114 doins -r includes
115 doins -r js
116 doins -r modules
117 doins -r skins
118 doins -r tests
119 exeinto "${MY_HTDOCSDIR}"
120 doexe mythweb.pl
121
122 # Install our server config files
123 webapp_server_configfile apache mythweb.conf.apache mythweb.conf
124 webapp_server_configfile lighttpd mythweb.conf.lighttpd mythweb.conf
125 webapp_server_configfile nginx "${FILESDIR}"/mythweb.conf.nginx \
126 mythweb.include
127
128 # Data needs to be writable and modifiable by the web server
129 webapp_serverowned -R "${MY_HTDOCSDIR}"/data
130
131 # Message to display after install
132 webapp_postinst_txt en "${FILESDIR}"/0.25-postinstall-en.txt
133
134 # Script to set the correct defaults on install
135 webapp_hook_script "${FILESDIR}"/reconfig
136
137 webapp_src_install
138 }