summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-22 15:56:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-22 15:56:19 (GMT)
commitcd795551be430c3d398b0b80e3d9c91820aaed61 (patch)
tree772aba1d2c98b82e54ce84c275e790a203f37054 /abs/core/supplemental-web/PKGBUILD
parent5489ad014713fbbd42f3b577b29e21b2cd0585fa (diff)
downloadlinhes_pkgbuild-cd795551be430c3d398b0b80e3d9c91820aaed61.zip
linhes_pkgbuild-cd795551be430c3d398b0b80e3d9c91820aaed61.tar.gz
linhes_pkgbuild-cd795551be430c3d398b0b80e3d9c91820aaed61.tar.bz2
supplemental_web: fix wakeonlan.sh to account for the change in mac address location in xymon, also added etherwake.
Diffstat (limited to 'abs/core/supplemental-web/PKGBUILD')
-rw-r--r--abs/core/supplemental-web/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index f582cc1..d3f82d7 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,11 +1,11 @@
pkgbase=supplemental-web
pkgname=('supplemental-web' 'supplemental-web-slave')
pkgver=1.0
-pkgrel=33
+pkgrel=36
arch=('i686' 'x86_64')
backup=('extra.cfg.txt')
-source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh slaveserve.py supplemental_slave.rules )
+source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh slaveserve.py supplemental_slave.rules supplemental_web.rules )
build(){
cd $startdir/src
@@ -30,11 +30,11 @@ build(){
package_supplemental-web() {
pkgdesc="supplemental-web package for master backend"
- depends=('lighttpd' 'php' 'fcgi' 'python2' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'LinHES-system>=2-50')
+ depends=('wol' 'etherwake' 'lighttpd' 'php' 'fcgi' 'python2' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'LinHES-system>=2-50')
install=supplemental-web.install
cd $startdir/src
- MVDIR=$pkgdir/pkg/usr/MythVantage
+ 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
@@ -47,6 +47,10 @@ package_supplemental-web() {
cp -rp cgi $pkgdir/data/srv/httpd/
cd $startdir/src
install -m755 -D 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
+ chmod 750 $pkgdir/etc/sudoers.d
+
}
package_supplemental-web-slave() {
@@ -72,6 +76,7 @@ package_supplemental-web-slave() {
md5sums=('521714803b5a3df529f0fc5f853c0d55'
'3d8c7b430c1319d706ca420825918d2a'
- '81cdb6ee6804fa36366c6e259a80e7b4'
+ '26598fd1dfaf5d36d7b1f9620da5543c'
'fabf825ca07502db40d78f0aae15f90b'
- 'b41eeb0f0aa67ea06aedff61e53fa774')
+ 'b41eeb0f0aa67ea06aedff61e53fa774'
+ 'c90d7a015783316af2256a37bece62ce')