summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/pkg-install
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-08-29 17:57:31 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-08-29 17:57:31 +0000
commit895b4cb75676a06c3997520c9da94ec284f9856c (patch)
treedc0df056768ad0159d0b29a753039dc3ebdbcde6 /security/cyrus-sasl2/pkg-install
parentAllow mozilla-embedded and mozilla-headers to build when the -f makefile (diff)
Add description about sendmail with SASLv2.
Notes
Notes: svn path=/head/; revision=65236
Diffstat (limited to 'security/cyrus-sasl2/pkg-install')
-rw-r--r--security/cyrus-sasl2/pkg-install9
1 files changed, 9 insertions, 0 deletions
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
;;