diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-06-01 04:01:12 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-06-01 04:01:12 +0000 |
commit | 067f86b4a63af1cd5098d068f413058bd2586019 (patch) | |
tree | a8197bc2c4146cd6fb326d3b79f48ad3e9054d32 /mail/cyrus-imapd23 | |
parent | - Add WITH_GNUSTEP_DEVEL (diff) |
Don't depend on saslauthd. This is preparation for saslauthd
separation from cyrus-sasl2.
Notes
Notes:
svn path=/head/; revision=81847
Diffstat (limited to 'mail/cyrus-imapd23')
-rw-r--r-- | mail/cyrus-imapd23/Makefile | 3 | ||||
-rw-r--r-- | mail/cyrus-imapd23/files/imapd.conf | 4 | ||||
-rw-r--r-- | mail/cyrus-imapd23/pkg-deinstall | 13 | ||||
-rw-r--r-- | mail/cyrus-imapd23/pkg-install | 9 |
4 files changed, 3 insertions, 26 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index 5d59ceff21aa..feccc0d2180f 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -18,8 +18,7 @@ MAINTAINER= ume@FreeBSD.org COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols LIB_DEPENDS= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 -BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ - ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2 +BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend USE_PERL5= yes USE_REINPLACE= YES diff --git a/mail/cyrus-imapd23/files/imapd.conf b/mail/cyrus-imapd23/files/imapd.conf index 8fbc33c976e4..36794aeb8f6f 100644 --- a/mail/cyrus-imapd23/files/imapd.conf +++ b/mail/cyrus-imapd23/files/imapd.conf @@ -268,9 +268,9 @@ sievedir: /var/imap/sieve #sasl_minimum_layer: 0 # The mechanism used by the server to verify plaintext passwords. Possible -# values include "auxprop", "saslauthd", and "pwcheck" +# values include "auxprop" or "saslauthd" # -sasl_pwcheck_method: saslauthd +sasl_pwcheck_method: auxprop # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. diff --git a/mail/cyrus-imapd23/pkg-deinstall b/mail/cyrus-imapd23/pkg-deinstall index 482b69d2f5c8..aed34d1fec6e 100644 --- a/mail/cyrus-imapd23/pkg-deinstall +++ b/mail/cyrus-imapd23/pkg-deinstall @@ -25,18 +25,6 @@ checkfile() { esac } -# Uninstall timseived's Cyrus.conf file. - -cyrus_conf() { - if [ -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf ]; then - echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp - if cmp -s ${PKG_PREFIX}/lib/sasl2/Cyrus.conf ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp; then - rm -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf - fi - rm -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf.tmp - fi -} - # # Modify the 'cyrus' user created from the cyrus-sasl port # @@ -62,7 +50,6 @@ modify_cyrus_user() { case $2 in DEINSTALL) cd ${PKG_PREFIX} - cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; diff --git a/mail/cyrus-imapd23/pkg-install b/mail/cyrus-imapd23/pkg-install index 21e473bac5db..8bbe09d840f5 100644 --- a/mail/cyrus-imapd23/pkg-install +++ b/mail/cyrus-imapd23/pkg-install @@ -42,14 +42,6 @@ checkfile() { esac } -# Install timseived's Cyrus.conf file - -cyrus_conf() { - if [ ! -f ${PKG_PREFIX}/lib/sasl2/Cyrus.conf ]; then - echo "pwcheck_method: saslauthd" > ${PKG_PREFIX}/lib/sasl2/Cyrus.conf - fi -} - case $2 in PRE-INSTALL) ;; @@ -57,7 +49,6 @@ case $2 in POST-INSTALL) modify_cyrus_user cd ${PKG_PREFIX} - cyrus_conf checkfile ${PKG_PREFIX}/etc/imapd.conf checkfile ${PKG_PREFIX}/etc/cyrus.conf if grep 'sieve' /etc/services; then |