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