From 895b4cb75676a06c3997520c9da94ec284f9856c Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Thu, 29 Aug 2002 17:57:31 +0000 Subject: Add description about sendmail with SASLv2. --- security/cyrus-sasl2/pkg-install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'security/cyrus-sasl2/pkg-install') diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install index 5a3c1c7b6957..609c9becfba2 100644 --- a/security/cyrus-sasl2/pkg-install +++ b/security/cyrus-sasl2/pkg-install @@ -88,6 +88,14 @@ create_sasldb() { fi } +# This should really be installed by Sendmail + +sendmail_conf() { + if [ ! -f ${PKG_PREFIX}/lib/sasl2/Sendmail.conf ]; then + echo "pwcheck_method: %%PWCHECK_METHOD%%" > ${PKG_PREFIX}/lib/sasl2/Sendmail.conf + fi +} + case $2 in PRE-INSTALL) create_user @@ -95,6 +103,7 @@ case $2 in POST-INSTALL) if [ "${PKG_BATCH}" = "NO" ]; then create_sasldb + sendmail_conf fi ;; -- cgit v1.2.3