aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mythtv
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-18 21:11:29 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-18 21:12:18 +0200
commit78f4e57aa4343c339e5bcb5c06a326970d4a1bee (patch)
tree8a1b580a162285f2cd9ec780cc25a12d1200dc9f /recipes/mythtv
parent28ba6611077bb6f2f723cb0fed1903d0a6b2dc93 (diff)
downloadopenembedded-78f4e57aa4343c339e5bcb5c06a326970d4a1bee.tar.gz
mythplugins: added sed script to enable lighty modules
and therefore add a DEPENDS on sed Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mythtv')
-rw-r--r--recipes/mythtv/mythplugins_0.23+fixes.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes/mythtv/mythplugins_0.23+fixes.bb b/recipes/mythtv/mythplugins_0.23+fixes.bb
index 201eb30a43..0ce6784ade 100644
--- a/recipes/mythtv/mythplugins_0.23+fixes.bb
+++ b/recipes/mythtv/mythplugins_0.23+fixes.bb
@@ -13,7 +13,7 @@ RDEPENDS_mythweb-apache = "apache2"
DEPENDS_mythweb-lighttpd = "mythweb"
RDEPENDS_mythweb-lighttpd = "lighttpd lighttpd-module-cgi lighttpd-module-fastcgi \
- lighttpd-module-rewrite php-cgi lighttpd-module-auth"
+ lighttpd-module-rewrite php-cgi lighttpd-module-auth sed"
RDEPENDS_mythnetvision += " python python-mysqldb "
@@ -26,7 +26,7 @@ DEPENDS += " libxml-xpath-perl-native libxml-simple-perl-native libdatetime-form
RDEPENDS_mythweather += " libxml-xpath-perl libxml-simple-perl libdatetime-format-iso8601-perl \
libsoap-lite-perl libimage-size-perl libdate-manip-perl "
-PR = "svnr${SRCPV}+r4"
+PR = "svnr${SRCPV}+r5"
PV = "0.23"
SRCREV = "25609"
@@ -90,6 +90,11 @@ pkg_postinst_mythweb-lighttpd () {
chmod g+rw /var/www/pages
grep mythweb.conf /etc/lighttpd.conf || \
echo "include \"mythweb.conf\"" >>/etc/lighttpd.conf
+ sed -i 's:#\( *mod_cgi\):\1:' /etc/lighttpd.conf
+ sed -i 's:#\( *mod_fastcgi\):\1:' /etc/lighttpd.conf
+ sed -i 's:#\( *mod_rewrite\):\1:' /etc/lighttpd.conf
+ sed -i 's:#\( *mod_auth\):\1:' /etc/lighttpd.conf
+ sed -i 's:/var/run/lighttpd/mythtv-php-fcgi.socket:/var/run/mythtv-php-fcgi.socket:' /etc/mythweb.conf
}
PACKAGES =+ " \