From: Frank Brehm Date: Wed, 21 Dec 2016 14:20:25 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=37455c0be59eb7db1af8831044cd927d271b9bd8;p=config%2Fberta%2Fetc.git committing changes in /etc after emerge run Package changes: +dev-libs/cyrus-sasl-2.1.26-r9 --- diff --git a/.etckeeper b/.etckeeper index cd58529..2325f8b 100755 --- a/.etckeeper +++ b/.etckeeper @@ -117,6 +117,7 @@ maybe chmod 0644 'conf.d/pydoc-3.4' 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' @@ -369,6 +370,7 @@ maybe chmod 0755 'init.d/osclock' 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' @@ -377,6 +379,7 @@ maybe chmod 0755 'init.d/rsyncd' 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' @@ -548,6 +551,7 @@ maybe chmod 0644 'pam.d/newusers' 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' @@ -630,6 +634,8 @@ maybe chmod 0755 'sandbox.d' 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' diff --git a/conf.d/saslauthd b/conf.d/saslauthd new file mode 100644 index 0000000..2b60bc0 --- /dev/null +++ b/conf.d/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/pwcheck b/init.d/pwcheck new file mode 100755 index 0000000..292c366 --- /dev/null +++ b/init.d/pwcheck @@ -0,0 +1,21 @@ +#!/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 $? +} diff --git a/init.d/saslauthd b/init.d/saslauthd new file mode 100755 index 0000000..76ad4f0 --- /dev/null +++ b/init.d/saslauthd @@ -0,0 +1,21 @@ +#!/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 $? +} diff --git a/pam.d/saslauthd b/pam.d/saslauthd new file mode 100644 index 0000000..d50a849 --- /dev/null +++ b/pam.d/saslauthd @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth include system-auth + +account include system-auth + +session include system-auth diff --git a/sasl2/.keep_dev-libs_cyrus-sasl-2 b/sasl2/.keep_dev-libs_cyrus-sasl-2 new file mode 100644 index 0000000..e69de29