maybe chmod 0644 'conf.d/rarpd'
maybe chmod 0644 'conf.d/rsyncd'
maybe chmod 0644 'conf.d/rsyslog'
+maybe chmod 0644 'conf.d/saslauthd'
maybe chmod 0644 'conf.d/slapd'
maybe chmod 0644 'conf.d/snmpd'
maybe chmod 0644 'conf.d/snmptrapd'
maybe chmod 0755 'init.d/pciparm'
maybe chmod 0755 'init.d/php-fpm'
maybe chmod 0755 'init.d/procfs'
+maybe chmod 0755 'init.d/pwcheck'
maybe chmod 0755 'init.d/pydoc-2.7'
maybe chmod 0755 'init.d/pydoc-3.4'
maybe chmod 0755 'init.d/rarpd'
maybe chmod 0755 'init.d/rsyslog'
maybe chmod 0755 'init.d/runsvdir'
maybe chmod 0755 'init.d/s6-svscan'
+maybe chmod 0755 'init.d/saslauthd'
maybe chmod 0755 'init.d/savecache'
maybe chmod 0755 'init.d/slapd'
maybe chmod 0755 'init.d/snmpd'
maybe chmod 0644 'pam.d/other'
maybe chmod 0644 'pam.d/passwd'
maybe chmod 0644 'pam.d/pop'
+maybe chmod 0644 'pam.d/saslauthd'
maybe chmod 0644 'pam.d/shadow'
maybe chmod 0644 'pam.d/sshd'
maybe chmod 0644 'pam.d/start-stop-daemon'
maybe chmod 0644 'sandbox.d/00default'
maybe chmod 0644 'sandbox.d/10openssl'
maybe chmod 0644 'sandbox.d/37fontconfig'
+maybe chmod 0755 'sasl2'
+maybe chmod 0644 'sasl2/.keep_dev-libs_cyrus-sasl-2'
maybe chmod 0600 'securetty'
maybe chmod 0755 'security'
maybe chmod 0644 'security/access.conf'
--- /dev/null
+# $Id$
+
+# Config file for /etc/init.d/saslauthd and systemd unit
+
+# PLEASE READ THIS IF YOU ARE USING SYSTEMD
+# Please note that systemd does not expand shell variables
+# thus, something like FOO="${FOO} bar" won't work.
+
+# Specify the authentications mechanism.
+# **NOTE** For a list see: saslauthd -v
+# Since 2.1.19, add "-r" to options for old behavior,
+# ie. reassemble user and realm to user@realm form.
+#
+# Specify the hostname for remote IMAP server using:
+# "-O localhost".
+# Specify the number of worker processes to create using:
+# "-n <N>".
+# Enable credential cache, set cache size and timeout using:
+# "-c -s <cache size, like 128> -t <timeout seconds>".
+#
+SASLAUTHD_OPTS="-a pam"
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need localmount
+ use logger
+}
+
+start() {
+ ebegin "Starting sasl pwcheck daemon"
+ start-stop-daemon --start --quiet --exec /usr/sbin/pwcheck
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping sasl pwcheck daemon"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/pwcheck
+ eend $?
+}
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+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 /run/saslauthd/saslauthd.pid
+ eend $?
+}