18017dfa91
* Fix quota calculations on 32 bit platforms with 64 bit off_t.
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# $NetBSD: INSTALL,v 1.5 2006/06/09 22:12:10 jlam Exp $
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
TLS_CERTFILE=
|
|
oldcert="@SSLCERTS@/imapd.pem"
|
|
newcert="@PKG_SYSCONFDIR@/imapd.pem"
|
|
if ${TEST} -f @PKG_SYSCONFDIR@/imapd-ssl; then
|
|
. @PKG_SYSCONFDIR@/imapd-ssl
|
|
if ${TEST} "$TLS_CERTFILE" != "$newcert"; then
|
|
imapdmsg="$oldcert -> $newcert"
|
|
fi
|
|
fi
|
|
TLS_CERTFILE=
|
|
oldcert="@SSLCERTS@/pop3d.pem"
|
|
newcert="@PKG_SYSCONFDIR@/pop3d.pem"
|
|
if ${TEST} -f @PKG_SYSCONFDIR@/pop3d-ssl; then
|
|
. @PKG_SYSCONFDIR@/pop3d-ssl
|
|
if ${TEST} "$TLS_CERTFILE" != "$newcert"; then
|
|
pop3dmsg="$oldcert -> $newcert"
|
|
fi
|
|
fi
|
|
if ${TEST} -n "$imapdmsg" -o -n "$pop3dmsg"; then
|
|
${CAT} << EOF
|
|
===========================================================================
|
|
|
|
If you are upgrading Courier-IMAP from a previous version, please note
|
|
that the default locations of the SSL certificates for the IMAP and
|
|
POP3 servers have moved:
|
|
|
|
$imapdmsg
|
|
$pop3dmsg
|
|
|
|
===========================================================================
|
|
EOF
|
|
fi
|
|
;;
|
|
esac
|