aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2
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/cyrus-sasl2
parent5a78772dd9cd600d7cb7c1de1a2458c238d3130c (diff)
downloadfreebsd-ports-gnome-fe63f5fab8aceed21536cddb9e4293843526bbec.tar.gz
freebsd-ports-gnome-fe63f5fab8aceed21536cddb9e4293843526bbec.tar.zst
freebsd-ports-gnome-fe63f5fab8aceed21536cddb9e4293843526bbec.zip
warn to create sasldb2 by yourself in BATCH mode.
Suggested by: matusita
Diffstat (limited to 'security/cyrus-sasl2')
-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 ae250992f24d..12bff1b7f267 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
;;