summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-09-18 22:13:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-09-18 22:13:58 (GMT)
commit698d5855134c0d2b9f6ebaf26b4e828bc3083a7a (patch)
tree1571f830fe7654b114083c3b65457e19db9b9da0 /abs/core
parentc03f6a2c2122bd033aa4070112a6458a3dec750f (diff)
downloadlinhes_pkgbuild-698d5855134c0d2b9f6ebaf26b4e828bc3083a7a.zip
linhes_pkgbuild-698d5855134c0d2b9f6ebaf26b4e828bc3083a7a.tar.gz
linhes_pkgbuild-698d5855134c0d2b9f6ebaf26b4e828bc3083a7a.tar.bz2
supplemental-web: add favicon.ico
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/supplemental-web/PKGBUILD45
-rw-r--r--abs/core/supplemental-web/contents/alt_index.html4
-rw-r--r--abs/core/supplemental-web/contents/favicon.icobin0 -> 1150 bytes
3 files changed, 11 insertions, 38 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index fa46e23..c24ebb8 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,75 +1,46 @@
pkgbase=supplemental-web
pkgname=('supplemental-web' 'supplemental-web-slave')
pkgver=8.0
-pkgrel=6
+pkgrel=8
arch=('i686' 'x86_64')
backup=('extra.cfg.txt')
source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh slaveserve.py supplemental_slave.rules supplemental_web.rules )
-build(){
- cd $startdir/src
-}
-
-#
-# build() {
-# cd $startdir/src
-# mkdir -p $MVDIR/etc
-# install -m755 -D lighttpd-supplement.conf $pkgdir/etc/gen_light_conf.d/lighttpd-supplement.conf
-# install -m755 -D wakeonlan.sh $MVDIR/bin/wakeonlan.sh
-# # install -m755 -D backend_control.sh $MVDIR/bin/backend_control.sh
-# mkdir -p $startdir/pkg/data/srv/httpd/htdocs/
-# cp -rp $startdir/contents/* $startdir/pkg/data/srv/httpd/htdocs
-# chmod -R 755 $startdir/pkg/data/srv/httpd/htdocs
-# cd $startdir
-# mkdir -p $startdir/pkg/data/srv/httpd/
-# cp -rp cgi $startdir/pkg/data/srv/httpd/
-# cd $startdir/src
-# install -m755 -D extra.cfg.txt $pkgdir/data/srv/httpd/cgi/extra.cfg.txt
-# }
-
package_supplemental-web() {
pkgdesc="supplemental-web package for master backend"
depends=('wol' 'etherwake' 'lighttpd' 'php' 'fcgi' 'python2' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'LinHES-system>=2-50' 'shellinabox')
install=supplemental-web.install
- cd $startdir/src
MVDIR=$pkgdir/usr/MythVantage
- mkdir -p $MVDIR/etc
install -m755 -D lighttpd-supplement.conf $pkgdir/etc/gen_light_conf.d/lighttpd-supplement.conf
install -m755 -D wakeonlan.sh $MVDIR/bin/wakeonlan.sh
# install -m755 -D backend_control.sh $MVDIR/bin/backend_control.sh
mkdir -p $pkgdir/data/srv/httpd/htdocs/
cp -rp $startdir/contents/* $pkgdir/data/srv/httpd/htdocs
chmod -R 755 $pkgdir/data/srv/httpd/htdocs
- cd $startdir
mkdir -p $pkgdir/data/srv/httpd/
- cp -rp cgi $pkgdir/data/srv/httpd/
- cd $startdir/src
- install -m755 -D extra.cfg.txt $pkgdir/data/srv/httpd/cgi/extra.cfg.txt
+ cp -rp $startdir/cgi $pkgdir/data/srv/httpd/
+ install -m755 -D $srcdir/extra.cfg.txt $pkgdir/data/srv/httpd/cgi/extra.cfg.txt
#sudo rules
- install -D -m400 $startdir/src/supplemental_web.rules $pkgdir/etc/sudoers.d/supplemental_web
+ install -D -m400 $srcdir/supplemental_web.rules $pkgdir/etc/sudoers.d/supplemental_web
chmod 750 $pkgdir/etc/sudoers.d
-
- }
+}
package_supplemental-web-slave() {
pkgdesc="supplemental-web package for slave backend"
depends=('python2' 'func' 'python_aosd' 'LinHES-system>=2-50')
conflicts="supplemental-web"
- cd $startdir
mkdir -p $pkgdir/data/srv/httpd/
- cp -rp cgi $pkgdir/data/srv/httpd/
+ cp -rp $startdir/cgi $pkgdir/data/srv/httpd/
chown -R root:root $pkgdir/data/srv/httpd/
chmod -R 755 $pkgdir/data/srv/httpd/
install -m755 -D $srcdir/slaveserve.py $pkgdir/data/srv/httpd/cgi/slaveserve.py
#sudo rules
- install -D -m400 $startdir/src/supplemental_slave.rules $pkgdir/etc/sudoers.d/supplemental_slave
+ install -D -m400 $srcdir/supplemental_slave.rules $pkgdir/etc/sudoers.d/supplemental_slave
chmod 750 $pkgdir/etc/sudoers.d
-
-
- }
+}
md5sums=('a2497205c92ad5b3aa565574afbf7f80'
'3d8c7b430c1319d706ca420825918d2a'
diff --git a/abs/core/supplemental-web/contents/alt_index.html b/abs/core/supplemental-web/contents/alt_index.html
index 7a0f3d2..1168c4a 100644
--- a/abs/core/supplemental-web/contents/alt_index.html
+++ b/abs/core/supplemental-web/contents/alt_index.html
@@ -1,6 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
- <head><title>LinHES: The Linux Home Entertainment System</title>
+ <head>
+ <link rel="shortcut icon" href="/favicon.ico">
+ <title>LinHES: The Linux Home Entertainment System</title>
</head>
<frameset cols="205, 100%" frameborder="no" border="0" bordercolor="#000000">
<frame src="header.html" scrolling=no name="menuframe" />
diff --git a/abs/core/supplemental-web/contents/favicon.ico b/abs/core/supplemental-web/contents/favicon.ico
new file mode 100644
index 0000000..6a99443
--- /dev/null
+++ b/abs/core/supplemental-web/contents/favicon.ico
Binary files differ