diff options
author | James Meyer <james.meyer@operamail.com> | 2012-05-12 22:08:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-05-12 22:08:35 (GMT) |
commit | 02002703ea2b6a378f2160adfc56b6dc9627991b (patch) | |
tree | 2384d0265d153874e2d258ecba29d2b8333d244a /abs/core/supplemental-web | |
parent | de75425bb04ae1a0b3e4f58baf53d23785dd1287 (diff) | |
download | linhes_pkgbuild-02002703ea2b6a378f2160adfc56b6dc9627991b.zip linhes_pkgbuild-02002703ea2b6a378f2160adfc56b6dc9627991b.tar.gz linhes_pkgbuild-02002703ea2b6a378f2160adfc56b6dc9627991b.tar.bz2 |
supplemental-web: clean up header, and during install make it the default webpage
Diffstat (limited to 'abs/core/supplemental-web')
-rw-r--r-- | abs/core/supplemental-web/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/alt_index.html (renamed from abs/core/supplemental-web/contents/index.htm) | 0 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/docs.html | 4 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/error/call_log.html | 11 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/error/mythexport.html | 11 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/header.html | 6 | ||||
-rw-r--r-- | abs/core/supplemental-web/contents/links.html | 9 | ||||
-rw-r--r-- | abs/core/supplemental-web/lighttpd-supplement.conf | 7 | ||||
-rw-r--r-- | abs/core/supplemental-web/supplemental-web.install | 4 |
9 files changed, 44 insertions, 14 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD index 40b1f7b..a756347 100644 --- a/abs/core/supplemental-web/PKGBUILD +++ b/abs/core/supplemental-web/PKGBUILD @@ -1,12 +1,12 @@ pkgname=supplemental-web pkgver=1.0 -pkgrel=16 +pkgrel=17 arch=('i686') MVDIR=$startdir/pkg/usr/MythVantage install=supplemental-web.install backup=('extra.cfg.txt') source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh backend_control.sh) -depends=('lighttpd' 'php' 'fcgi' 'python' 'xymonserver' 'certmaster' 'func' 'python_aosd' ) +depends=('lighttpd' 'php' 'fcgi' 'python' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'LinHES-system>=2-50') @@ -32,7 +32,7 @@ build() { } -md5sums=('2a9d042467220fd1f74f5b12730c2e06' +md5sums=('30aa4235aff78c77d544f930f3d92b62' '3d8c7b430c1319d706ca420825918d2a' '81cdb6ee6804fa36366c6e259a80e7b4' 'f37e10ef9fc84b384b9a2d41f82ef744') diff --git a/abs/core/supplemental-web/contents/index.htm b/abs/core/supplemental-web/contents/alt_index.html index faf09fb..faf09fb 100644 --- a/abs/core/supplemental-web/contents/index.htm +++ b/abs/core/supplemental-web/contents/alt_index.html diff --git a/abs/core/supplemental-web/contents/docs.html b/abs/core/supplemental-web/contents/docs.html index 4a5e64a..21ba2dd 100644 --- a/abs/core/supplemental-web/contents/docs.html +++ b/abs/core/supplemental-web/contents/docs.html @@ -34,16 +34,12 @@ Starting and stopping services. Other Random notes <br> <ul id="navlist"> - <li>The root password is blank. You will not be able to remotely access this account until the password is set.</li> <li>To keep a host from showing up in the network map, add it to: /data/srv/hobbit/server/ext/ignoreclient.py </li> <li>remove "func" from bb-hosts to stop hobbit from running a func check on it </li> <li>if /tmp/nomfe is present then mythfrontend will not restart </li> - <li>if /tmp/debug is present then mythfrontend and mythbackend will run with gdb. Debug packages will need to be installed for this to be useful </li> - <li>create_master.sh will copy the contents of the cdrive to a "Gold" image for network/diskless installation. Dhcp server must be enabled for netboot to work, please turn off any other dhcp servers on your network. </li> - <li>On the misc screen the nfsmap section will accept entries pointing to different servers. For instance 192.168.1.5:nfsmap will pull the nfsmap file from the ip 192.168.1.5 (hostnames may also be used) </li> <li>adding pkg names to /etc/pkgname.blacklist will stop MythVantage from autoinstalling a package.</li> </div> <br> diff --git a/abs/core/supplemental-web/contents/error/call_log.html b/abs/core/supplemental-web/contents/error/call_log.html new file mode 100644 index 0000000..3f05f21 --- /dev/null +++ b/abs/core/supplemental-web/contents/error/call_log.html @@ -0,0 +1,11 @@ +<html> +<head> +<style type="text/css">@import "/frame.css";</style> +</head> + +<body> +Call logging is not enabled, or no calls logs +</br> +To enable logging of incoming phone calls please visit the advanced section of the service menu +</body> +</html> diff --git a/abs/core/supplemental-web/contents/error/mythexport.html b/abs/core/supplemental-web/contents/error/mythexport.html new file mode 100644 index 0000000..88966c6 --- /dev/null +++ b/abs/core/supplemental-web/contents/error/mythexport.html @@ -0,0 +1,11 @@ +<html> +<head> +<style type="text/css">@import "/frame.css";</style> +</head> + +<body> +MythExport does not appear to be installed. +</br> + +</body> +</html> diff --git a/abs/core/supplemental-web/contents/header.html b/abs/core/supplemental-web/contents/header.html index e476799..1e69c1c 100644 --- a/abs/core/supplemental-web/contents/header.html +++ b/abs/core/supplemental-web/contents/header.html @@ -27,8 +27,10 @@ function r() <!-- <li><a href="webcal/" >Calendar</a></li> -->
<li><a onClick=r() >Myth Backend Status</a></li>
<li><a href="mythweb/" >MythWeb</a></li>
- <li><a href="phpMyAdmin/" >phpMyAdmin</a></li>
- </ul>
+ <li><a href="mythexport/setup.cgi" >MythExport</a></li>
+
+ <li><a href="/calllog.shtml" >Phone call log</a> </li>
+</ul>
</div>
</body>
</html>
diff --git a/abs/core/supplemental-web/contents/links.html b/abs/core/supplemental-web/contents/links.html index a44fefc..cfc7311 100644 --- a/abs/core/supplemental-web/contents/links.html +++ b/abs/core/supplemental-web/contents/links.html @@ -20,9 +20,12 @@ Other Links <li><a href="/calllog.shtml" >Phone call log</a> </li> <!-- <li><a href="/mvpmc.shtml" >Media MVP setup</a> (dhcp server must be enabled) </li> --> <li><a href="http://www.linhes.org" >linhes.org </a>Bugtracker</li> - <li><a href="http://linhes.org/bugs/projects/linhes/wiki" >Wiki </a></li> - <li><a href="http://mysettopbox.tv/phpBB2/" >Online User Forums</a></li> - <li><a href="http://www.mythtv.com" >mythtv.com</a></li> + <li><a href="http://linhes.org/wiki" >Wiki </a></li> + <li><a href="http://forums.linhes.org" >Online User Forums</a></li> + <li><a href="http://www.mythtv.org" >mythtv.org</a></li> + <li><a href="http://smolt.mythtv.org" >mythtv smolt server</a></li> + + </ul> </div> diff --git a/abs/core/supplemental-web/lighttpd-supplement.conf b/abs/core/supplemental-web/lighttpd-supplement.conf index 7b214bb..24e1b4a 100644 --- a/abs/core/supplemental-web/lighttpd-supplement.conf +++ b/abs/core/supplemental-web/lighttpd-supplement.conf @@ -13,6 +13,13 @@ $HTTP["url"] =~ "(xymon)" { server.error-handler-404 = "/error/hobbit.html" } +$HTTP["url"] =~ "(mythexport)" { +server.error-handler-404 = "/error/mythexport.html" +} + +$HTTP["url"] =~ "(call_log)" { +server.error-handler-404 = "/error/call_log.html" +} ## error-handler for status 404 #server.error-handler-404 = "/error-handler.html" server.errorfile-prefix = "/data/srv/httpd/htdocs/error/status-" diff --git a/abs/core/supplemental-web/supplemental-web.install b/abs/core/supplemental-web/supplemental-web.install index 252a8e0..7dc0214 100644 --- a/abs/core/supplemental-web/supplemental-web.install +++ b/abs/core/supplemental-web/supplemental-web.install @@ -20,8 +20,7 @@ post_install() { echo "==> Forcing a re-read of lighttpd's configuration file." echo "" /sbin/sv hup /service/lighttpd - - + /usr/LH/bin/switch_web.sh supplemental } # arg 1: the new package version @@ -60,6 +59,7 @@ post_remove() { /sbin/sv hup /service/lighttpd + /usr/LH/bin/switch_web.sh local } op=$1 |