git: 3ef557faba4d - main - mail/cyrus-imapd23: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 20 Sep 2023 12:10:26 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ef557faba4d478d510df5755f233043d758cb42

commit 3ef557faba4d478d510df5755f233043d758cb42
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-20 10:42:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-20 12:10:07 +0000

    mail/cyrus-imapd23: Remove expired port
    
    2023-09-15 mail/cyrus-imapd23: No longer supported by upstream
---
 MOVED                                              |   1 +
 mail/Makefile                                      |   1 -
 mail/cyrus-imapd23/Makefile                        | 194 ----------
 mail/cyrus-imapd23/distinfo                        |   7 -
 mail/cyrus-imapd23/files/cyrus-imapd-man.conf.in   |   1 -
 mail/cyrus-imapd23/files/imapd.conf                | 415 ---------------------
 mail/cyrus-imapd23/files/imapd.in                  |  36 --
 mail/cyrus-imapd23/files/patch-Makefile.in         |  25 --
 mail/cyrus-imapd23/files/patch-configure           |  48 ---
 mail/cyrus-imapd23/files/patch-imap__Makefile.in   |  17 -
 mail/cyrus-imapd23/files/patch-imtest__imtest.c    |  15 -
 mail/cyrus-imapd23/files/patch-lib__Makefile.in    |  13 -
 mail/cyrus-imapd23/files/patch-lib__charset.c      |  13 -
 mail/cyrus-imapd23/files/patch-lib__imapoptions    |  22 --
 mail/cyrus-imapd23/files/patch-lib__libcyr_cfg.c   |  13 -
 mail/cyrus-imapd23/files/patch-man__Makefile.in    |  21 --
 mail/cyrus-imapd23/files/patch-master__Makefile.in |  26 --
 .../cyrus-imapd23/files/patch-notifyd__Makefile.in |  13 -
 mail/cyrus-imapd23/files/patch-perl__imap__IMAP.xs |  21 --
 .../files/patch-perl__imap__Makefile.PL            |  15 -
 .../patch-perl__sieve__managesieve__Makefile.PL    |  15 -
 mail/cyrus-imapd23/files/patch-sieve__Makefile.in  |  25 --
 .../files/patch-timsieved__Makefile.in             |  13 -
 mail/cyrus-imapd23/files/patch-tools__mkimap       |  38 --
 mail/cyrus-imapd23/files/pkg-deinstall.in          |  40 --
 mail/cyrus-imapd23/files/pkg-install.in            |  41 --
 mail/cyrus-imapd23/files/pkg-message.in            |  10 -
 mail/cyrus-imapd23/pkg-descr                       |  19 -
 mail/cyrus-imapd23/pkg-plist                       | 107 ------
 29 files changed, 1 insertion(+), 1224 deletions(-)

diff --git a/MOVED b/MOVED
index e490dff5c71b..401fb50392af 100644
--- a/MOVED
+++ b/MOVED
@@ -7855,3 +7855,4 @@ www/transmission-web|net-p2p/transmission|2023-09-10|Moved to the daemon flavor
 devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
 security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
 dns/tinystats||2023-09-20|Has expired: djbdns got removed, port is no longer required
+mail/cyrus-imapd23||2023-09-20|Has expired: No longer supported by upstream
diff --git a/mail/Makefile b/mail/Makefile
index 12fd778496f0..3b81fa453a01 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -77,7 +77,6 @@
     SUBDIR += couriergraph
     SUBDIR += crm114
     SUBDIR += cvsmail
-    SUBDIR += cyrus-imapd23
     SUBDIR += cyrus-imapd24
     SUBDIR += cyrus-imapd25
     SUBDIR += cyrus-imapd30
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
deleted file mode 100644
index 8aa52c0869e5..000000000000
--- a/mail/cyrus-imapd23/Makefile
+++ /dev/null
@@ -1,194 +0,0 @@
-PORTNAME=	cyrus-imapd
-PORTVERSION=	2.3.20
-PORTREVISION=	2
-CATEGORIES=	mail
-MASTER_SITES=	https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${PORTVERSION}/
-PKGNAMESUFFIX=	23
-
-MAINTAINER=	ume@FreeBSD.org
-COMMENT=	Cyrus mail server, supporting POP3 and IMAP4 protocols
-WWW=		https://www.cyrusimap.org/
-
-LICENSE=	BSD4CLAUSE
-LICENSE_FILE=	${WRKSRC}/COPYRIGHT
-
-DEPRECATED=	No longer supported by upstream
-EXPIRATION_DATE=2023-09-15
-
-LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2 \
-		libpcre.so:devel/pcre
-
-CONFLICTS_INSTALL=	cyrus-imapd2? cyrus-imapd3? cyrus-imapd3?-http
-
-USE_RC_SUBR=	imapd
-
-USES=		compiler cpe perl5 ssl
-GNU_CONFIGURE=	yes
-CYRUS_PREFIX=	${PREFIX}/cyrus
-CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc \
-		--with-cyrus-prefix=${CYRUS_PREFIX} \
-		--with-cyrus-user=${CYRUS_USER} \
-		--with-cyrus-group=${CYRUS_GROUP} \
-		--with-sasl=${LOCALBASE} \
-		--with-bdb=${BDB_LIB_NAME} \
-		--with-com_err \
-		--with-openssl=${OPENSSLBASE} \
-		--with-perl=${PERL}
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
-MAKE_JOBS_UNSAFE=	yes
-
-CPE_VENDOR=	cmu
-CPE_PRODUCT=	cyrus_imap_server
-
-OPTIONS_DEFINE=		AUTOCREATE AUTOSIEVE BDB IDLED \
-			LDAP_PTLOADER LISTEXT MURDER MYSQL \
-			NETSCAPEHACK NNTP PGSQL REPLICATION SNMP_5 \
-			SQLITE DOCS EXAMPLES
-OPTIONS_DEFAULT=	BDB
-OPTIONS_SUB=		yes
-AUTOCREATE_DESC=	Use autocreate INBOX patch (UoA)
-AUTOSIEVE_DESC=		Use autosievefolder patch (UoA)
-BDB_USES=		bdb
-BDB_CONFIGURE_ON=	--with-bdb-incdir=${BDB_INCLUDE_DIR} \
-			--with-bdb-libdir=${LOCALBASE}/lib
-IDLED_DESC=		Enable IMAP idled support
-IDLED_CONFIGURE_ENABLE=	idled
-LDAP_PTLOADER_DESC=	Enable LDAP ptloader
-LDAP_PTLOADER_USES=	ldap
-LDAP_PTLOADER_CONFIGURE_ON=--with-ldap=${LOCALBASE}
-LISTEXT_DESC=		Enable IMAP List extensions
-LISTEXT_CONFIGURE_ENABLE=listext
-MURDER_DESC=		Enable IMAP Murder support
-MURDER_CONFIGURE_ENABLE=murder
-MURDER_MAKE_ENV=	PTHREAD_LIBS="-lpthread"
-MYSQL_USES=		mysql
-MYSQL_CONFIGURE_ON=	--with-mysql=yes \
-			--with-mysql-libdir=${LOCALBASE}/lib/mysql \
-			--with-mysql-incdir=${LOCALBASE}/include/mysql
-NETSCAPEHACK_DESC=	Enable X-NETSCAPE extensions
-NETSCAPEHACK_CONFIGURE_ENABLE=netscapehack
-NNTP_DESC=		Enable NNTP support
-NNTP_CONFIGURE_ENABLE=	nntp
-PGSQL_DESC=		Enable PostgreSQL backend (experimental)
-PGSQL_USES=		pgsql
-PGSQL_CONFIGURE_ON=	--with-pgsql=${LOCALBASE}
-REPLICATION_DESC=	Enable replication
-REPLICATION_CONFIGURE_ENABLE=replication
-SNMP_5_DESC=		Enable SNMP support
-SNMP_5_LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
-SNMP_5_CONFIGURE_ON=	--with-snmp=${LOCALBASE}
-SNMP_5_CONFIGURE_OFF=	--with-snmp=no
-SQLITE_DESC=		Enable SQLite backend (experimental)
-SQLITE_USES=		sqlite
-SQLITE_CONFIGURE_ON=	--with-sqlite=${LOCALBASE}
-
-# Autocreate Inbox and Autosieve patches from UoA
-# WWW: http://email.uoa.gr/projects/cyrus/
-
-AUTOCREATE_VERSION=	0.10-0
-AUTOCREATE_PATCH_SITES=	http://email.uoa.gr/download/cyrus/${PORTNAME}-2.3.16/:autocreate
-AUTOCREATE_PATCHFILES=	${PORTNAME}-2.3.16-autocreate-${AUTOCREATE_VERSION}.diff:autocreate
-
-AUTOSIEVE_VERSION=	0.6.0
-AUTOSIEVE_PATCH_SITES=	http://email.uoa.gr/download/cyrus/${PORTNAME}-2.3.16/:autosieve
-AUTOSIEVE_PATCHFILES=	${PORTNAME}-2.3.16-autosieve-${AUTOSIEVE_VERSION}.diff
-AUTOSIEVE_BROKEN=	Not buildable with autosieve patch
-
-MANDIRS=	${CYRUS_PREFIX}/man
-
-PORTDOCS=	*
-
-SUB_FILES=	pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf
-
-SUB_LIST=	CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP}
-
-CYRUS_USER?=	cyrus
-CYRUS_GROUP?=	cyrus
-
-MAN_MAN1=	imtest installsieve lmtptest mupdatetest nntptest pop3test \
-		sieveshell sivtest smtptest
-MAN_MAN3=	imclient
-MAN_MAN5=	cyrus.conf imapd.conf krb.equiv
-
-CYRUS_MAN8=	arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \
-		cvt_cyrusdb cyr_dbtool cyr_df cyr_expire cyr_synclog deliver \
-		fetchnews fud idled imapd ipurge lmtpd make_md5 make_sha1 \
-		master mbexamine mbpath nntpd notifyd pop3d quota reconstruct \
-		rmnews smmapd squatter sync_client sync_reset sync_server \
-		syncnews timsieved tls_prune unexpunge
-
-CYRUS_PERL_MAN1=cyradm
-CYRUS_PERL_MAN3=Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \
-		Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve
-
-CONFS=		cmu-backend.conf cmu-frontend.conf normal.conf prefork.conf \
-		small.conf
-
-.include <bsd.port.options.mk>
-
-.if empty(${PORT_OPTIONS:MBDB})
-BDB_LIB_NAME=	no
-.endif
-
-.if !exists(/usr/lib/libkrb5.a)
-CONFIGURE_ARGS+=--disable-gssapi
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
-IGNORE=		does not build with llvm 16
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
-			  -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \
-			  -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \
-		${WRKSRC}/tools/mkimap
-	@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \
-			  -e "s|/usr/sieve|/var/imap/sieve|g" \
-		${WRKSRC}/tools/masssievec
-
-post-install:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${FILESDIR}/imapd.conf \
-		${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \
-		${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \
-		${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap
-	${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \
-		${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec
-	${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \
-		${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf
-.for s in 1 3 5
-.  for m in ${MAN_MAN${s}}
-	@${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST}
-.  endfor
-.endfor
-.for s in 1 3
-.  for m in ${CYRUS_PERL_MAN${s}}
-	@${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST}
-.  endfor
-.endfor
-.for m in ${CYRUS_MAN8}
-	@${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST}
-.endfor
-
-post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
-		"! ( -name Makefile.dist -o -name Makefile \
-		-o -name .cvsignore -o -name htmlstrip.c )"
-
-# There are already files in EXAMPLESDIR at that point, so no
-# need to create it.
-post-install-EXAMPLES-on:
-.for f in ${CONFS:Nnormal.conf}
-	${INSTALL_DATA} ${WRKSRC}/master/conf/${f} \
-		${STAGEDIR}${EXAMPLESDIR}
-	@${ECHO_CMD} ${EXAMPLESDIR:S,^${PREFIX}/,,}/${f} >>${TMPPLIST}
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/mail/cyrus-imapd23/distinfo b/mail/cyrus-imapd23/distinfo
deleted file mode 100644
index b9a5bd0bd387..000000000000
--- a/mail/cyrus-imapd23/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1494214888
-SHA256 (cyrus-imapd-2.3.20.tar.gz) = 6705da9d49bb81ee7a8d1388c99422e674d01cc07604d32a96e884a55d593db6
-SIZE (cyrus-imapd-2.3.20.tar.gz) = 2303302
-SHA256 (cyrus-imapd-2.3.16-autocreate-0.10-0.diff) = a373c9d4e3b35c8ecbd4ad7806cf50196525c3c1a32c35bc18d7b6c449bd57e3
-SIZE (cyrus-imapd-2.3.16-autocreate-0.10-0.diff) = 86056
-SHA256 (cyrus-imapd-2.3.16-autosieve-0.6.0.diff) = b50acaf0595e320ac89fdd15b375b7e051009ebbe839c461bbb2b2a7006c23c5
-SIZE (cyrus-imapd-2.3.16-autosieve-0.6.0.diff) = 7920
diff --git a/mail/cyrus-imapd23/files/cyrus-imapd-man.conf.in b/mail/cyrus-imapd23/files/cyrus-imapd-man.conf.in
deleted file mode 100644
index b7ba70fcce77..000000000000
--- a/mail/cyrus-imapd23/files/cyrus-imapd-man.conf.in
+++ /dev/null
@@ -1 +0,0 @@
-MANPATH %%PREFIX%%/cyrus/man
diff --git a/mail/cyrus-imapd23/files/imapd.conf b/mail/cyrus-imapd23/files/imapd.conf
deleted file mode 100644
index fe61045b6d0e..000000000000
--- a/mail/cyrus-imapd23/files/imapd.conf
+++ /dev/null
@@ -1,415 +0,0 @@
-# Sample configurations file for Cyrus IMAPd
-# Most lines in this file are commented; in this case the default is used. 
-# The commented lines (usually) contain the default value
-
-# The pathname of the IMAP configuration directory
-#
-configdirectory: /var/imap
-
-# The partition name used by default for new mailboxes
-#
-#defaultpartition: default
-
-# The directory for the different partitions
-#
-partition-default: /var/spool/imap
-
-# Use the UNIX separator character '/' for delimiting levels of
-# mailbox hierarchy.  The default is to use the netnews separator
-# character '.'.
-#unixhierarchysep: no
-
-# Use the alternate IMAP namespace, where personal folders reside at
-# the same level in the hierarchy as INBOX.
-#
-#altnamespace: no
-
-# If using the alternate IMAP namespace, the prefix for the other
-# users namespace.  The hierarchy delimiter will be automatically
-# appended.
-#
-#userprefix: Other Users
-
-# If using the alternate IMAP namespace, the prefix for the shared
-# namespace.  The hierarchy delimiter will be automatically appended.
-#
-#sharedprefix: Shared Folders
-
-# The umask value used by various Cyrus IMAP programs
-#
-#umask: 077
-
-# This is the hostname visible in the greeting messages of the POP,
-# IMAP and LMTP daemons. If it is unset, then the result returned from
-# gethostname(2) is used.
-#
-#servername: <result returned by gethostname(2)>
-
-# Whether to allow anonymous logins
-#
-#allowanonymouslogin: no
-
-# Allow the use of cleartext passwords on the wire.
-#
-#allowplaintext: yes
-
-# The percent  of  quota  utilization  over  which  the server generates
-# warnings.
-#
-#quotawarn: 90
-
-# The length of the IMAP server's inactivity autologout timer, in minutes.
-# The  minimum  value  is  30,  the default.
-#
-#timeout: 30
-
-# The interval (in seconds) for polling the mailbox for changes while
-# running the IDLE command.  This option is used when idled can not be
-# contacted or when polling is used exclusively.  The minimum value is
-# 1.  A value of 0 will disable polling (and disable IDLE if polling
-# is the only method available).
-#
-#imapidlepoll: 60
-
-# If enabled, the server responds to an ID command with a parameter
-# list containing: version, vendor, support-url, os, os-version,
-# command, arguments, environment.  Otherwise the server returns NIL.
-#
-#imapidresponse: yes
-
-# Set the length of the POP server's inactivity autologout timer, in
-# minutes.  The minimum value is 10, the default.
-#
-#poptimeout: 10
-
-# Set the minimum amount of time the server forces users to wait between 
-# successive POP logins, in  minutes.  The default is 0.
-#
-#popminpoll: 0
-
-# The number of days advertised as being the minimum a message may be
-# left on the POP server before it is deleted (via the CAPA command,
-# defined in the POP3 Extension Mechanism, which some clients may
-# support).  "NEVER", the default, may be specified with a negative
-# number.  The Cyrus POP3 server never deletes mail, no matter what
-# the value of this parameter is.  However, if a site implements a
-# less liberal policy, it needs to change this parameter accordingly.
-#
-#popexpiretime: 0
-
-# The list of userids with administrative rights.  Separate each userid
-# with a space.  We recommend that administrator userids be separate from 
-# standard userids.  Sites using Kerberos authentication may use separate
-# "admin" instances.
-#
-#admins: <none>
-
-# A list of users and groups that are allowed to proxy for other
-# users, seperated by spaces.  Any user listed in this will be allowed
-# to login for any other user: use with caution.
-#
-#proxyservers: <none>
-
-# The Access Control List (ACL) placed on a newly-created (non-user)
-# mailbox that does not have a parent mailbox.
-#
-#defaultacl: anyone lrs
-
-# The pathname of the news spool directory.  Only used if the partition-news
-# configuration option is set.
-#
-#newsspool: <no default>
-
-# Prefix to be prepended to newsgroup names to make the corresponding IMAP
-# mailbox names.
-#
-#newsprefix: <none>
-
-# If nonzero, normal users may create their own IMAP accounts by creating
-# the mailbox INBOX.  The user's quota is set to the value if it is positive,
-# otherwise the user has unlimited quota.
-#
-#autocreatequota: 0
-
-# Include notations in the protocol telemetry logs indicating the number
-# of seconds since the last command or response.
-#
-#logtimestamps: no
-
-# Number of seconds to pause after a successful plaintext login.  For systems
-# that support strong authentication, this permits users to perceive a cost
-# of using plaintext passwords.
-#
-#plaintextloginpause: 0
-
-# The pathname of srvtab file containing the server's private key.
-# This option is passed to the SASL library and overrides its default
-# setting.
-#
-#srvtab: /etc/srvtab
-
-# The list of remote realms whose users may log in using  cross-realm
-# authentications.   Seperate each realm name by a space.  This option is
-# only used when the server is compiled with Kerberos authentication.
-#
-#loginrealms: <none>
-
-# If enabled, any authentication identity which has a rights on a user's
-# INBOX may log in as that user.  This option is only used when the server
-# is compiled with Kerberos authentication.
-#
-#loginuseacl: no
-
-# If enabled, lmtpd attempts to only write one copy of a message per
-# partition and create hard links, resulting in a potentially large
-# disk savings.
-#
-#singleinstancestore: yes
-
-# If enabled, lmtpd will suppress delivery of a message to a mailbox
-# if a message with the same message-id (or resent-message-id) is
-# recorded as having already been delivered to the mailbox.  Records
-# the mailbox and message-id/resent-message-id of all successful
-# deliveries.
-#
-#duplicatesuppression: yes
-
-# If enabled, lmtpd rejects messages with 8-bit characters in the
-# headers.  Otherwise, 8-bit characters are changed to `X'.  (A proper
-# soultion to non-ASCII characters in headers is offered by RFC 2047
-# and its predecessors.)
-#
-#reject8bit: no
-
-# Maximum incoming LMTP message size.  If set, lmtpd will reject
-# messages larger than maxmessagesize bytes.  The default is to allow
-# messages of any size.
-#
-#maxmessagesize: <unlimited>
-
-# Userid used to deliver messages to shared folders.  For example, if
-# set to "bb", email sent to "bb+shared.blah" would be delivered to
-# the "shared.blah" folder.  By default, an email address of
-# "+shared.blah" would be used.
-#postuser: <none>
-
-# If enabled at compile time, this specifies a URL to reply when
-# Netscape asks the server where the mail administration HTTP server
-# is.  The default is a site at CMU with a hopefully informative
-# message; administrators should set this to a local resource with
-# some information of greater use.
-#
-#netscapeurl: http://andrew2.andrew.cmu.edu/cyrus/imapd/netscapeadmin.html
-
-# Notifyd(8) method to use for "MAIL" notifications.  If not set,
-# "MAIL" notifications are disabled.
-#
-#mailnotifier: <no default>
-
-# Notifyd(8) method to use for "SIEVE" notifications.  If not set,
-# "SIEVE" notifications are disabled.
-#
-# This method is only used when no method is specified in the script.
-#
-#sievenotifier: <no default>
-
-# If enabled, lmtpd will look for Sieve scripts in user's home
-# directories: ~user/.sieve.
-#
-sieveusehomedir: false
-
-# If sieveusehomedir is false, this directory is searched for Sieve scripts.
-# The active Sieve script is s called "default", placed in the users sieve
-# sieve directory (ie. /var/imap/sieve/u/user).
-#
-sievedir: /var/imap/sieve
-
-# The pathname of the sendmail executable.  Sieve uses sendmail for
-# sending rejections, redirects and vaca- tion responses.
-#
-#sendmail: /usr/sbin/sendmail
-
-# Username that is used as the 'From' address in rejection MDNs
-# produced by sieve.
-#
-#postmaster: postmaster
-
-# If enabled, the partitions will also be hashed, in addition to the hashing
-# done on configuration directories.  This is recommended if one partition has
-# a very bushy mailbox tree.
-#
-#hashimapspool: false
-
-# Maximum size (in kilobytes) any sieve script can be, enforced at
-# submission by timsieved(8).
-#
-#sieve_maxscriptsize: 32
-
-# Maximum number of sieve scripts any user may have, enforced at
-# submission by timsieved(8).
-#
-#sieve_maxscripts: 5
-
-# The cyrusdb backend to use for mailbox annotations.
-# Allowed values: berkeley, skiplist
-#
-#annotation_db: skiplist
-
-# The cyrusdb backend to use for the duplicate delivery suppression
-# and sieve.
-# Allowed values: berkeley, berkeley-nosync, skiplist
-#
-#duplicate_db: berkeley-nosync
-
-# The cyrusdb backend to use for the mailbox list.
-# Allowed values: flat, berkeley, skiplist
-#
-#mboxlist_db: skiplist
-
-# The cyrusdb backend to use for the pts cache.
-# Allowed values: berkeley, skiplist
-#
-#ptscache_db: berkeley
-
-# The cyrusdb backend to use for the seen state.
-# Allowed values: flat, berkeley, skiplist
-#
-#seenstate_db: skiplist
-
-# The cyrusdb backend to use for the imap status cache.
-# Allowed values:  berkeley, berkeley-nosync, berkeley-hash,
-# berkeley-hash-nosync, skiplist
-#
-#statuscache_db: berkeley-nosync
-
-# The cyrusdb backend to use for the subscriptions list.
-# Allowed values: flat, berkeley, skiplist
-#
-#subscription_db: flat
-
-# The cyrusdb backend to use for the TLS cache.
-# Allowed values: berkeley, berkeley-nosync, skiplist
-#
-#tlscache_db: berkeley-nosync
-
-# Maximum SSF (security strength factor) that the server will allow a
-# client to negotiate.
-#
-#sasl_maximum_layer: 256
-
-# The minimum SSF that the server will allow a client to negotiate.  A
-# value of 1 requires integrity protection; any higher value requires
-# some amount of encryption.
-#
-#sasl_minimum_layer: 0
-
-# The mechanism used by the server to verify plaintext passwords.  Possible
-# values include "auxprop" or "saslauthd"
-#
-sasl_pwcheck_method: auxprop
-
-# If enabled,  the SASL library will automatically create authentication
-# secrets when given a plaintext password.  See the SASL documentation.
-#
-#sasl_auto_transition: no
-
-# Whitespace separated list of mechanisms to allow (e.g. 'plain otp').
-# Used to restrict the mechanisms to a subset of the installed
-# plugins. The default is all available.
-#
-#sasl_mech_list: cram-md5 digest-md5
-
-# Location of the opiekeys file
-#
-#sasl_opiekeys: /etc/opiekeys
-
-# File containing the global certificate used for ALL services (imap,
-# pop3, lmtp).
-#
-#tls_cert_file: <none>
-
-# File containing the private key belonging to the global server
-# certificate.
-#
-#tls_key_file: <none>
-
-# File containing the certificate used for imap ONLY.  If not
-# specified, the global certificate is used.  A value of "disabled"
-# will disable SSL/TLS for imap.
-#
-#imap_tls_cert_file: <none>
-
-# File containing the private key belonging to the imap-specific
-# server certificate.  If not specified, the global private key is
-# used.  A value of "disabled" will disable SSL/TLS for imap.
-#
-#imap_tls_key_file: <none>
-
-# File containing the certificate used for pop3 ONLY.  If not
-# specified, the global certificate is used.  A value of "disabled"
-# will disable SSL/TLS for pop3.
-#
-#pop3_tls_cert_file: <none>
-
-# File containing the private key belonging to the pop3-specific
-# server certificate.  If not specified, the global private key is
-# used.  A value of "disabled" will disable SSL/TLS for pop3.
-#
-#pop3_tls_key_file: <none>
-
-# File containing the certificate used for lmtp ONLY.  If not
-# specified, the global certificate is used.  A value of "disabled"
-# will disable TLS for lmtp.
-#
-#lmtp_tls_cert_file: <none>
-
-# File containing the private key belonging to the lmtp-specific
-# server certificate.  If not specified, the global private key is
-# used.  A value of "disabled" will disable TLS for lmtp.
-#
-#lmtp_tls_key_file: <none>
-
-# File containing the certificate used for sieve ONLY.  If not
-# specified, the global certificate is used.  A value of "disabled"
-# will disable TLS for sieve.
-#
-#sieve_tls_cert_file: <none>
-
-# File containing the private key belonging to the sieve-specific
-# server certificate.  If not specified, the global private key is
-# used.  A value of "disabled" will disable TLS for sieve.
-#
-#sieve_tls_key_file: <none>
-
-# File containing one or more Certificate Authority (CA) certificates.
-#
-#tls_ca_file: <none>
-
-# Path to directory with certificates of CAs.
-#
-#tls_ca_path: <none>
-
-# The length of time (in minutes) that a TLS session will be cached
-# for later reuse.  The maximum value is 1440 (24 hours), the default.
-# A value of 0 will disable session caching.
-#
-#tls_session_timeout: 1440
-
-# The right that a user needs to delete a mailbox.
-#
-#deleteright: c
-
-# Unix domain socket that lmtpd listens on, used by deliver(8).
-#
-#lmtpsocket: /var/imap/socket/lmtp
-
-# Unix domain socket that idled listens on.
-#
-#idlesocket: /var/imap/socket/idle
-
-# Unix domain socket that the new mail notification daemon listens on.
-#
-#notifysocket: /var/imap/socket/notify
-
-#
-# EOF
diff --git a/mail/cyrus-imapd23/files/imapd.in b/mail/cyrus-imapd23/files/imapd.in
deleted file mode 100644
index 1623c9b7e54e..000000000000
--- a/mail/cyrus-imapd23/files/imapd.in
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-# Start or stop cyrus-imapd
-
-# PROVIDE: cyrus_imapd imap
-# REQUIRE: DAEMON
-# BEFORE: mail
-# KEYWORD: shutdown
-
-# Define these cyrus_imapd_* variables in one of these files:
-#	/etc/rc.conf
-#	/etc/rc.conf.local
-#	/etc/rc.conf.d/cyrus_imapd
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable="NO"	# Enable imapd
-#cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master"	# Location of imapd
-[ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program
-
-. /etc/rc.subr
-
-name="cyrus_imapd"
-rcvar=cyrus_imapd_enable
-command="%%PREFIX%%/cyrus/bin/master"
-pidfile="/var/run/cyrus-master.pid"
-required_files="%%PREFIX%%/etc/cyrus.conf %%PREFIX%%/etc/imapd.conf"
-stop_postcmd="cyrus_imapd_poststop"
-extra_commands="reload"
-
-cyrus_imapd_poststop() {
-	/bin/rm -f ${pidfile}
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/mail/cyrus-imapd23/files/patch-Makefile.in b/mail/cyrus-imapd23/files/patch-Makefile.in
deleted file mode 100644
index 71800e59efb8..000000000000
--- a/mail/cyrus-imapd23/files/patch-Makefile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: Makefile.in
-diff -u Makefile.in.orig Makefile.in
---- Makefile.in.orig	Sat May 15 05:59:10 2004
-+++ Makefile.in	Wed May 19 00:23:11 2004
-@@ -97,13 +97,13 @@
- 	touch distcvs
- 
- install::
--	$(srcdir)/install-sh -d ${DESTDIR}$(exec_prefix)/bin
--	$(srcdir)/install-sh -d ${DESTDIR}$(exec_prefix)/lib
--	$(srcdir)/install-sh -d ${DESTDIR}$(prefix)/include/cyrus
--	$(srcdir)/install-sh -d ${DESTDIR}$(mandir)/man1
--	$(srcdir)/install-sh -d ${DESTDIR}$(mandir)/man3
--	$(srcdir)/install-sh -d ${DESTDIR}$(mandir)/man5
--	$(srcdir)/install-sh -d ${DESTDIR}$(mandir)/man8
-+	$(INSTALL) -d ${DESTDIR}$(exec_prefix)/bin
-+	$(INSTALL) -d ${DESTDIR}$(exec_prefix)/lib
-+	$(INSTALL) -d ${DESTDIR}$(prefix)/include/cyrus
-+	$(INSTALL) -d ${DESTDIR}$(mandir)/man1
-+	$(INSTALL) -d ${DESTDIR}$(mandir)/man3
-+	$(INSTALL) -d ${DESTDIR}$(mandir)/man5
-+	$(INSTALL) -d ${DESTDIR}$(cyrus_prefix)/man/man8
- 	@for d in  $(SUBDIRS); \
- 	do \
- 		(cd $$d; echo "### Making" install "in" `pwd`;	\
diff --git a/mail/cyrus-imapd23/files/patch-configure b/mail/cyrus-imapd23/files/patch-configure
deleted file mode 100644
index a9c9bfb4a2d0..000000000000
--- a/mail/cyrus-imapd23/files/patch-configure
+++ /dev/null
@@ -1,48 +0,0 @@
-Index: configure
-diff -u configure.orig configure
---- configure.orig	2011-09-14 13:19:05.073252913 +0900
-+++ configure	2011-09-14 13:21:19.010068209 +0900
-@@ -606,6 +606,7 @@
- IMAP_COM_ERR_LIBS
- LIB_RT
- LIB_UCDSNMP
-+LDFLAGS_UCDSNMP
- SNMP_CONFIG
- LIB_WRAP
- SNMP_SUBDIRS
-@@ -7171,7 +7172,7 @@
- 
- done
- 
--	if test "$ac_cv_header_pcreposix_h" == "yes"; then
-+	if test "$ac_cv_header_pcreposix_h" = "yes"; then
- 		LIBS="$LIBS -lpcre -lpcreposix";
- 
- $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h
-@@ -9540,7 +9540,7 @@
-   $as_echo_n "(cached) " >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgssapi ${GSSAPIBASE_LIBS} -lgssapi -lkrb5 -lasn1 -lroken ${LIB_CRYPT} ${LIB_DES} -lcom_err ${LIB_SOCKET} $LIBS"
-+LIBS="-lgssapi ${GSSAPIBASE_LIBS} -lgssapi -lkrb5 -lasn1 -lroken ${LIB_CRYPT} ${LIB_DES} -lcom_err ${LIB_SOCKET} -lhx509 $LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- 
-@@ -9842,7 +9842,7 @@
-     GSSAPIBASE_STATIC_LIBS="$GSSAPIBASE_LIBS $gssapi_dir/libgssapi_krb5.a $gssapi_dir/libkrb5.a $gssapi_dir/libk5crypto.a $gssapi_dir/libcom_err.a ${K5SUPSTATIC}"
-   elif test "$gss_impl" = "heimdal"; then
-     CPPFLAGS="$CPPFLAGS -DKRB5_HEIMDAL"
--    GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS -lgssapi -lkrb5 -lasn1 -lroken ${LIB_CRYPT} ${LIB_DES} -lcom_err"
-+    GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS -lgssapi -lkrb5 -lasn1 -lroken ${LIB_CRYPT} ${LIB_DES} -lcom_err -lhx509"
-     GSSAPIBASE_STATIC_LIBS="$GSSAPIBASE_STATIC_LIBS $gssapi_dir/libgssapi.a $gssapi_dir/libkrb5.a $gssapi_dir/libasn1.a $gssapi_dir/libroken.a $gssapi_dir/libcom_err.a ${LIB_CRYPT}"
-   elif test "$gss_impl" = "cybersafe03"; then
- # Version of CyberSafe with two libraries
-@@ -10781,7 +10784,7 @@
- 
- $as_echo "#define HAVE_UCDSNMP 1" >>confdefs.h
- 
--      LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp"
-+      LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmdbOpen in -lrpm" >&5
- $as_echo_n "checking for rpmdbOpen in -lrpm... " >&6; }
- if ${ac_cv_lib_rpm_rpmdbOpen+:} false; then :
diff --git a/mail/cyrus-imapd23/files/patch-imap__Makefile.in b/mail/cyrus-imapd23/files/patch-imap__Makefile.in
deleted file mode 100644
index e1a94d35f26f..000000000000
--- a/mail/cyrus-imapd23/files/patch-imap__Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: imap/Makefile.in
-diff -u imap/Makefile.in.orig imap/Makefile.in
---- imap/Makefile.in.orig	Fri Nov 18 00:46:14 2005
-+++ imap/Makefile.in	Sat Dec 10 16:46:31 2005
-@@ -130,10 +130,10 @@
- 
- 
- install:
--	$(srcdir)/../install-sh -d ${DESTDIR}$(service_path)
-+	$(INSTALL) -d ${DESTDIR}$(service_path)
- 	for file in $(PROGS); \
- 	do \
--		$(INSTALL) -m 755 $$file $(DESTDIR)$(service_path) || exit 1; \
-+		$(INSTALL) -s -m 755 $$file $(DESTDIR)$(service_path) || exit 1; \
- 	done
- 	ln -f $(DESTDIR)$(service_path)/pop3d $(DESTDIR)$(service_path)/pop3proxyd
- 	ln -f $(DESTDIR)$(service_path)/imapd $(DESTDIR)$(service_path)/proxyd
diff --git a/mail/cyrus-imapd23/files/patch-imtest__imtest.c b/mail/cyrus-imapd23/files/patch-imtest__imtest.c
deleted file mode 100644
index 30b84fb9556a..000000000000
--- a/mail/cyrus-imapd23/files/patch-imtest__imtest.c
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: imtest/imtest.c
-diff -u imtest/imtest.c.orig imtest/imtest.c
---- imtest/imtest.c.orig	Sun Jul 13 05:10:56 2003
-+++ imtest/imtest.c	Fri Jul 18 00:52:29 2003
-@@ -419,8 +420,8 @@
- }
- 
- 
--char *var_tls_CAfile="";
--char *var_tls_CApath="";
-+static char *var_tls_CAfile="";
-+static char *var_tls_CApath="";
- /*
-  * This is the setup routine for the SSL client. 
-  *
diff --git a/mail/cyrus-imapd23/files/patch-lib__Makefile.in b/mail/cyrus-imapd23/files/patch-lib__Makefile.in
deleted file mode 100644
index 543ece89f131..000000000000
--- a/mail/cyrus-imapd23/files/patch-lib__Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: lib/Makefile.in
-diff -u lib/Makefile.in.orig lib/Makefile.in
---- lib/Makefile.in.orig	Thu Mar 11 06:25:39 2004
-+++ lib/Makefile.in	Wed May 19 00:34:19 2004
-@@ -102,7 +102,7 @@
- all: $(BUILTSOURCES) libcyrus_min.a libcyrus.a
- 
- install:
--	$(srcdir)/../install-sh -d $(DESTDIR)$(libdir)
-+	$(INSTALL) -d $(DESTDIR)$(libdir)
- 	$(INSTALL) -m 644 libcyrus.a $(DESTDIR)$(libdir)
- 	$(INSTALL) -m 644 libcyrus_min.a $(DESTDIR)$(libdir)
- 	 $(RANLIB) $(DESTDIR)$(libdir)/libcyrus.a
diff --git a/mail/cyrus-imapd23/files/patch-lib__charset.c b/mail/cyrus-imapd23/files/patch-lib__charset.c
deleted file mode 100644
index 704401378fd8..000000000000
--- a/mail/cyrus-imapd23/files/patch-lib__charset.c
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: lib/charset.c
-diff -u -p lib/charset.c.orig lib/charset.c
---- lib/charset.c.orig	2011-10-05 04:59:14.000000000 +0900
-+++ lib/charset.c	2012-01-08 03:18:45.000000000 +0900
-@@ -861,7 +861,7 @@ void mimeheader_cat(struct convert_rock 
-     int len;
-     char *res;
- 
--    if (!s) return 0;
-+    if (!s) return;
- 
-     /* set up the conversion path */
-     input = table_init(0, target);
diff --git a/mail/cyrus-imapd23/files/patch-lib__imapoptions b/mail/cyrus-imapd23/files/patch-lib__imapoptions
deleted file mode 100644
index 8c79e3b2e8f4..000000000000
--- a/mail/cyrus-imapd23/files/patch-lib__imapoptions
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: lib/imapoptions
-diff -u lib/imapoptions.orig lib/imapoptions
---- lib/imapoptions.orig	2008-10-12 21:22:03.000000000 +0900
-+++ lib/imapoptions	2008-10-12 21:23:33.000000000 +0900
-@@ -893,7 +893,7 @@
- { "seenstate_db", "skiplist", STRINGLIST("flat", "berkeley", "berkeley-hash", "skiplist")}
- /* The cyrusdb backend to use for the seen state. */
- 
--{ "sendmail", "/usr/lib/sendmail", STRING }
-+{ "sendmail", "/usr/sbin/sendmail", STRING }
- /* The pathname of the sendmail executable.  Sieve invokes sendmail
-    for sending rejections, redirects and vacation responses. */
- 
-@@ -956,7 +956,7 @@
- /* If enabled, timsieved will expect a capability response after a successful
-    SASL authentication, per draft-martin-mangesieve-12.txt . */
- 
--{ "sievedir", "/usr/sieve", STRING }
-+{ "sievedir", "/var/imap/sieve", STRING }
- /* If sieveusehomedir is false, this directory is searched for Sieve
-    scripts. */
- 
diff --git a/mail/cyrus-imapd23/files/patch-lib__libcyr_cfg.c b/mail/cyrus-imapd23/files/patch-lib__libcyr_cfg.c
deleted file mode 100644
index 5cbb64001209..000000000000
--- a/mail/cyrus-imapd23/files/patch-lib__libcyr_cfg.c
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: lib/libcyr_cfg.c
-diff -u -p lib/libcyr_cfg.c.orig lib/libcyr_cfg.c
---- lib/libcyr_cfg.c.orig	Wed Mar 10 00:05:58 2004
-+++ lib/libcyr_cfg.c	Fri Feb 25 00:06:44 2005
-@@ -52,7 +52,7 @@
- #include "libcyr_cfg.h"
- #include "cyrusdb.h"
- 
--#if defined(__GNUC__) && __GNUC__ > 1
-+#if defined(__GNUC__) && __GNUC__ > 1 && !defined(__INTEL_COMPILER)
- /* We can use the GCC union constructor extension */
- #define CFGVAL(t,v)	(union cyrus_config_value)((t)(v))
- #else
diff --git a/mail/cyrus-imapd23/files/patch-man__Makefile.in b/mail/cyrus-imapd23/files/patch-man__Makefile.in
deleted file mode 100644
index 1b0061897d43..000000000000
--- a/mail/cyrus-imapd23/files/patch-man__Makefile.in
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: man/Makefile.in
-diff -u man/Makefile.in.orig man/Makefile.in
---- man/Makefile.in.orig	Wed May 11 00:02:35 2005
-+++ man/Makefile.in	Sat Dec 10 15:26:05 2005
-@@ -50,6 +50,7 @@
- SHELL = /bin/sh
- 
- prefix = @prefix@
-+cyrus_prefix = @cyrus_prefix@
- 
- mandir = @mandir@
- 
-@@ -95,7 +96,7 @@
- 	done
- 	for file in $(MAN8); \
- 	do \
--		$(INSTALL) -m 644 $$file $(DESTDIR)$(mandir)/man8 || exit 1; \
*** 465 LINES SKIPPED ***