]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank@brehm-online.com>
Wed, 21 Dec 2016 14:20:25 +0000 (15:20 +0100)
committerFrank Brehm <frank@brehm-online.com>
Wed, 21 Dec 2016 14:20:25 +0000 (15:20 +0100)
Package changes:
+dev-libs/cyrus-sasl-2.1.26-r9

.etckeeper
conf.d/saslauthd [new file with mode: 0644]
init.d/pwcheck [new file with mode: 0755]
init.d/saslauthd [new file with mode: 0755]
pam.d/saslauthd [new file with mode: 0644]
sasl2/.keep_dev-libs_cyrus-sasl-2 [new file with mode: 0644]

index cd585295f2c9f092bb6778e616039eec29b2e230..2325f8b63f9d1b2e957e62db19de726263f273e8 100755 (executable)
@@ -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 (file)
index 0000000..2b60bc0
--- /dev/null
@@ -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 <N>".
+# Enable credential cache, set cache size and timeout using:
+# "-c -s <cache size, like 128> -t <timeout seconds>".
+# 
+SASLAUTHD_OPTS="-a pam"
diff --git a/init.d/pwcheck b/init.d/pwcheck
new file mode 100755 (executable)
index 0000000..292c366
--- /dev/null
@@ -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 (executable)
index 0000000..76ad4f0
--- /dev/null
@@ -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 (file)
index 0000000..d50a849
--- /dev/null
@@ -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 (file)
index 0000000..e69de29