From: frank Date: Mon, 16 Jan 2012 06:20:23 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d1939071bd249b0d97a1b899b3bd0fb80d35cd39;p=config%2Fbruni%2Fetc.git committing changes in /etc after emerge run Package changes: +dev-libs/cyrus-sasl-2.1.23-r6 --- diff --git a/.etckeeper b/.etckeeper index a8ff97e2..e0933aee 100755 --- a/.etckeeper +++ b/.etckeeper @@ -74,6 +74,7 @@ maybe chmod 0644 './conf.d/pciparm' maybe chmod 0644 './conf.d/pydoc-2.7' maybe chmod 0644 './conf.d/pydoc-3.1' maybe chmod 0644 './conf.d/rsyncd' +maybe chmod 0644 './conf.d/saslauthd' maybe chmod 0644 './conf.d/sshd' maybe chmod 0644 './conf.d/staticroute' maybe chmod 0644 './conf.d/svnserve' @@ -340,11 +341,13 @@ maybe chmod 0755 './init.d/ntpd' maybe chmod 0755 './init.d/numlock' maybe chmod 0755 './init.d/pciparm' 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.1' maybe chmod 0755 './init.d/reboot.sh' maybe chmod 0755 './init.d/root' maybe chmod 0755 './init.d/rsyncd' +maybe chmod 0755 './init.d/saslauthd' maybe chmod 0755 './init.d/savecache' maybe chmod 0755 './init.d/shutdown.sh' maybe chmod 0755 './init.d/slpd' @@ -466,6 +469,7 @@ maybe chmod 0644 './pam.d/passwd' maybe chmod 0644 './pam.d/polkit-1' maybe chmod 0644 './pam.d/pop' maybe chmod 0644 './pam.d/ppp' +maybe chmod 0644 './pam.d/saslauthd' maybe chmod 0644 './pam.d/screen' maybe chmod 0644 './pam.d/shadow' maybe chmod 0644 './pam.d/sshd' @@ -558,6 +562,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 0644 './screenrc' maybe chmod 0600 './securetty' maybe chmod 0755 './security' diff --git a/conf.d/saslauthd b/conf.d/saslauthd new file mode 100644 index 00000000..3f2653c5 --- /dev/null +++ b/conf.d/saslauthd @@ -0,0 +1,25 @@ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd-2.1.21.conf,v 1.2 2007/04/07 13:03:55 chtekk Exp $ + +# Config file for /etc/init.d/saslauthd + +# Initial (empty) options. +SASLAUTHD_OPTS="" + +# 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. +#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -a pam -r" +SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -a pam" + +# Specify the hostname for remote IMAP server. +# **NOTE** Only needed if rimap auth mechanism is used. +#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -O localhost" + +# Specify the number of worker processes to create. +#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -n 5" + +# Enable credential cache, set cache size and timeout. +# **NOTE** Size is measured in kilobytes. +# Timeout is measured in seconds. +#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -c -s 128 -t 30" diff --git a/init.d/pwcheck b/init.d/pwcheck new file mode 100755 index 00000000..7aaac596 --- /dev/null +++ b/init.d/pwcheck @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/pwcheck.rc6,v 1.6 2011/08/05 07:21:46 eras Exp $ + +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 00000000..a5e9a440 --- /dev/null +++ b/init.d/saslauthd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# 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 $ + +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 /var/lib/sasl2/saslauthd.pid + eend $? +} diff --git a/pam.d/saslauthd b/pam.d/saslauthd new file mode 100644 index 00000000..d50a8494 --- /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 00000000..e69de29b