summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2011-12-18 04:22:55 +0000
committerRichard Freeman <rich0@gentoo.org>2011-12-18 04:22:55 +0000
commite78b0bcf85a652a3f91355545468698734aba2e6 (patch)
treea48748e8c8751a40eb4f1b2d9a1f9de3d5264192 /www-apps/mythweb
parentIntroduce mythtv 0.24.1 (diff)
downloadgentoo-2-e78b0bcf85a652a3f91355545468698734aba2e6.tar.gz
gentoo-2-e78b0bcf85a652a3f91355545468698734aba2e6.tar.bz2
gentoo-2-e78b0bcf85a652a3f91355545468698734aba2e6.zip
Introduce 0.24.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/mythweb')
-rw-r--r--www-apps/mythweb/ChangeLog8
-rw-r--r--www-apps/mythweb/files/0.24-postinstall-en.txt13
-rw-r--r--www-apps/mythweb/mythweb-0.24_p20110310.ebuild102
3 files changed, 122 insertions, 1 deletions
diff --git a/www-apps/mythweb/ChangeLog b/www-apps/mythweb/ChangeLog
index 942b47f6f74b..a0bebeb2df1d 100644
--- a/www-apps/mythweb/ChangeLog
+++ b/www-apps/mythweb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/mythweb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.87 2011/07/28 21:02:44 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.88 2011/12/18 04:22:54 rich0 Exp $
+
+*mythweb-0.24_p20110310 (18 Dec 2011)
+
+ 18 Dec 2011; Richard Freeman <rich0@gentoo.org>
+ +files/0.24-postinstall-en.txt, +mythweb-0.24_p20110310.ebuild:
+ Introduce 0.24.
28 Jul 2011; Doug Goldstein <cardoe@gentoo.org>
-mythweb-0.22_p22763-r1.ebuild, -mythweb-0.23_p25065.ebuild:
diff --git a/www-apps/mythweb/files/0.24-postinstall-en.txt b/www-apps/mythweb/files/0.24-postinstall-en.txt
new file mode 100644
index 000000000000..acba4515b87a
--- /dev/null
+++ b/www-apps/mythweb/files/0.24-postinstall-en.txt
@@ -0,0 +1,13 @@
+****************************************************
+You probably want to modify
+${MY_SERVERCONFIGDIR}/mythweb.conf.apache
+to fit your needs and create a symlink to it as
+/etc/apache2/modules.d/mythweb.conf
+****************************************************
+In order to prevent unauthorized access to your Myth
+installation, MythWeb can be configured to require
+authentication using htdigest. The apache controls for
+doing this are commented out in mythweb.conf.apache
+by default.
+*****************************************************
+
diff --git a/www-apps/mythweb/mythweb-0.24_p20110310.ebuild b/www-apps/mythweb/mythweb-0.24_p20110310.ebuild
new file mode 100644
index 000000000000..797b2fcba52e
--- /dev/null
+++ b/www-apps/mythweb/mythweb-0.24_p20110310.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.24_p20110310.ebuild,v 1.1 2011/12/18 04:22:54 rich0 Exp $
+
+EAPI=2
+
+MYTHTV_VERSION=""
+MYTHTV_BRANCH="fixes/0.24"
+MYTHTV_REV="d0f3ba16ab2de06b5339f11f07d05f2cc21f74b0"
+MYTHTV_SREV="d0f3ba1"
+
+inherit webapp depend.php versionator
+
+DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-lang/php[json,mysql,session,posix]
+ || ( <dev-lang/php-5.3[spl,pcre] >=dev-lang/php-5.3 )
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/Net-UPnP"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+# Release version
+MY_PV="${PV%_*}"
+
+# what product do we want
+case "${PN}" in
+ mythtv)
+ REPO="mythtv"
+ MY_PN="mythtv"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+ mythtv-bindings)
+ REPO="mythtv"
+ MY_PN="mythtv"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+ mythweb)
+ REPO="mythweb"
+ MY_PN="mythweb"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/"
+ ;;
+ nuvexport)
+ REPO="nuvexport"
+ MY_PN="nuvexport"
+ MYTHTV_REV="$NUVEXPORT_REV"
+ S="${WORKDIR}/MythTV-${REPO}-${NUVEXPORT_SREV}/"
+ ;;
+ *)
+ REPO="mythtv"
+ MY_PN="mythplugins"
+ S="${WORKDIR}/MythTV-${REPO}-${MYTHTV_SREV}/${MY_PN}"
+ ;;
+esac
+
+# _pre is from SVN trunk while _p and _beta are from SVN ${MY_PV}-fixes
+# TODO: probably ought to do something smart if the regex doesn't match anything
+[[ "${PV}" =~ (_alpha|_beta|_pre|_rc|_p)([0-9]+) ]] || {
+ # assume a tagged release
+ MYTHTV_REV="v${PV}"
+}
+
+HOMEPAGE="http://www.mythtv.org"
+LICENSE="GPL-2"
+SRC_URI="https://github.com/MythTV/${REPO}/tarball/${MYTHTV_REV} -> ${REPO}-${PV}.tar.gz"
+
+need_httpd_cgi
+need_php5_httpd
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cd "${S}"
+ dodoc README INSTALL
+
+ dodir "${MY_HTDOCSDIR}"/data
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r [[:lower:]]*
+
+ webapp_configfile "${MY_HTDOCSDIR}"/mythweb.conf.{apache,lighttpd}
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/data
+
+ webapp_postinst_txt en "${FILESDIR}"/0.24-postinstall-en.txt
+
+ webapp_src_install
+
+ fperms 755 /usr/share/webapps/mythweb/${PV}/htdocs/mythweb.pl
+}