summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-28 10:09:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-28 10:09:36 +0000
commit165f16e48c93875e1141c734ffde07c9e39c01db (patch)
tree66d00fab8efc0db1efb08821d0e692c2f8e819cd
parent773995e7bf608cd00301ad488ce0af499ad5ce0a (diff)
downloadaports-165f16e48c93875e1141c734ffde07c9e39c01db.tar.bz2
aports-165f16e48c93875e1141c734ffde07c9e39c01db.tar.xz
testing/lxdm: fix bash dependency and use start/stop template
-rw-r--r--testing/lxdm/APKBUILD6
-rwxr-xr-xtesting/lxdm/lxdm.initd16
2 files changed, 8 insertions, 14 deletions
diff --git a/testing/lxdm/APKBUILD b/testing/lxdm/APKBUILD
index 216d7500d..05f9931dc 100644
--- a/testing/lxdm/APKBUILD
+++ b/testing/lxdm/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=lxdm
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="LXDE desktop login manager"
url="http://wiki.lxde.org/en/LXDM"
license="GPL"
-depends=
+depends="bash"
makedepends="autoconf automake gtk+-dev consolekit-dev"
install=
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
@@ -50,6 +50,6 @@ package() {
}
md5sums="1d0688e088edab7c3c563263eb2f9654 lxdm-0.3.0.tar.gz
-eab8bb69da8dc44ae0e1e1706c7efc74 lxdm.initd
+d6455d172d5d897f6bfcefe9a1a632c7 lxdm.initd
045da38f5bb183ccacc489ea7e50e927 lxdm-execinfo.patch
0d44e8cd97894fd680e3f09e680c3481 lxdm-nopam.patch"
diff --git a/testing/lxdm/lxdm.initd b/testing/lxdm/lxdm.initd
index 19aea3a03..d0f17a24f 100755
--- a/testing/lxdm/lxdm.initd
+++ b/testing/lxdm/lxdm.initd
@@ -4,15 +4,9 @@ depends() {
needs localmount
}
-start() {
- ebegin "Starting lxdm"
- start-stop-daemon --start --quiet --exec /usr/sbin/lxdm -- -d
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxdm"
- start-stop-daemon --stop --quiet --exec /usr/sbin/lxdm
- eend $?
-}
+description="Lightweight Login Manager"
+command="/usr/sbin/lxdm"
+command_args="-d"
+pidfile="/var/run/lxdm.pid"
+# uses the openrc templates for start()/stop()