[arch-commits] Commit in webmin/trunk (PKGBUILD webmin.rc)

Tobias Powalowski tpowa at nymeria.archlinux.org
Fri May 17 09:04:19 EDT 2013


    Date: Friday, May 17, 2013 @ 15:04:19
  Author: tpowa
Revision: 185708

upgpkg: webmin 1.630-1

bump to latest version, remove rc.d file

Modified:
  webmin/trunk/PKGBUILD
Deleted:
  webmin/trunk/webmin.rc

-----------+
 PKGBUILD  |    9 ++-------
 webmin.rc |   46 ----------------------------------------------
 2 files changed, 2 insertions(+), 53 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-17 12:55:25 UTC (rev 185707)
+++ PKGBUILD	2013-05-17 13:04:19 UTC (rev 185708)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=webmin
-pkgver=1.620
+pkgver=1.630
 pkgrel=1
 pkgdesc="a web-based interface for system administration"
 arch=(i686 x86_64)
@@ -86,7 +86,6 @@
 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
 	webmin.service) 
 options=(!strip)
 
@@ -201,9 +200,6 @@
   cd "$srcdir"/webmin-pacman/config
   cp -rfp * "$pkgdir"/etc/webmin/pacman
 
-  #install rc file
-  install -D -m 755 "$srcdir"/webmin.rc "$pkgdir"/etc/rc.d/webmin
-
   # install systemd files
   install -D -m 644 $srcdir/webmin.service $pkgdir/usr/lib/systemd/system/webmin.service
 
@@ -214,8 +210,7 @@
   # install license
   install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/webmin/LICENCE
 }
-md5sums=('e93bc5057a5b7d7e31ecb2bb228d7044'
+md5sums=('c52551ed405fcb67ea9d383ac6a32658'
          'b0b3e3fb231a12e60165b6b4d604dcfa'
          'bfebb75bb94029b48c46b7f1ba1aa811'
-         'c77dfcd621b417a7826d25f56a1e60ae'
          'fc29ecb6a5cd8c278abe054e60381095')

Deleted: webmin.rc
===================================================================
--- webmin.rc	2013-05-17 12:55:25 UTC (rev 185707)
+++ webmin.rc	2013-05-17 13:04:19 UTC (rev 185708)
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-start=/etc/webmin/start
-stop=/etc/webmin/stop
-lockfile=/var/lock/webmin
-
-case "$1" in
-'start')
-     stat_busy "Starting Webmin daemon"
-     $start >/dev/null 2>&1 </dev/null
-     RETVAL=$?
-     if [ "$RETVAL" = "0" ]; then
-     touch $lockfile >/dev/null 2>&1
-     add_daemon webmin
-     stat_done
-     else
-     stat_fail
-fi
-;;
-
-'stop')
-     stat_busy "Stopping Webmin daemon"
-     $stop >/dev/null 2>&1 </dev/null
-     RETVAL=$?
-     if [ "$RETVAL" = "0" ]; then
-     rm -f $lockfile
-     rm_daemon webmin
-     stat_done
-     else
-     stat_fail
-fi
-;;
-
-'restart')
-     $0 stop
-     $0 start
-;;
-*)
-echo "Usage: $0 { start | stop | restart }"
-RETVAL=1
-;;
-esac
-exit $RETVAL
\ No newline at end of file



More information about the arch-commits mailing list