[oe-commits] Frans Meulenbroeks : mythplugins: added sed script to enable lighty modules

git version control git at git.openembedded.org
Mon Oct 18 19:16:10 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 78f4e57aa4343c339e5bcb5c06a326970d4a1bee
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=78f4e57aa4343c339e5bcb5c06a326970d4a1bee

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Mon Oct 18 21:11:29 2010 +0200

mythplugins: added sed script to enable lighty modules

and therefore add a DEPENDS on sed

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/mythtv/mythplugins_0.23+fixes.bb |    9 +++++++--
 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 201eb30..0ce6784 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 =+ " \





More information about the Openembedded-commits mailing list