summaryrefslogtreecommitdiff
path: root/libre/usermin
diff options
context:
space:
mode:
Diffstat (limited to 'libre/usermin')
-rw-r--r--libre/usermin/PKGBUILD15
-rw-r--r--libre/usermin/usermin.rc44
2 files changed, 5 insertions, 54 deletions
diff --git a/libre/usermin/PKGBUILD b/libre/usermin/PKGBUILD
index 7d594cdcd..ce9e8735d 100644
--- a/libre/usermin/PKGBUILD
+++ b/libre/usermin/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id$
+# $Id: PKGBUILD 185710 2013-05-17 13:08:03Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=usermin
-pkgver=1.540
-pkgrel=1.1
+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 (Parabola rebranded)"
arch=(i686 x86_64 mips64el)
license=('custom:usermin')
@@ -44,7 +44,6 @@ backup=('etc/usermin/miniserv.conf' 'etc/usermin/miniserv.users' 'etc/usermin/co
)
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 @@ package() {
#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')
+ '23be2b673f35a3a0be1bde250f6300e1')
diff --git a/libre/usermin/usermin.rc b/libre/usermin/usermin.rc
deleted file mode 100644
index af365780a..000000000
--- a/libre/usermin/usermin.rc
+++ /dev/null
@@ -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