diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-01-27 19:33:19 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-01-27 19:33:19 (GMT) |
commit | 7de30d8ff4b981946a3bdbfae7d1162f39caa15e (patch) | |
tree | 61f1b9f267b9053241e3bc1f1af3d8b8924b5556 /abs/extra/webmin/PKGBUILD | |
parent | f0706652cec2eb979517744d3f07daa00bff2c69 (diff) | |
download | linhes_pkgbuild-7de30d8ff4b981946a3bdbfae7d1162f39caa15e.zip linhes_pkgbuild-7de30d8ff4b981946a3bdbfae7d1162f39caa15e.tar.gz linhes_pkgbuild-7de30d8ff4b981946a3bdbfae7d1162f39caa15e.tar.bz2 |
webmin: update to 1.730
add nofork=1 to miniserv.conf for runit
change some mysql module configs
Diffstat (limited to 'abs/extra/webmin/PKGBUILD')
-rw-r--r-- | abs/extra/webmin/PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/abs/extra/webmin/PKGBUILD b/abs/extra/webmin/PKGBUILD index 5e0da7e..edce250 100644 --- a/abs/extra/webmin/PKGBUILD +++ b/abs/extra/webmin/PKGBUILD @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=webmin -pkgver=1.700 +pkgver=1.730 pkgrel=1 pkgdesc="a web-based interface for system administration" arch=(i686 x86_64) @@ -196,6 +196,15 @@ package() { # make it only accessible by localhost echo 'allow=127.0.0.1 192.168. 172.16. 10.' >> "$pkgdir"/etc/webmin/miniserv.conf + # add don't fork so runit can manage it + echo 'nofork=1' >> "$pkgdir"/etc/webmin/miniserv.conf + + # change mysql start stop cmds + sed -i -e 's:start_cmd=/etc/rc.d/mysqld start:start_cmd=/usr/bin/sv start mysql:g' \ + -e 's:pass=foo:pass=mythtv:g' -e 's:login=root:login=mythtv:g' \ + -e 's:stop_cmd=/etc/rc.d/mysqld stop:stop_cmd=/usr/bin/sv stop mysql:g' \ + "$pkgdir"/etc/webmin/mysql/config + # install pacman menu cd "$srcdir"/webmin-pacman/config cp -rfp * "$pkgdir"/etc/webmin/pacman @@ -210,7 +219,7 @@ package() { # install license install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/webmin/LICENCE } -md5sums=('e5261114a6a6ed10caf570d3239ed5b7' +md5sums=('a54d11c32372b8361da1ad363a2d3ad9' 'b0b3e3fb231a12e60165b6b4d604dcfa' 'bfebb75bb94029b48c46b7f1ba1aa811' 'fc29ecb6a5cd8c278abe054e60381095') |