Date: Saturday, March 1, 2014 @ 19:15:00 Author: bpiotrowski Revision: 206573
upgpkg: webmin 1.670-1 new upstream release Modified: webmin/trunk/PKGBUILD ----------+ PKGBUILD | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-03-01 18:07:57 UTC (rev 206572) +++ PKGBUILD 2014-03-01 18:15:00 UTC (rev 206573) @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Tobias Powalowski <tp...@archlinux.org> pkgname=webmin -pkgver=1.660 +pkgver=1.670 pkgrel=1 pkgdesc="a web-based interface for system administration" arch=(i686 x86_64) @@ -83,10 +83,10 @@ 'etc/webmin/pserver/config' \ 'etc/webmin/dnsadmin/config' ) 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.service) +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.service) options=(!strip) package() { @@ -93,7 +93,7 @@ # NOTE: USE --asroot build option to avoid fakeroot error! cd "$srcdir"/$pkgname-$pkgver # add patches from webmin.com - #for i in ../*.wbm + #for i in ../*.wbm #do tar xvf $i #done #for i in ../*.wbt @@ -103,13 +103,13 @@ rm -f mount/freebsd-mounts* rm -f mount/openbsd-mounts* rm -f mount/macos-mounts* - + # remove modules we do not support rm -rf {bacula-backup,ldap-useradmin,mon,sentry,frox,jabber,majordomo,qmail,sendmail,sarg,wuftpd,webalizer,inetd,ipsec,pap,pptp-client,pptp-server,shorewall,smart-status,vgetty,heartbeat,cfengine,cpan,sgiexports,hpuxexports,qmailadmin,bsdexports,dfsadmin} - + #remove config files from other distros rm -f $(find . ! -name 'config-generic-linux' ! -name 'config-\*-linux' ! -name 'config-lib.pl' -name 'config-*') - + # remove caldera theme rm -rf caldera @@ -124,27 +124,27 @@ rm -f usermin/{upgrade.cgi,update.cgi,update.pl,edit_upgrade.cgi,install_mod.cgi,delete_mod.cgi,install_theme.cgi} # remove modules add because we don't want files installed without pacman control - rm -f webmin/{install_mod.cgi,delete_mod.cgi} + rm -f webmin/{install_mod.cgi,delete_mod.cgi} # setting perl path (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl - - + # create dirs mkdir -p "$pkgdir"/opt/webmin mkdir -p "$pkgdir"/var/log/webmin mkdir -p "$pkgdir"/etc/webmin - + # install pam stuff install -D -m 644 webmin-pam "$pkgdir"/etc/pam.d/webmin - + # remove other distros and add only Archlinux don't change next line else it will not work! rm os_list.txt echo 'Archlinux Any version generic-linux * -d "/etc/pacman.d"' >> os_list.txt - + # Add rc.conf support to boot and shutdown menu and lock editing of this module cd init/ sed -i -e 's:^local_down=.*:local_down=Archlinux RC.CONF,3,None:g' $(find . ! -name 'config.info.pl' -name 'config.info*') - sed -i -e 's:^local_script=.*:local_script=Archlinux RC.LOCAL,3,None:g' $(find . ! -name 'config.info.pl' -name 'config.info*') + sed -i -e 's:^local_script=.*:local_script=Archlinux RC.LOCAL,3,None:g' $(find . ! -name 'config.info.pl' -name 'config.info*') sed -i -e 's:^index_downscript=.*:index_downscript=Archlinux RC.CONF:g' lang/* sed -i -e 's:^index_script=.*:index_script=Archlinux RC.LOCAL:g' lang/* sed -i -e 's:^noconfig=0:noconfig=1:g' defaultacl @@ -184,18 +184,18 @@ atbootyn=n tempdir="$pkgdir"/tmp export config_dir var_dir perl autoos port tempdir login crypt ssl nochown autothird nouninstall nostart noperlpath atbootyn - + # Fix setup.sh sed -i -e 's:read atbootyn::g' -e 's:exit 13::g' "$pkgdir"/opt/webmin/setup.sh "$pkgdir"/opt/webmin/setup.sh - + # Fixup the config files to use their real locations sed -i 's:^pidfile=.*$:pidfile=/var/run/webmin.pid:' "$pkgdir"/etc/webmin/miniserv.conf - find "$pkgdir"/etc/webmin -type f -exec sed -i "s:$pkgdir::g" {} \; - + find "$pkgdir"/etc/webmin -type f -exec sed -i "s:$pkgdir::g" {} \; + # make it only accessible by localhost echo 'allow=127.0.0.1' >> "$pkgdir"/etc/webmin/miniserv.conf - + # install pacman menu cd "$srcdir"/webmin-pacman/config cp -rfp * "$pkgdir"/etc/webmin/pacman @@ -210,7 +210,7 @@ # install license install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/webmin/LICENCE } -md5sums=('56a685a665b864470eeb7ce6b97961d8' +md5sums=('db2edf10ad1eb0cc8d80849a61dafd3a' 'b0b3e3fb231a12e60165b6b4d604dcfa' 'bfebb75bb94029b48c46b7f1ba1aa811' 'fc29ecb6a5cd8c278abe054e60381095')