diff options
author | will <will@FreeBSD.org> | 2000-12-21 16:25:50 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-21 16:25:50 +0800 |
commit | eba6ed11eba651e997ef137654e406a4fd8d144f (patch) | |
tree | 201c712a70a274eae2788b651584bded57579d88 /mail/cyrus-imapd2/pkg-install | |
parent | 8b4cff46d0c49ac9d0a9b87d7aacd348c99d55cd (diff) | |
download | freebsd-ports-gnome-eba6ed11eba651e997ef137654e406a4fd8d144f.tar.gz freebsd-ports-gnome-eba6ed11eba651e997ef137654e406a4fd8d144f.tar.zst freebsd-ports-gnome-eba6ed11eba651e997ef137654e406a4fd8d144f.zip |
Update to 1.6.24. Fix /var/pwcheck handling since that's moved to the
security/cyrus-sasl port. Fix deliver.c so it uses the correct location
of sendmail (/usr/sbin/sendmail vs. /usr/lib/sendmail). Open the port up
to the world after previous maintainer showed no interest in the port for
nearly 2 years.
PR: 22791, 22465
Submitted by: Martti Kuparinen <martti.kuparinen@piuha.net>
Scot W. Hetzel <hetzels@westbend.net>
Diffstat (limited to 'mail/cyrus-imapd2/pkg-install')
-rw-r--r-- | mail/cyrus-imapd2/pkg-install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/cyrus-imapd2/pkg-install b/mail/cyrus-imapd2/pkg-install index 93e91ebc4dae..8f935faef8de 100644 --- a/mail/cyrus-imapd2/pkg-install +++ b/mail/cyrus-imapd2/pkg-install @@ -2,6 +2,10 @@ #set -vx +PKG_BATCH=${BATCH:=NO} + +PKG_PREFIX=${PKG_PREFIX:=/usr/local} + # # create 'cyrus' user and group before installing # @@ -76,6 +80,13 @@ checkfile() { esac } +# Install timseived's Cyrus.conf file + +cyrus_conf() { + if [ ! -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf ]; then + echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl/Cyrus.conf + fi +} case $2 in PRE-INSTALL) @@ -84,6 +95,7 @@ case $2 in POST-INSTALL) cd ${PKG_PREFIX} + cyrus_conf checkfile ${PKG_PREFIX}/etc/imapd.conf if grep '^imap4' /etc/inetd.conf; then echo "** Please check that your /etc/inetd.conf entry for \`imap4'" @@ -91,6 +103,24 @@ case $2 in else echo "** Please add an entry for the imap4 protocol to /etc/inetd.conf." fi + echo + if grep '^sieve' /etc/inetd.conf; then + echo "** Please check that your /etc/inetd.conf entry for \`sieve'" + echo " is suitable for the Cyrus timsieved daemon" + else + echo "** Please add an entry for timseived to /etc/inetd.conf." + echo " If you wish to have user's upload their sieve filter" + echo " scripts to the server." + fi + echo echo " An example can be found in ${PKG_PREFIX}/etc/inetd.conf.cyrus." + if grep 'sieve' /etc/services; then + echo + else + echo + echo "** Please add an entry for the sieve protocol (2000/tcp)" + echo " to /etc/services" + echo + fi ;; esac |