aboutsummaryrefslogtreecommitdiffstats
path: root/main/cyrus-sasl/saslauthd.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-09 09:08:19 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-09 09:15:22 +0000
commit8965b00c7fa7c7caa0cf451551a63b8262abd5e6 (patch)
tree6f5d566fd826ab5fc291a461ea17d154b84fd377 /main/cyrus-sasl/saslauthd.initd
parente3d1891bc8e0b7efa97640a600a5d19710aa3908 (diff)
downloadaports-8965b00c7fa7c7caa0cf451551a63b8262abd5e6.tar.gz
aports-8965b00c7fa7c7caa0cf451551a63b8262abd5e6.tar.bz2
aports-8965b00c7fa7c7caa0cf451551a63b8262abd5e6.tar.xz
main/cyrus-sasl: upgrade to 2.1.27 and cleanup
fails to build with ldap (linker issue) should probably be added/fixed in the future. make sasldb the default auth for saslauthd (we do not support pam).
Diffstat (limited to 'main/cyrus-sasl/saslauthd.initd')
-rw-r--r--main/cyrus-sasl/saslauthd.initd19
1 files changed, 5 insertions, 14 deletions
diff --git a/main/cyrus-sasl/saslauthd.initd b/main/cyrus-sasl/saslauthd.initd
index 2707f533d6..7285770040 100644
--- a/main/cyrus-sasl/saslauthd.initd
+++ b/main/cyrus-sasl/saslauthd.initd
@@ -1,22 +1,13 @@
#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd2.rc6,v 1.7 2007/04/07 13:03:55 chtekk Exp $
+command="/usr/sbin/saslauthd"
+command_args=${SASLAUTHD_OPTS:--a sasldb}
+pidfile="/run/saslauthd/saslauthd.pid"
depend() {
need net
after firewall
}
-start() {
- ebegin "Starting saslauthd"
- start-stop-daemon --start --quiet --exec /usr/sbin/saslauthd \
- -- ${SASLAUTHD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping saslauthd"
- start-stop-daemon --stop --quiet --pidfile /var/run/saslauthd/saslauthd.pid
- eend $?
+start_pre() {
+ checkpath --directory --mode 0775 /run/saslauthd
}