blob: c1cb26deff7424be5ef90cfe93161f568b792fd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
|