[arch-commits] Commit in usermin/trunk (PKGBUILD usermin.rc)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Fri May 17 13:08:04 UTC 2013
Date: Friday, May 17, 2013 @ 15:08:03
Author: tpowa
Revision: 185710
upgpkg: usermin 1.550-1
bump to latest version, remove rc.d file
Modified:
usermin/trunk/PKGBUILD
Deleted:
usermin/trunk/usermin.rc
------------+
PKGBUILD | 9 ++-------
usermin.rc | 44 --------------------------------------------
2 files changed, 2 insertions(+), 51 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-17 13:04:30 UTC (rev 185709)
+++ PKGBUILD 2013-05-17 13:08:03 UTC (rev 185710)
@@ -1,7 +1,7 @@
# $Id$
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=usermin
-pkgver=1.540
+pkgver=1.550
pkgrel=1
pkgdesc="a web interface that can be used to easily perform tasks like reading mail, setting up SSH or configuring mail forwarding"
arch=(i686 x86_64)
@@ -44,7 +44,6 @@
)
install=usermin.install
source=(http://downloads.sourceforge.net/sourceforge/webadmin/$pkgname-$pkgver.tar.gz
- usermin.rc
usermin.service
ftp://ftp.archlinux.org/other/usermin/usermin-config.tar.bz2)
@@ -119,16 +118,12 @@
#install systemd service file
install -D -m 644 "$srcdir"/usermin.service "$pkgdir"/usr/lib/systemd/system/usermin.service
-
- #install rc file
- install -D -m 755 "$srcdir"/usermin.rc "$pkgdir"/etc/rc.d/usermin
# delete temp dir
rm -r "$pkgdir"/tmp
#install license
install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/usermin/LICENCE
}
-md5sums=('d29c9fdebab14c168c33bde8906efe21'
- 'cfef4490cd1ef9517c0b39a7bd75c968'
+md5sums=('ba764af4b40a7e11be69985e19a81562'
'a5bd5e5ee779f8a3cf3d776ca77ee36e'
'ec37a79f948f778224550930d2a7ca07')
Deleted: usermin.rc
===================================================================
--- usermin.rc 2013-05-17 13:04:30 UTC (rev 185709)
+++ usermin.rc 2013-05-17 13:08:03 UTC (rev 185710)
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-start=/etc/usermin/start
-stop=/etc/usermin/stop
-lockfile=/var/lock/usermin
-
-case "$1" in
-'start')
- stat_busy "Starting Usermin daemon"
- $start >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- touch $lockfile >/dev/null 2>&1
- stat_done
- else
- stat_fail
-fi
-;;
-
-'stop')
- stat_busy "Stopping Usermin daemon"
- $stop >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- rm -f $lockfile
- stat_done
- else
- stat_fail
-fi
-;;
-
-'restart')
- $stop && $start
- RETVAL=$?
-;;
-*)
-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