From 4f5dd6dd0f8d260f91c55cebd2b172b9442a1d52 Mon Sep 17 00:00:00 2001 From: Hans Wurst Date: Tue, 15 Sep 2015 16:33:30 +0200 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +dev-libs/cyrus-sasl-2.1.26-r9 --- conf.d/._cfg0000_saslauthd | 21 +++++++++++++++++++++ init.d/._cfg0000_pwcheck | 21 +++++++++++++++++++++ init.d/._cfg0000_saslauthd | 21 +++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 conf.d/._cfg0000_saslauthd create mode 100755 init.d/._cfg0000_pwcheck create mode 100755 init.d/._cfg0000_saslauthd diff --git a/conf.d/._cfg0000_saslauthd b/conf.d/._cfg0000_saslauthd new file mode 100644 index 0000000..2b60bc0 --- /dev/null +++ b/conf.d/._cfg0000_saslauthd @@ -0,0 +1,21 @@ +# $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 ". +# Enable credential cache, set cache size and timeout using: +# "-c -s -t ". +# +SASLAUTHD_OPTS="-a pam" diff --git a/init.d/._cfg0000_pwcheck b/init.d/._cfg0000_pwcheck new file mode 100755 index 0000000..4530daf --- /dev/null +++ b/init.d/._cfg0000_pwcheck @@ -0,0 +1,21 @@ +#!/sbin/runscript +# 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 $? +} diff --git a/init.d/._cfg0000_saslauthd b/init.d/._cfg0000_saslauthd new file mode 100755 index 0000000..23504f6 --- /dev/null +++ b/init.d/._cfg0000_saslauthd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# 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 $? +}