aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-11-09 15:47:24 +0800
committerume <ume@FreeBSD.org>2004-11-09 15:47:24 +0800
commitfe63f5fab8aceed21536cddb9e4293843526bbec (patch)
treedaf5d704055f33337a929082a6a2acceb29ee42d /security
parent5a78772dd9cd600d7cb7c1de1a2458c238d3130c (diff)
downloadfreebsd-ports-graphics-fe63f5fab8aceed21536cddb9e4293843526bbec.tar.gz
freebsd-ports-graphics-fe63f5fab8aceed21536cddb9e4293843526bbec.tar.zst
freebsd-ports-graphics-fe63f5fab8aceed21536cddb9e4293843526bbec.zip
warn to create sasldb2 by yourself in BATCH mode.
Suggested by: matusita
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/pkg-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install
index ae250992f24..12bff1b7f26 100644
--- a/security/cyrus-sasl2/pkg-install
+++ b/security/cyrus-sasl2/pkg-install
@@ -92,6 +92,10 @@ case $2 in
POST-INSTALL)
if [ "${PKG_BATCH}" = "NO" ]; then
create_sasldb
+ elif [ ! -f ${SASLDB_NAME} ]; then
+ echo "*** We do not create ${SASLDB_NAME} automatically in"
+ echo "*** BATCH mode. Please create it by yourself. It should be"
+ echo "*** owner: ${CYRUS_USER}, group: mail, mode: 0640."
fi
;;