diff options
Diffstat (limited to 'mail/courier-imap/INSTALL')
-rw-r--r-- | mail/courier-imap/INSTALL | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mail/courier-imap/INSTALL b/mail/courier-imap/INSTALL new file mode 100644 index 00000000000..c1cb26deff7 --- /dev/null +++ b/mail/courier-imap/INSTALL @@ -0,0 +1,38 @@ +# $NetBSD: INSTALL,v 1.4 2006/04/28 18:15:20 jlam Exp $ + +case ${STAGE} in +POST-INSTALL) + TLS_CERTFILE= + oldcert="@SSLCERT@/imapd.pem" + newcert="@PKG_SYSCONFDIR@/imapd.pem" + if ${TEST} -f @PKG_SYSCONFDIR@/imapd-ssl; then + . @PKG_SYSCONFDIR@/imapd-ssl + if "$TLS_CERTFILE" != "$newcert"; then + imapdmsg="$oldcert -> $newcert" + fi + fi + TLS_CERTFILE= + oldcert="@SSLCERT@/pop3d.pem" + newcert="@PKG_SYSCONFDIR@/pop3d.pem" + if ${TEST} -f @PKG_SYSCONFDIR@/pop3d-ssl; then + . @PKG_SYSCONFDIR@/pop3d-ssl + if "$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 |