From faf0bbde46742848e95a2e001da5e03ef24b834c Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Wed, 6 Jul 2011 01:07:05 -0700
Subject: webmin:bumped to latest.

---
 abs/extra/webmin/PKGBUILD              |  29 +++++++++++++----------------
 abs/extra/webmin/webmin-pacman.tar.bz2 | Bin 924 -> 833 bytes
 2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/abs/extra/webmin/PKGBUILD b/abs/extra/webmin/PKGBUILD
index 1ce083e..713451c 100644
--- a/abs/extra/webmin/PKGBUILD
+++ b/abs/extra/webmin/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 18672 2008-11-08 15:27:08Z tpowa $
+# $Id: PKGBUILD 89523 2010-09-01 14:17:33Z tpowa $
 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
 pkgname=webmin
-pkgver=1.441
+pkgver=1.520
 pkgrel=2
 pkgdesc="a web-based interface for system administration"
 arch=(i686 x86_64)
@@ -86,8 +86,7 @@ install=webmin.install
 source=(http://downloads.sourceforge.net/sourceforge/webadmin/$pkgname-$pkgver.tar.gz 
 	ftp://ftp.archlinux.org/other/webmin/webmin-config.tar.bz2 
 	ftp://ftp.archlinux.org/other/webmin/webmin-pacman.tar.bz2
-	webmin.rc
-	run)
+	webmin.rc) 
 
 build() {
   # NOTE: USE --asroot build option to avoid fakeroot error!
@@ -193,11 +192,8 @@ build() {
   sed -i 's:^pidfile=.*$:pidfile=/var/run/webmin.pid:' $startdir/pkg/etc/webmin/miniserv.conf
   find $startdir/pkg/etc/webmin -type f -exec sed -i "s:$startdir/pkg::g" {} \; 
   
-  # make it only accessible by localhost and private networks
-  echo 'allow=127.0.0.1 192.168. 172.16. 10.' >> $startdir/pkg/etc/webmin/miniserv.conf
-
-  #Let not fork this bad boy.  We need to control it w/ runit.
-  echo 'nofork=1' >> $startdir/pkg/etc/webmin/miniserv.conf
+  # make it only accessible by localhost
+  echo 'allow=127.0.0.1' >> $startdir/pkg/etc/webmin/miniserv.conf
   
   # install pacman menu
   cd $startdir/src/webmin-pacman/config
@@ -208,15 +204,16 @@ build() {
 
   # delete temp dir
   rm -r $startdir/pkg/tmp
+  # change sticky bit
+  chmod 0644 $pkgdir/opt/webmin/man/config-generic-linux
   # install license
   install -m 644 -D $startdir/src/$pkgname-$pkgver/LICENCE $startdir/pkg/usr/share/licenses/webmin/LICENCE
-
-  #runit
-  mkdir -p $startdir/pkg/etc/sv/webmin/supervise
-  install -D -m 755 $startdir/src/run $startdir/pkg/etc/sv/webmin
 }
-md5sums=('b841af1b1a9f78795814ce8211e6ad81'
+md5sums=('4b87fcc5e3881a8aa825ea531e60d8c1'
          'da6bea412a5be8cf82a813078fec5847'
          '4cf1139093ea59044be42a4f173fb8aa'
-         '0673e51af0e81418b4a6c1e205f7e5cd'
-	 'bc578b249e2090deb84119a626c53c48')
+         '0673e51af0e81418b4a6c1e205f7e5cd')
+md5sums=('4b87fcc5e3881a8aa825ea531e60d8c1'
+         'da6bea412a5be8cf82a813078fec5847'
+         'bfebb75bb94029b48c46b7f1ba1aa811'
+         '0673e51af0e81418b4a6c1e205f7e5cd')
diff --git a/abs/extra/webmin/webmin-pacman.tar.bz2 b/abs/extra/webmin/webmin-pacman.tar.bz2
index 548acc2..e8ad9fd 100644
Binary files a/abs/extra/webmin/webmin-pacman.tar.bz2 and b/abs/extra/webmin/webmin-pacman.tar.bz2 differ
-- 
cgit v0.12