[dev-libs/cyrus-sasl] bump from codeberg pr
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
The cyrus-sasl package contains a sample directory with examples in C
|
||||
that demonstrate how to build against libsasldb. These examples
|
||||
are difficult to build outside the cyrus-sasl tree and offer no value
|
||||
for the installed package in Gentoo, which is why they are no longer
|
||||
packaged. If you intend to develop e.g. plugins, please see the upstream
|
||||
development repository at https://github.com/cyrusimap/cyrus-sasl.
|
||||
@@ -0,0 +1 @@
|
||||
d /run/saslauthd 0755 root root -
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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 $?
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=SASL pwcheck daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/pwcheck
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,19 @@
|
||||
# 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"
|
||||
@@ -0,0 +1,8 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth required pam_nologin.so
|
||||
auth include system-auth
|
||||
|
||||
account include system-auth
|
||||
|
||||
session include system-auth
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=SASL Authentication Daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/saslauthd/saslauthd.pid
|
||||
EnvironmentFile=/etc/conf.d/saslauthd
|
||||
ExecStart=/usr/sbin/saslauthd $SASLAUTHD_OPTS
|
||||
ExecStop=/bin/kill -15 $MAINPID
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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 $?
|
||||
}
|
||||
Reference in New Issue
Block a user