summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2013-01-24 00:23:02 +0000
committerRichard Freeman <rich0@gentoo.org>2013-01-24 00:23:02 +0000
commiteb9874807ff551724a94e3827bc1bdc2eab003cc (patch)
tree78d7d26b6b6e6cc40721e05c7197ec16f48ef879 /www-apps
parentold (diff)
downloadgentoo-2-eb9874807ff551724a94e3827bc1bdc2eab003cc.tar.gz
gentoo-2-eb9874807ff551724a94e3827bc1bdc2eab003cc.tar.bz2
gentoo-2-eb9874807ff551724a94e3827bc1bdc2eab003cc.zip
0.26 bump
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mythweb/ChangeLog7
-rw-r--r--www-apps/mythweb/mythweb-0.26.0.ebuild90
2 files changed, 96 insertions, 1 deletions
diff --git a/www-apps/mythweb/ChangeLog b/www-apps/mythweb/ChangeLog
index 8f8e46d71524..759417ffe6b4 100644
--- a/www-apps/mythweb/ChangeLog
+++ b/www-apps/mythweb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/mythweb
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.98 2013/01/02 06:21:41 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.99 2013/01/24 00:23:02 rich0 Exp $
+
+*mythweb-0.26.0 (24 Jan 2013)
+
+ 24 Jan 2013; Richard Freeman <rich0@gentoo.org> +mythweb-0.26.0.ebuild:
+ 0.26 bump
*mythweb-0.25.3 (02 Jan 2013)
diff --git a/www-apps/mythweb/mythweb-0.26.0.ebuild b/www-apps/mythweb/mythweb-0.26.0.ebuild
new file mode 100644
index 000000000000..f2fe4e60b912
--- /dev/null
+++ b/www-apps/mythweb/mythweb-0.26.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.26.0.ebuild,v 1.1 2013/01/24 00:23:02 rich0 Exp $
+
+EAPI=4
+
+inherit eutils webapp
+
+#BACKPORTS="4f6ac2a60b"
+# Release version
+MY_PV="${PV%_p*}"
+MY_P="mythplugins-${MY_PV}"
+
+DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
+HOMEPAGE="http://www.mythtv.org"
+LICENSE="GPL-2"
+SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2
+ ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-lang/php:5.3[json,mysql,session,posix]
+ virtual/httpd-php:5.3
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/HTTP-Date
+ dev-perl/Net-UPnP"
+
+DEPEND="${RDEPEND}"
+
+need_httpd_cgi
+
+S="${WORKDIR}/${MY_P}/${PN}"
+
+src_prepare() {
+ cd "${S}"/../
+
+ [[ -n ${BACKPORTS} ]] && \
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \
+ epatch
+
+ epatch_user
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # Install docs
+ cd "${S}"
+ dodoc README INSTALL
+
+ # Install htdocs files
+ insinto "${MY_HTDOCSDIR}"
+ doins mythweb.php
+ doins -r classes
+ doins -r configuration
+ doins -r data
+ doins -r includes
+ doins -r js
+ doins -r modules
+ doins -r skins
+ doins -r tests
+ exeinto "${MY_HTDOCSDIR}"
+ doexe mythweb.pl
+
+ # Install our server config files
+ webapp_server_configfile apache mythweb.conf.apache mythweb.conf
+ webapp_server_configfile lighttpd mythweb.conf.lighttpd mythweb.conf
+ webapp_server_configfile nginx "${FILESDIR}"/mythweb.conf.nginx \
+ mythweb.include
+
+ # Data needs to be writable and modifiable by the web server
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/data
+
+ # Message to display after install
+ webapp_postinst_txt en "${FILESDIR}"/0.25-postinstall-en.txt
+
+ # Script to set the correct defaults on install
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}