summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/supplemental-web/PKGBUILD')
-rw-r--r--abs/core/supplemental-web/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index 3fddaf6..dd73d51 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,16 +1,18 @@
pkgbase=supplemental-web
pkgname=('supplemental-web' 'supplemental-web-slave')
pkgver=8.0
-pkgrel=9
+pkgrel=15
arch=('i686' 'x86_64')
-
-backup=('extra.cfg.txt')
+license=('GPL')
+backup=('data/srv/httpd/cgi/extra.cfg.txt')
source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh slaveserve.py supplemental_slave.rules supplemental_web.rules )
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')
+ depends=('wol' 'etherwake' 'lighttpd' 'php' 'fcgi' 'python2' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'shellinabox')
install=supplemental-web.install
+ replaces='local-website'
+ conflicts='local-website'
MVDIR=$pkgdir/usr/MythVantage
install -m755 -D lighttpd-supplement.conf $pkgdir/etc/gen_light_conf.d/lighttpd-supplement.conf
@@ -30,7 +32,7 @@ package_supplemental-web() {
package_supplemental-web-slave() {
pkgdesc="supplemental-web package for slave backend"
depends=('python2' 'func' 'python_aosd' 'LinHES-system>=2-50')
- conflicts="supplemental-web"
+ conflicts=("supplemental-web" "local-website")
mkdir -p $pkgdir/data/srv/httpd/
cp -rp $startdir/cgi $pkgdir/data/srv/httpd/
chown -R root:root $pkgdir/data/srv/httpd/