Index: head/mail/cyrus-imapd/Makefile =================================================================== --- head/mail/cyrus-imapd/Makefile (revision 39739) +++ head/mail/cyrus-imapd/Makefile (revision 39740) @@ -1,97 +1,109 @@ -# New ports collection makefile for: cyrus -# Date created: May 4th 1997 -# Whom: jfitz@FreeBSD.org +# New ports collection makefile for: cyrus-imapd +# Date created: Jan 4th 2001 +# Whom: ume@FreeBSD.org # # $FreeBSD$ # -PORTNAME= cyrus -PORTVERSION= 1.6.24 -PORTREVISION= 1 -CATEGORIES= mail tcl82 +PORTNAME= cyrus-imapd +PORTVERSION= 2.0.12 +CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ -DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +PATCHFILES= ${DISTNAME}-ipv6-20010222.diff.gz -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ + db3.2:${PORTSDIR}/databases/db3 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=${LOCALBASE} \ - --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ + --with-sasl=${LOCALBASE} \ + --with-dbdir=${LOCALBASE} \ --with-auth=unix \ - --with-com-err + --with-com_err +.if defined(WITH_SNMP) +# It seems not compilable due to lack of auto_nlist_value() in libucdagent. +CONFIGURE_ENV= LIBS=-lkvm +.else +CONFIGURE_ARGS+=--with-ucdsnmp=no +.endif + MAN1= cyradm.1 imtest.1 installsieve.1 MAN3= imclient.3 -MAN5= imapd.conf.5 krb.equiv.5 -MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \ - imapd.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 syncnews.8 \ - timsieved.8 +MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 +MAN8= arbitron.8 ctl_deliver.8 ctl_mboxlist.8 collectnews.8 \ + cyrquota.8 deliver.8 fud.8 idled.8 imapd.8 ipurge.8 \ + lmtpd.8 master.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 \ + syncnews.8 timsieved.8 -post-configure: - @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c +DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ + changes copyrights feedback index install install-admin-mb \ + install-compile install-configure install-murder install-perf \ + install-prereq install-sieve install-snmpmon install-testing \ + install-upgrade mailing-list notes os overview questions \ + quota-extension readme server-design sieve sieve-protocol +HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ + install-auth install-compile install-configure install-murder \ + install-perf install-prereq install-sieve install-snmpmon \ + install-testing install-upgrade install mailing-list notes \ + os overview questions readme sieve-protocol sieve pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL -DOCS= README acl-extension anoncvs bugs changes copyrights install \ - mailing-list overview quota-extension server-design -HTDOCS= anoncvs bugs changes index install mailing-list overview \ - questions readme sieve-protocol sieve post-install: @ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cyrus/html -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} \ + ${MKDIR} ${PREFIX}/share/doc/cyrus/text +.for file in ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \ ${PREFIX}/share/doc/cyrus - @${ECHO} share/doc/cyrus/${file} >>${TMPPLIST} + @${ECHO} share/doc/cyrus/${file}.html >>${TMPPLIST} .endfor -.for file in ${HTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/html/${file}.html \ - ${PREFIX}/share/doc/cyrus/html - @${ECHO} share/doc/cyrus/html/${file}.html >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \ + ${PREFIX}/share/doc/cyrus + @${ECHO} share/doc/cyrus/cyrusv2.mc >>${TMPPLIST} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \ + ${PREFIX}/share/doc/cyrus/text + @${ECHO} share/doc/cyrus/text/${file} >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/cyrus/html" >>${TMPPLIST} + @${ECHO} "@dirrm share/doc/cyrus/text" >>${TMPPLIST} @${ECHO} "@dirrm share/doc/cyrus" >>${TMPPLIST} .endif + ${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ + ${PREFIX}/etc/rc.d/imapd.sh.sample ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${PREFIX}/etc/imapd.conf.dist - ${INSTALL_DATA} ${FILESDIR}/inetd.conf.cyrus \ - ${PREFIX}/etc/ - ${INSTALL} -d -m 750 -o cyrus -g cyrus \ - /var/spool/imap \ - ${PREFIX}/etc/imap \ - ${PREFIX}/etc/imap/user \ - ${PREFIX}/etc/imap/quota \ - ${PREFIX}/etc/imap/proc \ - ${PREFIX}/etc/imap/log \ - ${PREFIX}/etc/imap/msg - ${TOUCH} ${PREFIX}/etc/imap/mailboxes - ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} -.for dir in user quota proc log msg - @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ + ${PREFIX}/etc/cyrus.conf.dist + ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf + ${CHOWN} -R cyrus:cyrus /var/imap + ${CHOWN} -R cyrus:cyrus /var/spool/imap + @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} +.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db + @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} + @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@dirrm etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@dirrm imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} + @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/cyrus-imapd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/mail/cyrus-imapd/distinfo =================================================================== --- head/mail/cyrus-imapd/distinfo (revision 39739) +++ head/mail/cyrus-imapd/distinfo (revision 39740) @@ -1 +1,2 @@ -MD5 (cyrus-imapd-1.6.24.tar.gz) = 490a246e787581e0bbc558788ff5f562 +MD5 (cyrus-imapd-2.0.12.tar.gz) = 61c2e2b200d487852f1856e8787f546f +MD5 (cyrus-imapd-2.0.12-ipv6-20010222.diff.gz) = 11ac759bbb18d7bdfbc1c016ed6985df Property changes on: head/mail/cyrus-imapd/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-ae =================================================================== --- head/mail/cyrus-imapd/files/patch-ae (revision 39739) +++ head/mail/cyrus-imapd/files/patch-ae (nonexistent) @@ -1,11 +0,0 @@ ---- imap/deliver.c.orig Tue Jan 4 17:49:02 2000 -+++ imap/deliver.c Tue Oct 31 22:49:37 2000 -@@ -821,7 +821,7 @@ - } - } - --#define SENDMAIL "/usr/lib/sendmail" -+#define SENDMAIL "/usr/sbin/sendmail" - #define POSTMASTER "postmaster" - - static char *month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Property changes on: head/mail/cyrus-imapd/files/patch-ae ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-ad =================================================================== --- head/mail/cyrus-imapd/files/patch-ad (revision 39739) +++ head/mail/cyrus-imapd/files/patch-ad (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Sun Apr 9 01:13:23 2000 -+++ configure.in Sun Apr 9 01:13:43 2000 -@@ -528,7 +528,7 @@ - # filename, it should be safe to add it (to the front of the line -- - # somef vendors have older, badly installed tclshs that we want to avoid - # if we can) -- AC_PATH_PROGS(TCLSH, [tclsh8.1 tclsh8.0 tclsh], "unknown") -+ AC_PATH_PROGS(TCLSH, [tclsh8.2 tclsh8.1 tclsh8.0 tclsh], "unknown") - fi - - # Do we know where to get a tclsh? Property changes on: head/mail/cyrus-imapd/files/patch-ad ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bj =================================================================== --- head/mail/cyrus-imapd/files/patch-bj (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bj (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/config.c Sun Apr 9 07:58:37 2000 -+++ config.c Sun Apr 9 07:58:47 2000 -@@ -41,7 +41,7 @@ - - extern int errno; - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#define CONFIG_FILENAME "/usr/local/etc/imapd.conf" - - struct configlist { - char *key; Property changes on: head/mail/cyrus-imapd/files/patch-bj ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bi =================================================================== --- head/mail/cyrus-imapd/files/patch-bi (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bi (nonexistent) @@ -1,11 +0,0 @@ ---- installsieve/Makefile.in.orig Sun Apr 9 01:58:03 2000 -+++ installsieve/Makefile.in Sun Apr 9 01:58:35 2000 -@@ -28,7 +28,7 @@ - CC = @CC@ - - DEFS = @DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd/files/patch-bi ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bh =================================================================== --- head/mail/cyrus-imapd/files/patch-bh (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bh (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/Makefile.in.orig Sun Apr 9 01:52:10 2000 -+++ timsieved/Makefile.in Sun Apr 9 01:52:37 2000 -@@ -34,7 +34,7 @@ - CYRUS_GROUP=@cyrus_group@ - - DEFS = @DEFS@ @LOCALDEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd/files/patch-bh ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bg =================================================================== --- head/mail/cyrus-imapd/files/patch-bg (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bg (nonexistent) @@ -1,12 +0,0 @@ ---- configure.orig Fri Dec 4 12:03:58 1998 -+++ configure Sat Apr 15 11:44:42 2000 -@@ -3348,6 +3348,9 @@ - - fi - -+# Kerberos IV on FreeBSD depends on libcom_err. -+LIBS="-lcom_err $LIBS" -+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h - - echo $ac_n "checking for crypt""... $ac_c" 1>&6 - echo "configure:3354: checking for crypt" >&5 Property changes on: head/mail/cyrus-imapd/files/patch-bg ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bf =================================================================== --- head/mail/cyrus-imapd/files/patch-bf (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bf (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Fri Dec 4 11:34:53 1998 -+++ configure.in Sun Apr 9 12:16:24 2000 -@@ -698,6 +698,8 @@ - - dnl Kerberos wants this so we might as well check on it first - AC_CHECK_FUNC(res_search,,AC_CHECK_LIB(resolv,res_search)) -+ dnl Kerberos IV on FreeBSD depends on libcom_err, so check for it -+ AC_CHECK_LIB(com_err, init_error_table) - - dnl gotta do this: crypt is used by sasl_krb_server.c - AC_CHECK_FUNC(crypt,,AC_CHECK_LIB(crypt, crypt)) Property changes on: head/mail/cyrus-imapd/files/patch-bf ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bb =================================================================== --- head/mail/cyrus-imapd/files/patch-bb (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bb (nonexistent) @@ -1,13 +0,0 @@ ---- cyradm/Makefile.in.orig Fri Aug 7 08:48:26 1998 -+++ cyradm/Makefile.in Mon May 10 02:40:06 1999 -@@ -33,8 +33,8 @@ - RANLIB = @RANLIB@ - - DEFS = @DEFS@ @TCL_DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ --LIBS = @TCL_LIBS@ @IMAP_LIBS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ @SASLFLAGS@ -+LIBS = @TCL_LIBS@ -lm @IMAP_LIBS@ - DEPLIBS = ../lib/libcyrus.a @DEPLIBS@ - - CFLAGS = @CFLAGS@ Property changes on: head/mail/cyrus-imapd/files/patch-bb ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-ca =================================================================== --- head/mail/cyrus-imapd/files/patch-ca (revision 39739) +++ head/mail/cyrus-imapd/files/patch-ca (nonexistent) @@ -1,10 +0,0 @@ ---- sieve/comparator.h.orig Sun Nov 12 18:00:13 2000 -+++ sieve/comparator.h Sun Nov 12 18:00:19 2000 -@@ -31,6 +31,7 @@ - #ifdef HAVE_RX - #include - #else -+#include - #include - #endif - #endif Property changes on: head/mail/cyrus-imapd/files/patch-ca ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/inetd.conf.cyrus =================================================================== --- head/mail/cyrus-imapd/files/inetd.conf.cyrus (revision 39739) +++ head/mail/cyrus-imapd/files/inetd.conf.cyrus (nonexistent) @@ -1,19 +0,0 @@ -# -# Example entry for inetd.conf for the Cyrus IMAP server. -# $FreeBSD$ -# -# Replace /usr/local with the path where you've installed the package. -# -# The IMAP-4 server. -imap4 stream tcp nowait cyrus /usr/local/cyrus/bin/imapd imapd -# -# To be able to access the IMAP mailbox by POP-3, use this line. -pop3 stream tcp nowait cyrus /usr/local/cyrus/bin/pop3d pop3d -# -# Program to upload user sieve scripts to the IMAP server. -# -# NOTE: you will need to add "sieve" to /etc/services. -# timsieved uses port 2000. -# -sieve stream tcp nowait cyrus /usr/local/cyrus/bin/timsieved sieve - Property changes on: head/mail/cyrus-imapd/files/inetd.conf.cyrus ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd/files/imapd.conf =================================================================== --- head/mail/cyrus-imapd/files/imapd.conf (revision 39739) +++ head/mail/cyrus-imapd/files/imapd.conf (revision 39740) @@ -1,139 +1,139 @@ # # $FreeBSD$ # # 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: /usr/local/etc/imap +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 # The umask value used by various Cyrus IMAP programs # #umask: 077 # Whether to allow anonymous logins # #allowanonymouslogin: no # 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 # 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 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: # The list of the host names of the mail domain's IMSP servers. Separate each # host name with a space. The Kerberos identities of these servers may login # as any user in order to perform commands by proxy. # #imspservers: # 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: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # 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 only used when the server is compiled with Kerberos # authentication. # #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: # 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, deliver wil 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. /usr/local/etc/imap/sieve/u/user). +# sieve directory (ie. /var/imap/sieve/u/user). # -sievedir: /usr/local/etc/imap/sieve +sievedir: /var/imap/sieve # 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 # The mechanism used by the server to verify plaintext passwords. Possible # values include "PAM", "kerberos_v4", "passwd", and "shadow" # sasl_pwcheck_method: pwcheck # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # # EOF Property changes on: head/mail/cyrus-imapd/files/imapd.conf ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/cyrus-imapd/files/imapd.sh =================================================================== --- head/mail/cyrus-imapd/files/imapd.sh (nonexistent) +++ head/mail/cyrus-imapd/files/imapd.sh (revision 39740) @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 Property changes on: head/mail/cyrus-imapd/files/imapd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-ac =================================================================== --- head/mail/cyrus-imapd/files/patch-ac (revision 39739) +++ head/mail/cyrus-imapd/files/patch-ac (revision 39740) @@ -1,11 +1,13 @@ ---- configure Thu Jan 6 22:28:51 2000 -+++ /tmp/configure.new Sat Apr 8 20:55:29 2000 -@@ -4951,7 +4951,7 @@ - # try the user-specified path --- too lazy to test for it right now - LIB_SASL="-L$sasldir/lib -lsasl" - -- SASLFLAGS="-I$sasldir/include" -+ SASLFLAGS="-I$sasldir/include/sasl" - - fi +Index: configure +diff -u configure.orig configure +--- configure.orig Thu Dec 21 06:39:31 2000 ++++ configure Thu Jan 4 23:22:47 2001 +@@ -4178,7 +4178,7 @@ + cmu_saved_LIBS=$LIBS + if test -d ${with_sasl}; then + ac_cv_sasl_where_lib=${with_sasl}/lib +- ac_cv_sasl_where_inc=${with_sasl}/include ++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl + SASLFLAGS="-I$ac_cv_sasl_where_inc" + LIB_SASL="-L$ac_cv_sasl_where_lib" Property changes on: head/mail/cyrus-imapd/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-af =================================================================== --- head/mail/cyrus-imapd/files/patch-af (nonexistent) +++ head/mail/cyrus-imapd/files/patch-af (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpd.c +diff -u imap/lmtpd.c.orig imap/lmtpd.c +--- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 +@@ -407,7 +407,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd/files/patch-af ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-ag =================================================================== --- head/mail/cyrus-imapd/files/patch-ag (nonexistent) +++ head/mail/cyrus-imapd/files/patch-ag (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpproxyd.c +diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c +--- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 +@@ -398,7 +398,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-bc =================================================================== --- head/mail/cyrus-imapd/files/patch-bc (revision 39739) +++ head/mail/cyrus-imapd/files/patch-bc (revision 39740) @@ -1,19 +1,13 @@ -*** imap/Makefile.in.orig Fri Nov 5 01:00:34 1999 ---- imap/Makefile.in Thu Mar 9 18:59:14 2000 -*************** -*** 45,51 **** - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ ---- 45,51 ---- - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ +Index: imap/Makefile.in +diff -u imap/Makefile.in.orig imap/Makefile.in +--- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 ++++ imap/Makefile.in Thu Jan 4 23:30:15 2001 +@@ -64,7 +64,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" + CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ + IMAP_LIBS = @IMAP_LIBS@ + SIEVE_LIBS = @SIEVE_LIBS@ Property changes on: head/mail/cyrus-imapd/files/patch-bc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-dc =================================================================== --- head/mail/cyrus-imapd/files/patch-dc (nonexistent) +++ head/mail/cyrus-imapd/files/patch-dc (revision 39740) @@ -0,0 +1,13 @@ +Index: master/Makefile.in +diff -u master/Makefile.in.orig master/Makefile.in +--- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 ++++ master/Makefile.in Sat Jan 6 06:08:21 2001 +@@ -52,7 +52,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" + CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ + DEPLIBS = @DEPLIBS@ + Property changes on: head/mail/cyrus-imapd/files/patch-dc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-dd =================================================================== --- head/mail/cyrus-imapd/files/patch-dd (nonexistent) +++ head/mail/cyrus-imapd/files/patch-dd (revision 39740) @@ -0,0 +1,14 @@ +Index: master/masterconf.c +diff -u master/masterconf.c.orig master/masterconf.c +--- master/masterconf.c.orig Wed May 24 05:56:30 2000 ++++ master/masterconf.c Sat Jan 6 06:07:22 2001 +@@ -60,7 +60,9 @@ + + extern int errno; + ++#if !defined(CONFIG_FILENAME) + #define CONFIG_FILENAME "/etc/cyrus.conf" ++#endif + + struct configlist { + char *key; Property changes on: head/mail/cyrus-imapd/files/patch-dd ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd/files/patch-df =================================================================== --- head/mail/cyrus-imapd/files/patch-df (nonexistent) +++ head/mail/cyrus-imapd/files/patch-df (revision 39740) @@ -0,0 +1,22 @@ +Index: master/service.c +=================================================================== +RCS file: /usr/home/ume/ncvs/src/cyrus-imapd/master/service.c,v +retrieving revision 1.2 +diff -u -r1.2 service.c +--- master/service.c 2001/02/01 14:11:43 1.2 ++++ master/service.c 2001/02/01 22:10:35 +@@ -99,7 +99,13 @@ + + /* is this a connection from the local host? */ + if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { +- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { ++ switch (((struct sockaddr *)&sin)->sa_family) { ++ case AF_INET: ++#ifdef INET6 ++ case AF_INET6: ++#endif ++ break; ++ default: + return 1; + } + } Property changes on: head/mail/cyrus-imapd/files/patch-df ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd/pkg-comment =================================================================== --- head/mail/cyrus-imapd/pkg-comment (revision 39739) +++ head/mail/cyrus-imapd/pkg-comment (revision 39740) @@ -1 +1 @@ -The cyrus mail server, supporting POP3, KPOP, and IMAP4 protocols +The cyrus mail server, supporting POP3 and IMAP4 protocols Property changes on: head/mail/cyrus-imapd/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/mail/cyrus-imapd/pkg-deinstall =================================================================== --- head/mail/cyrus-imapd/pkg-deinstall (revision 39739) +++ head/mail/cyrus-imapd/pkg-deinstall (revision 39740) @@ -1,47 +1,48 @@ #!/bin/sh # # $FreeBSD$ # # Created by: hetzels@westbend.net #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same rm $1 ;; 1) # config file exists and differs ;; *) # no config file exists ;; esac } # Uninstall 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.tmp if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf fi rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp fi } case $2 in DEINSTALL) cd ${PKG_PREFIX} cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf + checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; POST-DEINSTALL) ;; esac Property changes on: head/mail/cyrus-imapd/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd/pkg-install =================================================================== --- head/mail/cyrus-imapd/pkg-install (revision 39739) +++ head/mail/cyrus-imapd/pkg-install (revision 39740) @@ -1,126 +1,110 @@ #!/bin/sh #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} # # create 'cyrus' user and group before installing # create() { if [ ! -x /usr/sbin/pw ]; then echo "*** Please add a user and a group named \`cyrus' before installing this package." exit 69 fi if ! pw show group cyrus -q >/dev/null; then gid=60 while pw show group -g ${gid} -q >/dev/null; do gid=`expr ${gid} + 1` done if ! pw add group cyrus -g ${gid}; then e=$? echo "*** Failed to add group \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added group \`cyrus' (id ${gid})" else gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` fi if [ -x /sbin/nologin ]; then shell=/sbin/nologin else shell=/nonexistent fi if ! pw show user cyrus -q >/dev/null; then uid=60 while pw show user -u ${uid} -q >/dev/null; do uid=`expr ${uid} + 1` done if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to add user \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added user \`cyrus' (id ${uid})" else if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to update user \`cyrus'." exit ${e} fi echo "*** Updated user \`cyrus'." fi if ! pw group mod cyrus -m daemon; then echo "*** can't add user \`daemon' to group \`cyrus'" fi } checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; 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) create ;; 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'" - echo " is suitable for the Cyrus IMAP server." - 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." + checkfile ${PKG_PREFIX}/etc/cyrus.conf 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 Property changes on: head/mail/cyrus-imapd/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd/pkg-plist =================================================================== --- head/mail/cyrus-imapd/pkg-plist (revision 39739) +++ head/mail/cyrus-imapd/pkg-plist (revision 39740) @@ -1,41 +1,59 @@ -bin/cyradm bin/imtest -bin/installsieve -cyrus/bin/arbitron -cyrus/bin/collectnews +bin/cyradm +cyrus/bin/ctl_deliver +cyrus/bin/ctl_mboxlist cyrus/bin/cyrquota cyrus/bin/deliver -cyrus/bin/dump_deliverdb cyrus/bin/feedcyrus cyrus/bin/fud cyrus/bin/imapd +cyrus/bin/ipurge +cyrus/bin/lmtpd +cyrus/bin/master cyrus/bin/mbpath cyrus/bin/pop3d cyrus/bin/reconstruct -cyrus/bin/syncnews cyrus/bin/timsieved +etc/cyrus.conf.dist +etc/cyrus.conf etc/imapd.conf.dist -etc/inetd.conf.cyrus +etc/imapd.conf +etc/rc.d/imapd.sh.sample +include/cyrus/acap.h include/cyrus/acl.h include/cyrus/assert.h include/cyrus/auth.h include/cyrus/bsearch.h include/cyrus/charset.h +include/cyrus/cyrusdb.h include/cyrus/glob.h include/cyrus/gmtoff.h +include/cyrus/hash.h +include/cyrus/imapurl.h include/cyrus/imclient.h include/cyrus/imparse.h include/cyrus/lock.h +include/cyrus/lsort.h include/cyrus/map.h include/cyrus/mkgmtime.h include/cyrus/nonblock.h include/cyrus/parseaddr.h include/cyrus/prot.h include/cyrus/retry.h +include/cyrus/stristr.h include/cyrus/sysexits.h include/cyrus/util.h include/cyrus/xmalloc.h lib/libcyrus.a +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm @dirrm cyrus/bin @dirrm cyrus @dirrm include/cyrus +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus Property changes on: head/mail/cyrus-imapd/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/mail/cyrus-imapd2/Makefile =================================================================== --- head/mail/cyrus-imapd2/Makefile (revision 39739) +++ head/mail/cyrus-imapd2/Makefile (revision 39740) @@ -1,97 +1,109 @@ -# New ports collection makefile for: cyrus -# Date created: May 4th 1997 -# Whom: jfitz@FreeBSD.org +# New ports collection makefile for: cyrus-imapd +# Date created: Jan 4th 2001 +# Whom: ume@FreeBSD.org # # $FreeBSD$ # -PORTNAME= cyrus -PORTVERSION= 1.6.24 -PORTREVISION= 1 -CATEGORIES= mail tcl82 +PORTNAME= cyrus-imapd +PORTVERSION= 2.0.12 +CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ -DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +PATCHFILES= ${DISTNAME}-ipv6-20010222.diff.gz -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ + db3.2:${PORTSDIR}/databases/db3 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=${LOCALBASE} \ - --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ + --with-sasl=${LOCALBASE} \ + --with-dbdir=${LOCALBASE} \ --with-auth=unix \ - --with-com-err + --with-com_err +.if defined(WITH_SNMP) +# It seems not compilable due to lack of auto_nlist_value() in libucdagent. +CONFIGURE_ENV= LIBS=-lkvm +.else +CONFIGURE_ARGS+=--with-ucdsnmp=no +.endif + MAN1= cyradm.1 imtest.1 installsieve.1 MAN3= imclient.3 -MAN5= imapd.conf.5 krb.equiv.5 -MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \ - imapd.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 syncnews.8 \ - timsieved.8 +MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 +MAN8= arbitron.8 ctl_deliver.8 ctl_mboxlist.8 collectnews.8 \ + cyrquota.8 deliver.8 fud.8 idled.8 imapd.8 ipurge.8 \ + lmtpd.8 master.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 \ + syncnews.8 timsieved.8 -post-configure: - @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c +DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ + changes copyrights feedback index install install-admin-mb \ + install-compile install-configure install-murder install-perf \ + install-prereq install-sieve install-snmpmon install-testing \ + install-upgrade mailing-list notes os overview questions \ + quota-extension readme server-design sieve sieve-protocol +HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ + install-auth install-compile install-configure install-murder \ + install-perf install-prereq install-sieve install-snmpmon \ + install-testing install-upgrade install mailing-list notes \ + os overview questions readme sieve-protocol sieve pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL -DOCS= README acl-extension anoncvs bugs changes copyrights install \ - mailing-list overview quota-extension server-design -HTDOCS= anoncvs bugs changes index install mailing-list overview \ - questions readme sieve-protocol sieve post-install: @ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cyrus/html -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} \ + ${MKDIR} ${PREFIX}/share/doc/cyrus/text +.for file in ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \ ${PREFIX}/share/doc/cyrus - @${ECHO} share/doc/cyrus/${file} >>${TMPPLIST} + @${ECHO} share/doc/cyrus/${file}.html >>${TMPPLIST} .endfor -.for file in ${HTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/html/${file}.html \ - ${PREFIX}/share/doc/cyrus/html - @${ECHO} share/doc/cyrus/html/${file}.html >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \ + ${PREFIX}/share/doc/cyrus + @${ECHO} share/doc/cyrus/cyrusv2.mc >>${TMPPLIST} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \ + ${PREFIX}/share/doc/cyrus/text + @${ECHO} share/doc/cyrus/text/${file} >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/cyrus/html" >>${TMPPLIST} + @${ECHO} "@dirrm share/doc/cyrus/text" >>${TMPPLIST} @${ECHO} "@dirrm share/doc/cyrus" >>${TMPPLIST} .endif + ${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ + ${PREFIX}/etc/rc.d/imapd.sh.sample ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${PREFIX}/etc/imapd.conf.dist - ${INSTALL_DATA} ${FILESDIR}/inetd.conf.cyrus \ - ${PREFIX}/etc/ - ${INSTALL} -d -m 750 -o cyrus -g cyrus \ - /var/spool/imap \ - ${PREFIX}/etc/imap \ - ${PREFIX}/etc/imap/user \ - ${PREFIX}/etc/imap/quota \ - ${PREFIX}/etc/imap/proc \ - ${PREFIX}/etc/imap/log \ - ${PREFIX}/etc/imap/msg - ${TOUCH} ${PREFIX}/etc/imap/mailboxes - ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} -.for dir in user quota proc log msg - @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ + ${PREFIX}/etc/cyrus.conf.dist + ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf + ${CHOWN} -R cyrus:cyrus /var/imap + ${CHOWN} -R cyrus:cyrus /var/spool/imap + @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} +.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db + @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} + @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@dirrm etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@dirrm imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} + @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/cyrus-imapd2/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/mail/cyrus-imapd2/distinfo =================================================================== --- head/mail/cyrus-imapd2/distinfo (revision 39739) +++ head/mail/cyrus-imapd2/distinfo (revision 39740) @@ -1 +1,2 @@ -MD5 (cyrus-imapd-1.6.24.tar.gz) = 490a246e787581e0bbc558788ff5f562 +MD5 (cyrus-imapd-2.0.12.tar.gz) = 61c2e2b200d487852f1856e8787f546f +MD5 (cyrus-imapd-2.0.12-ipv6-20010222.diff.gz) = 11ac759bbb18d7bdfbc1c016ed6985df Property changes on: head/mail/cyrus-imapd2/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-ae =================================================================== --- head/mail/cyrus-imapd2/files/patch-ae (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-ae (nonexistent) @@ -1,11 +0,0 @@ ---- imap/deliver.c.orig Tue Jan 4 17:49:02 2000 -+++ imap/deliver.c Tue Oct 31 22:49:37 2000 -@@ -821,7 +821,7 @@ - } - } - --#define SENDMAIL "/usr/lib/sendmail" -+#define SENDMAIL "/usr/sbin/sendmail" - #define POSTMASTER "postmaster" - - static char *month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Property changes on: head/mail/cyrus-imapd2/files/patch-ae ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-ad =================================================================== --- head/mail/cyrus-imapd2/files/patch-ad (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-ad (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Sun Apr 9 01:13:23 2000 -+++ configure.in Sun Apr 9 01:13:43 2000 -@@ -528,7 +528,7 @@ - # filename, it should be safe to add it (to the front of the line -- - # somef vendors have older, badly installed tclshs that we want to avoid - # if we can) -- AC_PATH_PROGS(TCLSH, [tclsh8.1 tclsh8.0 tclsh], "unknown") -+ AC_PATH_PROGS(TCLSH, [tclsh8.2 tclsh8.1 tclsh8.0 tclsh], "unknown") - fi - - # Do we know where to get a tclsh? Property changes on: head/mail/cyrus-imapd2/files/patch-ad ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bj =================================================================== --- head/mail/cyrus-imapd2/files/patch-bj (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bj (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/config.c Sun Apr 9 07:58:37 2000 -+++ config.c Sun Apr 9 07:58:47 2000 -@@ -41,7 +41,7 @@ - - extern int errno; - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#define CONFIG_FILENAME "/usr/local/etc/imapd.conf" - - struct configlist { - char *key; Property changes on: head/mail/cyrus-imapd2/files/patch-bj ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bi =================================================================== --- head/mail/cyrus-imapd2/files/patch-bi (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bi (nonexistent) @@ -1,11 +0,0 @@ ---- installsieve/Makefile.in.orig Sun Apr 9 01:58:03 2000 -+++ installsieve/Makefile.in Sun Apr 9 01:58:35 2000 -@@ -28,7 +28,7 @@ - CC = @CC@ - - DEFS = @DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd2/files/patch-bi ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bh =================================================================== --- head/mail/cyrus-imapd2/files/patch-bh (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bh (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/Makefile.in.orig Sun Apr 9 01:52:10 2000 -+++ timsieved/Makefile.in Sun Apr 9 01:52:37 2000 -@@ -34,7 +34,7 @@ - CYRUS_GROUP=@cyrus_group@ - - DEFS = @DEFS@ @LOCALDEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd2/files/patch-bh ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bg =================================================================== --- head/mail/cyrus-imapd2/files/patch-bg (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bg (nonexistent) @@ -1,12 +0,0 @@ ---- configure.orig Fri Dec 4 12:03:58 1998 -+++ configure Sat Apr 15 11:44:42 2000 -@@ -3348,6 +3348,9 @@ - - fi - -+# Kerberos IV on FreeBSD depends on libcom_err. -+LIBS="-lcom_err $LIBS" -+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h - - echo $ac_n "checking for crypt""... $ac_c" 1>&6 - echo "configure:3354: checking for crypt" >&5 Property changes on: head/mail/cyrus-imapd2/files/patch-bg ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bf =================================================================== --- head/mail/cyrus-imapd2/files/patch-bf (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bf (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Fri Dec 4 11:34:53 1998 -+++ configure.in Sun Apr 9 12:16:24 2000 -@@ -698,6 +698,8 @@ - - dnl Kerberos wants this so we might as well check on it first - AC_CHECK_FUNC(res_search,,AC_CHECK_LIB(resolv,res_search)) -+ dnl Kerberos IV on FreeBSD depends on libcom_err, so check for it -+ AC_CHECK_LIB(com_err, init_error_table) - - dnl gotta do this: crypt is used by sasl_krb_server.c - AC_CHECK_FUNC(crypt,,AC_CHECK_LIB(crypt, crypt)) Property changes on: head/mail/cyrus-imapd2/files/patch-bf ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bb =================================================================== --- head/mail/cyrus-imapd2/files/patch-bb (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bb (nonexistent) @@ -1,13 +0,0 @@ ---- cyradm/Makefile.in.orig Fri Aug 7 08:48:26 1998 -+++ cyradm/Makefile.in Mon May 10 02:40:06 1999 -@@ -33,8 +33,8 @@ - RANLIB = @RANLIB@ - - DEFS = @DEFS@ @TCL_DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ --LIBS = @TCL_LIBS@ @IMAP_LIBS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ @SASLFLAGS@ -+LIBS = @TCL_LIBS@ -lm @IMAP_LIBS@ - DEPLIBS = ../lib/libcyrus.a @DEPLIBS@ - - CFLAGS = @CFLAGS@ Property changes on: head/mail/cyrus-imapd2/files/patch-bb ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-ca =================================================================== --- head/mail/cyrus-imapd2/files/patch-ca (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-ca (nonexistent) @@ -1,10 +0,0 @@ ---- sieve/comparator.h.orig Sun Nov 12 18:00:13 2000 -+++ sieve/comparator.h Sun Nov 12 18:00:19 2000 -@@ -31,6 +31,7 @@ - #ifdef HAVE_RX - #include - #else -+#include - #include - #endif - #endif Property changes on: head/mail/cyrus-imapd2/files/patch-ca ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/inetd.conf.cyrus =================================================================== --- head/mail/cyrus-imapd2/files/inetd.conf.cyrus (revision 39739) +++ head/mail/cyrus-imapd2/files/inetd.conf.cyrus (nonexistent) @@ -1,19 +0,0 @@ -# -# Example entry for inetd.conf for the Cyrus IMAP server. -# $FreeBSD$ -# -# Replace /usr/local with the path where you've installed the package. -# -# The IMAP-4 server. -imap4 stream tcp nowait cyrus /usr/local/cyrus/bin/imapd imapd -# -# To be able to access the IMAP mailbox by POP-3, use this line. -pop3 stream tcp nowait cyrus /usr/local/cyrus/bin/pop3d pop3d -# -# Program to upload user sieve scripts to the IMAP server. -# -# NOTE: you will need to add "sieve" to /etc/services. -# timsieved uses port 2000. -# -sieve stream tcp nowait cyrus /usr/local/cyrus/bin/timsieved sieve - Property changes on: head/mail/cyrus-imapd2/files/inetd.conf.cyrus ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd2/files/imapd.conf =================================================================== --- head/mail/cyrus-imapd2/files/imapd.conf (revision 39739) +++ head/mail/cyrus-imapd2/files/imapd.conf (revision 39740) @@ -1,139 +1,139 @@ # # $FreeBSD$ # # 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: /usr/local/etc/imap +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 # The umask value used by various Cyrus IMAP programs # #umask: 077 # Whether to allow anonymous logins # #allowanonymouslogin: no # 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 # 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 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: # The list of the host names of the mail domain's IMSP servers. Separate each # host name with a space. The Kerberos identities of these servers may login # as any user in order to perform commands by proxy. # #imspservers: # 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: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # 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 only used when the server is compiled with Kerberos # authentication. # #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: # 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, deliver wil 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. /usr/local/etc/imap/sieve/u/user). +# sieve directory (ie. /var/imap/sieve/u/user). # -sievedir: /usr/local/etc/imap/sieve +sievedir: /var/imap/sieve # 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 # The mechanism used by the server to verify plaintext passwords. Possible # values include "PAM", "kerberos_v4", "passwd", and "shadow" # sasl_pwcheck_method: pwcheck # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # # EOF Property changes on: head/mail/cyrus-imapd2/files/imapd.conf ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/cyrus-imapd2/files/imapd.sh =================================================================== --- head/mail/cyrus-imapd2/files/imapd.sh (nonexistent) +++ head/mail/cyrus-imapd2/files/imapd.sh (revision 39740) @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 Property changes on: head/mail/cyrus-imapd2/files/imapd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-ac =================================================================== --- head/mail/cyrus-imapd2/files/patch-ac (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-ac (revision 39740) @@ -1,11 +1,13 @@ ---- configure Thu Jan 6 22:28:51 2000 -+++ /tmp/configure.new Sat Apr 8 20:55:29 2000 -@@ -4951,7 +4951,7 @@ - # try the user-specified path --- too lazy to test for it right now - LIB_SASL="-L$sasldir/lib -lsasl" - -- SASLFLAGS="-I$sasldir/include" -+ SASLFLAGS="-I$sasldir/include/sasl" - - fi +Index: configure +diff -u configure.orig configure +--- configure.orig Thu Dec 21 06:39:31 2000 ++++ configure Thu Jan 4 23:22:47 2001 +@@ -4178,7 +4178,7 @@ + cmu_saved_LIBS=$LIBS + if test -d ${with_sasl}; then + ac_cv_sasl_where_lib=${with_sasl}/lib +- ac_cv_sasl_where_inc=${with_sasl}/include ++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl + SASLFLAGS="-I$ac_cv_sasl_where_inc" + LIB_SASL="-L$ac_cv_sasl_where_lib" Property changes on: head/mail/cyrus-imapd2/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-af =================================================================== --- head/mail/cyrus-imapd2/files/patch-af (nonexistent) +++ head/mail/cyrus-imapd2/files/patch-af (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpd.c +diff -u imap/lmtpd.c.orig imap/lmtpd.c +--- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 +@@ -407,7 +407,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd2/files/patch-af ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-ag =================================================================== --- head/mail/cyrus-imapd2/files/patch-ag (nonexistent) +++ head/mail/cyrus-imapd2/files/patch-ag (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpproxyd.c +diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c +--- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 +@@ -398,7 +398,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd2/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-bc =================================================================== --- head/mail/cyrus-imapd2/files/patch-bc (revision 39739) +++ head/mail/cyrus-imapd2/files/patch-bc (revision 39740) @@ -1,19 +1,13 @@ -*** imap/Makefile.in.orig Fri Nov 5 01:00:34 1999 ---- imap/Makefile.in Thu Mar 9 18:59:14 2000 -*************** -*** 45,51 **** - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ ---- 45,51 ---- - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ +Index: imap/Makefile.in +diff -u imap/Makefile.in.orig imap/Makefile.in +--- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 ++++ imap/Makefile.in Thu Jan 4 23:30:15 2001 +@@ -64,7 +64,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" + CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ + IMAP_LIBS = @IMAP_LIBS@ + SIEVE_LIBS = @SIEVE_LIBS@ Property changes on: head/mail/cyrus-imapd2/files/patch-bc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-dc =================================================================== --- head/mail/cyrus-imapd2/files/patch-dc (nonexistent) +++ head/mail/cyrus-imapd2/files/patch-dc (revision 39740) @@ -0,0 +1,13 @@ +Index: master/Makefile.in +diff -u master/Makefile.in.orig master/Makefile.in +--- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 ++++ master/Makefile.in Sat Jan 6 06:08:21 2001 +@@ -52,7 +52,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" + CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ + DEPLIBS = @DEPLIBS@ + Property changes on: head/mail/cyrus-imapd2/files/patch-dc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-dd =================================================================== --- head/mail/cyrus-imapd2/files/patch-dd (nonexistent) +++ head/mail/cyrus-imapd2/files/patch-dd (revision 39740) @@ -0,0 +1,14 @@ +Index: master/masterconf.c +diff -u master/masterconf.c.orig master/masterconf.c +--- master/masterconf.c.orig Wed May 24 05:56:30 2000 ++++ master/masterconf.c Sat Jan 6 06:07:22 2001 +@@ -60,7 +60,9 @@ + + extern int errno; + ++#if !defined(CONFIG_FILENAME) + #define CONFIG_FILENAME "/etc/cyrus.conf" ++#endif + + struct configlist { + char *key; Property changes on: head/mail/cyrus-imapd2/files/patch-dd ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd2/files/patch-df =================================================================== --- head/mail/cyrus-imapd2/files/patch-df (nonexistent) +++ head/mail/cyrus-imapd2/files/patch-df (revision 39740) @@ -0,0 +1,22 @@ +Index: master/service.c +=================================================================== +RCS file: /usr/home/ume/ncvs/src/cyrus-imapd/master/service.c,v +retrieving revision 1.2 +diff -u -r1.2 service.c +--- master/service.c 2001/02/01 14:11:43 1.2 ++++ master/service.c 2001/02/01 22:10:35 +@@ -99,7 +99,13 @@ + + /* is this a connection from the local host? */ + if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { +- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { ++ switch (((struct sockaddr *)&sin)->sa_family) { ++ case AF_INET: ++#ifdef INET6 ++ case AF_INET6: ++#endif ++ break; ++ default: + return 1; + } + } Property changes on: head/mail/cyrus-imapd2/files/patch-df ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd2/pkg-comment =================================================================== --- head/mail/cyrus-imapd2/pkg-comment (revision 39739) +++ head/mail/cyrus-imapd2/pkg-comment (revision 39740) @@ -1 +1 @@ -The cyrus mail server, supporting POP3, KPOP, and IMAP4 protocols +The cyrus mail server, supporting POP3 and IMAP4 protocols Property changes on: head/mail/cyrus-imapd2/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/mail/cyrus-imapd2/pkg-deinstall =================================================================== --- head/mail/cyrus-imapd2/pkg-deinstall (revision 39739) +++ head/mail/cyrus-imapd2/pkg-deinstall (revision 39740) @@ -1,47 +1,48 @@ #!/bin/sh # # $FreeBSD$ # # Created by: hetzels@westbend.net #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same rm $1 ;; 1) # config file exists and differs ;; *) # no config file exists ;; esac } # Uninstall 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.tmp if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf fi rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp fi } case $2 in DEINSTALL) cd ${PKG_PREFIX} cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf + checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; POST-DEINSTALL) ;; esac Property changes on: head/mail/cyrus-imapd2/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd2/pkg-install =================================================================== --- head/mail/cyrus-imapd2/pkg-install (revision 39739) +++ head/mail/cyrus-imapd2/pkg-install (revision 39740) @@ -1,126 +1,110 @@ #!/bin/sh #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} # # create 'cyrus' user and group before installing # create() { if [ ! -x /usr/sbin/pw ]; then echo "*** Please add a user and a group named \`cyrus' before installing this package." exit 69 fi if ! pw show group cyrus -q >/dev/null; then gid=60 while pw show group -g ${gid} -q >/dev/null; do gid=`expr ${gid} + 1` done if ! pw add group cyrus -g ${gid}; then e=$? echo "*** Failed to add group \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added group \`cyrus' (id ${gid})" else gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` fi if [ -x /sbin/nologin ]; then shell=/sbin/nologin else shell=/nonexistent fi if ! pw show user cyrus -q >/dev/null; then uid=60 while pw show user -u ${uid} -q >/dev/null; do uid=`expr ${uid} + 1` done if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to add user \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added user \`cyrus' (id ${uid})" else if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to update user \`cyrus'." exit ${e} fi echo "*** Updated user \`cyrus'." fi if ! pw group mod cyrus -m daemon; then echo "*** can't add user \`daemon' to group \`cyrus'" fi } checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; 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) create ;; 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'" - echo " is suitable for the Cyrus IMAP server." - 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." + checkfile ${PKG_PREFIX}/etc/cyrus.conf 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 Property changes on: head/mail/cyrus-imapd2/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd2/pkg-plist =================================================================== --- head/mail/cyrus-imapd2/pkg-plist (revision 39739) +++ head/mail/cyrus-imapd2/pkg-plist (revision 39740) @@ -1,41 +1,59 @@ -bin/cyradm bin/imtest -bin/installsieve -cyrus/bin/arbitron -cyrus/bin/collectnews +bin/cyradm +cyrus/bin/ctl_deliver +cyrus/bin/ctl_mboxlist cyrus/bin/cyrquota cyrus/bin/deliver -cyrus/bin/dump_deliverdb cyrus/bin/feedcyrus cyrus/bin/fud cyrus/bin/imapd +cyrus/bin/ipurge +cyrus/bin/lmtpd +cyrus/bin/master cyrus/bin/mbpath cyrus/bin/pop3d cyrus/bin/reconstruct -cyrus/bin/syncnews cyrus/bin/timsieved +etc/cyrus.conf.dist +etc/cyrus.conf etc/imapd.conf.dist -etc/inetd.conf.cyrus +etc/imapd.conf +etc/rc.d/imapd.sh.sample +include/cyrus/acap.h include/cyrus/acl.h include/cyrus/assert.h include/cyrus/auth.h include/cyrus/bsearch.h include/cyrus/charset.h +include/cyrus/cyrusdb.h include/cyrus/glob.h include/cyrus/gmtoff.h +include/cyrus/hash.h +include/cyrus/imapurl.h include/cyrus/imclient.h include/cyrus/imparse.h include/cyrus/lock.h +include/cyrus/lsort.h include/cyrus/map.h include/cyrus/mkgmtime.h include/cyrus/nonblock.h include/cyrus/parseaddr.h include/cyrus/prot.h include/cyrus/retry.h +include/cyrus/stristr.h include/cyrus/sysexits.h include/cyrus/util.h include/cyrus/xmalloc.h lib/libcyrus.a +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm @dirrm cyrus/bin @dirrm cyrus @dirrm include/cyrus +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus Property changes on: head/mail/cyrus-imapd2/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/mail/cyrus-imapd22/Makefile =================================================================== --- head/mail/cyrus-imapd22/Makefile (revision 39739) +++ head/mail/cyrus-imapd22/Makefile (revision 39740) @@ -1,97 +1,109 @@ -# New ports collection makefile for: cyrus -# Date created: May 4th 1997 -# Whom: jfitz@FreeBSD.org +# New ports collection makefile for: cyrus-imapd +# Date created: Jan 4th 2001 +# Whom: ume@FreeBSD.org # # $FreeBSD$ # -PORTNAME= cyrus -PORTVERSION= 1.6.24 -PORTREVISION= 1 -CATEGORIES= mail tcl82 +PORTNAME= cyrus-imapd +PORTVERSION= 2.0.12 +CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ -DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +PATCHFILES= ${DISTNAME}-ipv6-20010222.diff.gz -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ + db3.2:${PORTSDIR}/databases/db3 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=${LOCALBASE} \ - --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ + --with-sasl=${LOCALBASE} \ + --with-dbdir=${LOCALBASE} \ --with-auth=unix \ - --with-com-err + --with-com_err +.if defined(WITH_SNMP) +# It seems not compilable due to lack of auto_nlist_value() in libucdagent. +CONFIGURE_ENV= LIBS=-lkvm +.else +CONFIGURE_ARGS+=--with-ucdsnmp=no +.endif + MAN1= cyradm.1 imtest.1 installsieve.1 MAN3= imclient.3 -MAN5= imapd.conf.5 krb.equiv.5 -MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \ - imapd.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 syncnews.8 \ - timsieved.8 +MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 +MAN8= arbitron.8 ctl_deliver.8 ctl_mboxlist.8 collectnews.8 \ + cyrquota.8 deliver.8 fud.8 idled.8 imapd.8 ipurge.8 \ + lmtpd.8 master.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 \ + syncnews.8 timsieved.8 -post-configure: - @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c +DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ + changes copyrights feedback index install install-admin-mb \ + install-compile install-configure install-murder install-perf \ + install-prereq install-sieve install-snmpmon install-testing \ + install-upgrade mailing-list notes os overview questions \ + quota-extension readme server-design sieve sieve-protocol +HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ + install-auth install-compile install-configure install-murder \ + install-perf install-prereq install-sieve install-snmpmon \ + install-testing install-upgrade install mailing-list notes \ + os overview questions readme sieve-protocol sieve pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL -DOCS= README acl-extension anoncvs bugs changes copyrights install \ - mailing-list overview quota-extension server-design -HTDOCS= anoncvs bugs changes index install mailing-list overview \ - questions readme sieve-protocol sieve post-install: @ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cyrus/html -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} \ + ${MKDIR} ${PREFIX}/share/doc/cyrus/text +.for file in ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \ ${PREFIX}/share/doc/cyrus - @${ECHO} share/doc/cyrus/${file} >>${TMPPLIST} + @${ECHO} share/doc/cyrus/${file}.html >>${TMPPLIST} .endfor -.for file in ${HTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/html/${file}.html \ - ${PREFIX}/share/doc/cyrus/html - @${ECHO} share/doc/cyrus/html/${file}.html >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \ + ${PREFIX}/share/doc/cyrus + @${ECHO} share/doc/cyrus/cyrusv2.mc >>${TMPPLIST} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \ + ${PREFIX}/share/doc/cyrus/text + @${ECHO} share/doc/cyrus/text/${file} >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/cyrus/html" >>${TMPPLIST} + @${ECHO} "@dirrm share/doc/cyrus/text" >>${TMPPLIST} @${ECHO} "@dirrm share/doc/cyrus" >>${TMPPLIST} .endif + ${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ + ${PREFIX}/etc/rc.d/imapd.sh.sample ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${PREFIX}/etc/imapd.conf.dist - ${INSTALL_DATA} ${FILESDIR}/inetd.conf.cyrus \ - ${PREFIX}/etc/ - ${INSTALL} -d -m 750 -o cyrus -g cyrus \ - /var/spool/imap \ - ${PREFIX}/etc/imap \ - ${PREFIX}/etc/imap/user \ - ${PREFIX}/etc/imap/quota \ - ${PREFIX}/etc/imap/proc \ - ${PREFIX}/etc/imap/log \ - ${PREFIX}/etc/imap/msg - ${TOUCH} ${PREFIX}/etc/imap/mailboxes - ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} -.for dir in user quota proc log msg - @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ + ${PREFIX}/etc/cyrus.conf.dist + ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf + ${CHOWN} -R cyrus:cyrus /var/imap + ${CHOWN} -R cyrus:cyrus /var/spool/imap + @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} +.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db + @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} + @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@dirrm etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@dirrm imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} + @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/cyrus-imapd22/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/mail/cyrus-imapd22/distinfo =================================================================== --- head/mail/cyrus-imapd22/distinfo (revision 39739) +++ head/mail/cyrus-imapd22/distinfo (revision 39740) @@ -1 +1,2 @@ -MD5 (cyrus-imapd-1.6.24.tar.gz) = 490a246e787581e0bbc558788ff5f562 +MD5 (cyrus-imapd-2.0.12.tar.gz) = 61c2e2b200d487852f1856e8787f546f +MD5 (cyrus-imapd-2.0.12-ipv6-20010222.diff.gz) = 11ac759bbb18d7bdfbc1c016ed6985df Property changes on: head/mail/cyrus-imapd22/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-ae =================================================================== --- head/mail/cyrus-imapd22/files/patch-ae (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-ae (nonexistent) @@ -1,11 +0,0 @@ ---- imap/deliver.c.orig Tue Jan 4 17:49:02 2000 -+++ imap/deliver.c Tue Oct 31 22:49:37 2000 -@@ -821,7 +821,7 @@ - } - } - --#define SENDMAIL "/usr/lib/sendmail" -+#define SENDMAIL "/usr/sbin/sendmail" - #define POSTMASTER "postmaster" - - static char *month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Property changes on: head/mail/cyrus-imapd22/files/patch-ae ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-ad =================================================================== --- head/mail/cyrus-imapd22/files/patch-ad (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-ad (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Sun Apr 9 01:13:23 2000 -+++ configure.in Sun Apr 9 01:13:43 2000 -@@ -528,7 +528,7 @@ - # filename, it should be safe to add it (to the front of the line -- - # somef vendors have older, badly installed tclshs that we want to avoid - # if we can) -- AC_PATH_PROGS(TCLSH, [tclsh8.1 tclsh8.0 tclsh], "unknown") -+ AC_PATH_PROGS(TCLSH, [tclsh8.2 tclsh8.1 tclsh8.0 tclsh], "unknown") - fi - - # Do we know where to get a tclsh? Property changes on: head/mail/cyrus-imapd22/files/patch-ad ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bj =================================================================== --- head/mail/cyrus-imapd22/files/patch-bj (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bj (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/config.c Sun Apr 9 07:58:37 2000 -+++ config.c Sun Apr 9 07:58:47 2000 -@@ -41,7 +41,7 @@ - - extern int errno; - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#define CONFIG_FILENAME "/usr/local/etc/imapd.conf" - - struct configlist { - char *key; Property changes on: head/mail/cyrus-imapd22/files/patch-bj ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bi =================================================================== --- head/mail/cyrus-imapd22/files/patch-bi (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bi (nonexistent) @@ -1,11 +0,0 @@ ---- installsieve/Makefile.in.orig Sun Apr 9 01:58:03 2000 -+++ installsieve/Makefile.in Sun Apr 9 01:58:35 2000 -@@ -28,7 +28,7 @@ - CC = @CC@ - - DEFS = @DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd22/files/patch-bi ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bh =================================================================== --- head/mail/cyrus-imapd22/files/patch-bh (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bh (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/Makefile.in.orig Sun Apr 9 01:52:10 2000 -+++ timsieved/Makefile.in Sun Apr 9 01:52:37 2000 -@@ -34,7 +34,7 @@ - CYRUS_GROUP=@cyrus_group@ - - DEFS = @DEFS@ @LOCALDEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd22/files/patch-bh ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bg =================================================================== --- head/mail/cyrus-imapd22/files/patch-bg (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bg (nonexistent) @@ -1,12 +0,0 @@ ---- configure.orig Fri Dec 4 12:03:58 1998 -+++ configure Sat Apr 15 11:44:42 2000 -@@ -3348,6 +3348,9 @@ - - fi - -+# Kerberos IV on FreeBSD depends on libcom_err. -+LIBS="-lcom_err $LIBS" -+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h - - echo $ac_n "checking for crypt""... $ac_c" 1>&6 - echo "configure:3354: checking for crypt" >&5 Property changes on: head/mail/cyrus-imapd22/files/patch-bg ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bf =================================================================== --- head/mail/cyrus-imapd22/files/patch-bf (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bf (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Fri Dec 4 11:34:53 1998 -+++ configure.in Sun Apr 9 12:16:24 2000 -@@ -698,6 +698,8 @@ - - dnl Kerberos wants this so we might as well check on it first - AC_CHECK_FUNC(res_search,,AC_CHECK_LIB(resolv,res_search)) -+ dnl Kerberos IV on FreeBSD depends on libcom_err, so check for it -+ AC_CHECK_LIB(com_err, init_error_table) - - dnl gotta do this: crypt is used by sasl_krb_server.c - AC_CHECK_FUNC(crypt,,AC_CHECK_LIB(crypt, crypt)) Property changes on: head/mail/cyrus-imapd22/files/patch-bf ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bb =================================================================== --- head/mail/cyrus-imapd22/files/patch-bb (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bb (nonexistent) @@ -1,13 +0,0 @@ ---- cyradm/Makefile.in.orig Fri Aug 7 08:48:26 1998 -+++ cyradm/Makefile.in Mon May 10 02:40:06 1999 -@@ -33,8 +33,8 @@ - RANLIB = @RANLIB@ - - DEFS = @DEFS@ @TCL_DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ --LIBS = @TCL_LIBS@ @IMAP_LIBS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ @SASLFLAGS@ -+LIBS = @TCL_LIBS@ -lm @IMAP_LIBS@ - DEPLIBS = ../lib/libcyrus.a @DEPLIBS@ - - CFLAGS = @CFLAGS@ Property changes on: head/mail/cyrus-imapd22/files/patch-bb ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-ca =================================================================== --- head/mail/cyrus-imapd22/files/patch-ca (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-ca (nonexistent) @@ -1,10 +0,0 @@ ---- sieve/comparator.h.orig Sun Nov 12 18:00:13 2000 -+++ sieve/comparator.h Sun Nov 12 18:00:19 2000 -@@ -31,6 +31,7 @@ - #ifdef HAVE_RX - #include - #else -+#include - #include - #endif - #endif Property changes on: head/mail/cyrus-imapd22/files/patch-ca ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/inetd.conf.cyrus =================================================================== --- head/mail/cyrus-imapd22/files/inetd.conf.cyrus (revision 39739) +++ head/mail/cyrus-imapd22/files/inetd.conf.cyrus (nonexistent) @@ -1,19 +0,0 @@ -# -# Example entry for inetd.conf for the Cyrus IMAP server. -# $FreeBSD$ -# -# Replace /usr/local with the path where you've installed the package. -# -# The IMAP-4 server. -imap4 stream tcp nowait cyrus /usr/local/cyrus/bin/imapd imapd -# -# To be able to access the IMAP mailbox by POP-3, use this line. -pop3 stream tcp nowait cyrus /usr/local/cyrus/bin/pop3d pop3d -# -# Program to upload user sieve scripts to the IMAP server. -# -# NOTE: you will need to add "sieve" to /etc/services. -# timsieved uses port 2000. -# -sieve stream tcp nowait cyrus /usr/local/cyrus/bin/timsieved sieve - Property changes on: head/mail/cyrus-imapd22/files/inetd.conf.cyrus ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd22/files/imapd.conf =================================================================== --- head/mail/cyrus-imapd22/files/imapd.conf (revision 39739) +++ head/mail/cyrus-imapd22/files/imapd.conf (revision 39740) @@ -1,139 +1,139 @@ # # $FreeBSD$ # # 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: /usr/local/etc/imap +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 # The umask value used by various Cyrus IMAP programs # #umask: 077 # Whether to allow anonymous logins # #allowanonymouslogin: no # 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 # 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 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: # The list of the host names of the mail domain's IMSP servers. Separate each # host name with a space. The Kerberos identities of these servers may login # as any user in order to perform commands by proxy. # #imspservers: # 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: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # 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 only used when the server is compiled with Kerberos # authentication. # #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: # 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, deliver wil 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. /usr/local/etc/imap/sieve/u/user). +# sieve directory (ie. /var/imap/sieve/u/user). # -sievedir: /usr/local/etc/imap/sieve +sievedir: /var/imap/sieve # 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 # The mechanism used by the server to verify plaintext passwords. Possible # values include "PAM", "kerberos_v4", "passwd", and "shadow" # sasl_pwcheck_method: pwcheck # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # # EOF Property changes on: head/mail/cyrus-imapd22/files/imapd.conf ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/cyrus-imapd22/files/imapd.sh =================================================================== --- head/mail/cyrus-imapd22/files/imapd.sh (nonexistent) +++ head/mail/cyrus-imapd22/files/imapd.sh (revision 39740) @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 Property changes on: head/mail/cyrus-imapd22/files/imapd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-ac =================================================================== --- head/mail/cyrus-imapd22/files/patch-ac (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-ac (revision 39740) @@ -1,11 +1,13 @@ ---- configure Thu Jan 6 22:28:51 2000 -+++ /tmp/configure.new Sat Apr 8 20:55:29 2000 -@@ -4951,7 +4951,7 @@ - # try the user-specified path --- too lazy to test for it right now - LIB_SASL="-L$sasldir/lib -lsasl" - -- SASLFLAGS="-I$sasldir/include" -+ SASLFLAGS="-I$sasldir/include/sasl" - - fi +Index: configure +diff -u configure.orig configure +--- configure.orig Thu Dec 21 06:39:31 2000 ++++ configure Thu Jan 4 23:22:47 2001 +@@ -4178,7 +4178,7 @@ + cmu_saved_LIBS=$LIBS + if test -d ${with_sasl}; then + ac_cv_sasl_where_lib=${with_sasl}/lib +- ac_cv_sasl_where_inc=${with_sasl}/include ++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl + SASLFLAGS="-I$ac_cv_sasl_where_inc" + LIB_SASL="-L$ac_cv_sasl_where_lib" Property changes on: head/mail/cyrus-imapd22/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-af =================================================================== --- head/mail/cyrus-imapd22/files/patch-af (nonexistent) +++ head/mail/cyrus-imapd22/files/patch-af (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpd.c +diff -u imap/lmtpd.c.orig imap/lmtpd.c +--- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 +@@ -407,7 +407,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd22/files/patch-af ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-ag =================================================================== --- head/mail/cyrus-imapd22/files/patch-ag (nonexistent) +++ head/mail/cyrus-imapd22/files/patch-ag (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpproxyd.c +diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c +--- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 +@@ -398,7 +398,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd22/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-bc =================================================================== --- head/mail/cyrus-imapd22/files/patch-bc (revision 39739) +++ head/mail/cyrus-imapd22/files/patch-bc (revision 39740) @@ -1,19 +1,13 @@ -*** imap/Makefile.in.orig Fri Nov 5 01:00:34 1999 ---- imap/Makefile.in Thu Mar 9 18:59:14 2000 -*************** -*** 45,51 **** - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ ---- 45,51 ---- - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ +Index: imap/Makefile.in +diff -u imap/Makefile.in.orig imap/Makefile.in +--- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 ++++ imap/Makefile.in Thu Jan 4 23:30:15 2001 +@@ -64,7 +64,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" + CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ + IMAP_LIBS = @IMAP_LIBS@ + SIEVE_LIBS = @SIEVE_LIBS@ Property changes on: head/mail/cyrus-imapd22/files/patch-bc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-dc =================================================================== --- head/mail/cyrus-imapd22/files/patch-dc (nonexistent) +++ head/mail/cyrus-imapd22/files/patch-dc (revision 39740) @@ -0,0 +1,13 @@ +Index: master/Makefile.in +diff -u master/Makefile.in.orig master/Makefile.in +--- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 ++++ master/Makefile.in Sat Jan 6 06:08:21 2001 +@@ -52,7 +52,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" + CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ + DEPLIBS = @DEPLIBS@ + Property changes on: head/mail/cyrus-imapd22/files/patch-dc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-dd =================================================================== --- head/mail/cyrus-imapd22/files/patch-dd (nonexistent) +++ head/mail/cyrus-imapd22/files/patch-dd (revision 39740) @@ -0,0 +1,14 @@ +Index: master/masterconf.c +diff -u master/masterconf.c.orig master/masterconf.c +--- master/masterconf.c.orig Wed May 24 05:56:30 2000 ++++ master/masterconf.c Sat Jan 6 06:07:22 2001 +@@ -60,7 +60,9 @@ + + extern int errno; + ++#if !defined(CONFIG_FILENAME) + #define CONFIG_FILENAME "/etc/cyrus.conf" ++#endif + + struct configlist { + char *key; Property changes on: head/mail/cyrus-imapd22/files/patch-dd ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd22/files/patch-df =================================================================== --- head/mail/cyrus-imapd22/files/patch-df (nonexistent) +++ head/mail/cyrus-imapd22/files/patch-df (revision 39740) @@ -0,0 +1,22 @@ +Index: master/service.c +=================================================================== +RCS file: /usr/home/ume/ncvs/src/cyrus-imapd/master/service.c,v +retrieving revision 1.2 +diff -u -r1.2 service.c +--- master/service.c 2001/02/01 14:11:43 1.2 ++++ master/service.c 2001/02/01 22:10:35 +@@ -99,7 +99,13 @@ + + /* is this a connection from the local host? */ + if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { +- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { ++ switch (((struct sockaddr *)&sin)->sa_family) { ++ case AF_INET: ++#ifdef INET6 ++ case AF_INET6: ++#endif ++ break; ++ default: + return 1; + } + } Property changes on: head/mail/cyrus-imapd22/files/patch-df ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd22/pkg-comment =================================================================== --- head/mail/cyrus-imapd22/pkg-comment (revision 39739) +++ head/mail/cyrus-imapd22/pkg-comment (revision 39740) @@ -1 +1 @@ -The cyrus mail server, supporting POP3, KPOP, and IMAP4 protocols +The cyrus mail server, supporting POP3 and IMAP4 protocols Property changes on: head/mail/cyrus-imapd22/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/mail/cyrus-imapd22/pkg-deinstall =================================================================== --- head/mail/cyrus-imapd22/pkg-deinstall (revision 39739) +++ head/mail/cyrus-imapd22/pkg-deinstall (revision 39740) @@ -1,47 +1,48 @@ #!/bin/sh # # $FreeBSD$ # # Created by: hetzels@westbend.net #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same rm $1 ;; 1) # config file exists and differs ;; *) # no config file exists ;; esac } # Uninstall 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.tmp if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf fi rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp fi } case $2 in DEINSTALL) cd ${PKG_PREFIX} cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf + checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; POST-DEINSTALL) ;; esac Property changes on: head/mail/cyrus-imapd22/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd22/pkg-install =================================================================== --- head/mail/cyrus-imapd22/pkg-install (revision 39739) +++ head/mail/cyrus-imapd22/pkg-install (revision 39740) @@ -1,126 +1,110 @@ #!/bin/sh #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} # # create 'cyrus' user and group before installing # create() { if [ ! -x /usr/sbin/pw ]; then echo "*** Please add a user and a group named \`cyrus' before installing this package." exit 69 fi if ! pw show group cyrus -q >/dev/null; then gid=60 while pw show group -g ${gid} -q >/dev/null; do gid=`expr ${gid} + 1` done if ! pw add group cyrus -g ${gid}; then e=$? echo "*** Failed to add group \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added group \`cyrus' (id ${gid})" else gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` fi if [ -x /sbin/nologin ]; then shell=/sbin/nologin else shell=/nonexistent fi if ! pw show user cyrus -q >/dev/null; then uid=60 while pw show user -u ${uid} -q >/dev/null; do uid=`expr ${uid} + 1` done if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to add user \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added user \`cyrus' (id ${uid})" else if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to update user \`cyrus'." exit ${e} fi echo "*** Updated user \`cyrus'." fi if ! pw group mod cyrus -m daemon; then echo "*** can't add user \`daemon' to group \`cyrus'" fi } checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; 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) create ;; 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'" - echo " is suitable for the Cyrus IMAP server." - 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." + checkfile ${PKG_PREFIX}/etc/cyrus.conf 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 Property changes on: head/mail/cyrus-imapd22/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd22/pkg-plist =================================================================== --- head/mail/cyrus-imapd22/pkg-plist (revision 39739) +++ head/mail/cyrus-imapd22/pkg-plist (revision 39740) @@ -1,41 +1,59 @@ -bin/cyradm bin/imtest -bin/installsieve -cyrus/bin/arbitron -cyrus/bin/collectnews +bin/cyradm +cyrus/bin/ctl_deliver +cyrus/bin/ctl_mboxlist cyrus/bin/cyrquota cyrus/bin/deliver -cyrus/bin/dump_deliverdb cyrus/bin/feedcyrus cyrus/bin/fud cyrus/bin/imapd +cyrus/bin/ipurge +cyrus/bin/lmtpd +cyrus/bin/master cyrus/bin/mbpath cyrus/bin/pop3d cyrus/bin/reconstruct -cyrus/bin/syncnews cyrus/bin/timsieved +etc/cyrus.conf.dist +etc/cyrus.conf etc/imapd.conf.dist -etc/inetd.conf.cyrus +etc/imapd.conf +etc/rc.d/imapd.sh.sample +include/cyrus/acap.h include/cyrus/acl.h include/cyrus/assert.h include/cyrus/auth.h include/cyrus/bsearch.h include/cyrus/charset.h +include/cyrus/cyrusdb.h include/cyrus/glob.h include/cyrus/gmtoff.h +include/cyrus/hash.h +include/cyrus/imapurl.h include/cyrus/imclient.h include/cyrus/imparse.h include/cyrus/lock.h +include/cyrus/lsort.h include/cyrus/map.h include/cyrus/mkgmtime.h include/cyrus/nonblock.h include/cyrus/parseaddr.h include/cyrus/prot.h include/cyrus/retry.h +include/cyrus/stristr.h include/cyrus/sysexits.h include/cyrus/util.h include/cyrus/xmalloc.h lib/libcyrus.a +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm @dirrm cyrus/bin @dirrm cyrus @dirrm include/cyrus +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus Property changes on: head/mail/cyrus-imapd22/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/mail/cyrus-imapd23/Makefile =================================================================== --- head/mail/cyrus-imapd23/Makefile (revision 39739) +++ head/mail/cyrus-imapd23/Makefile (revision 39740) @@ -1,97 +1,109 @@ -# New ports collection makefile for: cyrus -# Date created: May 4th 1997 -# Whom: jfitz@FreeBSD.org +# New ports collection makefile for: cyrus-imapd +# Date created: Jan 4th 2001 +# Whom: ume@FreeBSD.org # # $FreeBSD$ # -PORTNAME= cyrus -PORTVERSION= 1.6.24 -PORTREVISION= 1 -CATEGORIES= mail tcl82 +PORTNAME= cyrus-imapd +PORTVERSION= 2.0.12 +CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ -DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +PATCHFILES= ${DISTNAME}-ipv6-20010222.diff.gz -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ + db3.2:${PORTSDIR}/databases/db3 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=${LOCALBASE} \ - --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ + --with-sasl=${LOCALBASE} \ + --with-dbdir=${LOCALBASE} \ --with-auth=unix \ - --with-com-err + --with-com_err +.if defined(WITH_SNMP) +# It seems not compilable due to lack of auto_nlist_value() in libucdagent. +CONFIGURE_ENV= LIBS=-lkvm +.else +CONFIGURE_ARGS+=--with-ucdsnmp=no +.endif + MAN1= cyradm.1 imtest.1 installsieve.1 MAN3= imclient.3 -MAN5= imapd.conf.5 krb.equiv.5 -MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \ - imapd.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 syncnews.8 \ - timsieved.8 +MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 +MAN8= arbitron.8 ctl_deliver.8 ctl_mboxlist.8 collectnews.8 \ + cyrquota.8 deliver.8 fud.8 idled.8 imapd.8 ipurge.8 \ + lmtpd.8 master.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 \ + syncnews.8 timsieved.8 -post-configure: - @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c +DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ + changes copyrights feedback index install install-admin-mb \ + install-compile install-configure install-murder install-perf \ + install-prereq install-sieve install-snmpmon install-testing \ + install-upgrade mailing-list notes os overview questions \ + quota-extension readme server-design sieve sieve-protocol +HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ + install-auth install-compile install-configure install-murder \ + install-perf install-prereq install-sieve install-snmpmon \ + install-testing install-upgrade install mailing-list notes \ + os overview questions readme sieve-protocol sieve pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL -DOCS= README acl-extension anoncvs bugs changes copyrights install \ - mailing-list overview quota-extension server-design -HTDOCS= anoncvs bugs changes index install mailing-list overview \ - questions readme sieve-protocol sieve post-install: @ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cyrus/html -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} \ + ${MKDIR} ${PREFIX}/share/doc/cyrus/text +.for file in ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \ ${PREFIX}/share/doc/cyrus - @${ECHO} share/doc/cyrus/${file} >>${TMPPLIST} + @${ECHO} share/doc/cyrus/${file}.html >>${TMPPLIST} .endfor -.for file in ${HTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/html/${file}.html \ - ${PREFIX}/share/doc/cyrus/html - @${ECHO} share/doc/cyrus/html/${file}.html >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \ + ${PREFIX}/share/doc/cyrus + @${ECHO} share/doc/cyrus/cyrusv2.mc >>${TMPPLIST} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \ + ${PREFIX}/share/doc/cyrus/text + @${ECHO} share/doc/cyrus/text/${file} >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/cyrus/html" >>${TMPPLIST} + @${ECHO} "@dirrm share/doc/cyrus/text" >>${TMPPLIST} @${ECHO} "@dirrm share/doc/cyrus" >>${TMPPLIST} .endif + ${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ + ${PREFIX}/etc/rc.d/imapd.sh.sample ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${PREFIX}/etc/imapd.conf.dist - ${INSTALL_DATA} ${FILESDIR}/inetd.conf.cyrus \ - ${PREFIX}/etc/ - ${INSTALL} -d -m 750 -o cyrus -g cyrus \ - /var/spool/imap \ - ${PREFIX}/etc/imap \ - ${PREFIX}/etc/imap/user \ - ${PREFIX}/etc/imap/quota \ - ${PREFIX}/etc/imap/proc \ - ${PREFIX}/etc/imap/log \ - ${PREFIX}/etc/imap/msg - ${TOUCH} ${PREFIX}/etc/imap/mailboxes - ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} -.for dir in user quota proc log msg - @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ + ${PREFIX}/etc/cyrus.conf.dist + ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf + ${CHOWN} -R cyrus:cyrus /var/imap + ${CHOWN} -R cyrus:cyrus /var/spool/imap + @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} +.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db + @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} + @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@dirrm etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@dirrm imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} + @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/cyrus-imapd23/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/mail/cyrus-imapd23/distinfo =================================================================== --- head/mail/cyrus-imapd23/distinfo (revision 39739) +++ head/mail/cyrus-imapd23/distinfo (revision 39740) @@ -1 +1,2 @@ -MD5 (cyrus-imapd-1.6.24.tar.gz) = 490a246e787581e0bbc558788ff5f562 +MD5 (cyrus-imapd-2.0.12.tar.gz) = 61c2e2b200d487852f1856e8787f546f +MD5 (cyrus-imapd-2.0.12-ipv6-20010222.diff.gz) = 11ac759bbb18d7bdfbc1c016ed6985df Property changes on: head/mail/cyrus-imapd23/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-ae =================================================================== --- head/mail/cyrus-imapd23/files/patch-ae (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-ae (nonexistent) @@ -1,11 +0,0 @@ ---- imap/deliver.c.orig Tue Jan 4 17:49:02 2000 -+++ imap/deliver.c Tue Oct 31 22:49:37 2000 -@@ -821,7 +821,7 @@ - } - } - --#define SENDMAIL "/usr/lib/sendmail" -+#define SENDMAIL "/usr/sbin/sendmail" - #define POSTMASTER "postmaster" - - static char *month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Property changes on: head/mail/cyrus-imapd23/files/patch-ae ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-ad =================================================================== --- head/mail/cyrus-imapd23/files/patch-ad (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-ad (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Sun Apr 9 01:13:23 2000 -+++ configure.in Sun Apr 9 01:13:43 2000 -@@ -528,7 +528,7 @@ - # filename, it should be safe to add it (to the front of the line -- - # somef vendors have older, badly installed tclshs that we want to avoid - # if we can) -- AC_PATH_PROGS(TCLSH, [tclsh8.1 tclsh8.0 tclsh], "unknown") -+ AC_PATH_PROGS(TCLSH, [tclsh8.2 tclsh8.1 tclsh8.0 tclsh], "unknown") - fi - - # Do we know where to get a tclsh? Property changes on: head/mail/cyrus-imapd23/files/patch-ad ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bj =================================================================== --- head/mail/cyrus-imapd23/files/patch-bj (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bj (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/config.c Sun Apr 9 07:58:37 2000 -+++ config.c Sun Apr 9 07:58:47 2000 -@@ -41,7 +41,7 @@ - - extern int errno; - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#define CONFIG_FILENAME "/usr/local/etc/imapd.conf" - - struct configlist { - char *key; Property changes on: head/mail/cyrus-imapd23/files/patch-bj ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bi =================================================================== --- head/mail/cyrus-imapd23/files/patch-bi (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bi (nonexistent) @@ -1,11 +0,0 @@ ---- installsieve/Makefile.in.orig Sun Apr 9 01:58:03 2000 -+++ installsieve/Makefile.in Sun Apr 9 01:58:35 2000 -@@ -28,7 +28,7 @@ - CC = @CC@ - - DEFS = @DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd23/files/patch-bi ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bh =================================================================== --- head/mail/cyrus-imapd23/files/patch-bh (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bh (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/Makefile.in.orig Sun Apr 9 01:52:10 2000 -+++ timsieved/Makefile.in Sun Apr 9 01:52:37 2000 -@@ -34,7 +34,7 @@ - CYRUS_GROUP=@cyrus_group@ - - DEFS = @DEFS@ @LOCALDEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd23/files/patch-bh ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bg =================================================================== --- head/mail/cyrus-imapd23/files/patch-bg (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bg (nonexistent) @@ -1,12 +0,0 @@ ---- configure.orig Fri Dec 4 12:03:58 1998 -+++ configure Sat Apr 15 11:44:42 2000 -@@ -3348,6 +3348,9 @@ - - fi - -+# Kerberos IV on FreeBSD depends on libcom_err. -+LIBS="-lcom_err $LIBS" -+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h - - echo $ac_n "checking for crypt""... $ac_c" 1>&6 - echo "configure:3354: checking for crypt" >&5 Property changes on: head/mail/cyrus-imapd23/files/patch-bg ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bf =================================================================== --- head/mail/cyrus-imapd23/files/patch-bf (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bf (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Fri Dec 4 11:34:53 1998 -+++ configure.in Sun Apr 9 12:16:24 2000 -@@ -698,6 +698,8 @@ - - dnl Kerberos wants this so we might as well check on it first - AC_CHECK_FUNC(res_search,,AC_CHECK_LIB(resolv,res_search)) -+ dnl Kerberos IV on FreeBSD depends on libcom_err, so check for it -+ AC_CHECK_LIB(com_err, init_error_table) - - dnl gotta do this: crypt is used by sasl_krb_server.c - AC_CHECK_FUNC(crypt,,AC_CHECK_LIB(crypt, crypt)) Property changes on: head/mail/cyrus-imapd23/files/patch-bf ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bb =================================================================== --- head/mail/cyrus-imapd23/files/patch-bb (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bb (nonexistent) @@ -1,13 +0,0 @@ ---- cyradm/Makefile.in.orig Fri Aug 7 08:48:26 1998 -+++ cyradm/Makefile.in Mon May 10 02:40:06 1999 -@@ -33,8 +33,8 @@ - RANLIB = @RANLIB@ - - DEFS = @DEFS@ @TCL_DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ --LIBS = @TCL_LIBS@ @IMAP_LIBS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ @SASLFLAGS@ -+LIBS = @TCL_LIBS@ -lm @IMAP_LIBS@ - DEPLIBS = ../lib/libcyrus.a @DEPLIBS@ - - CFLAGS = @CFLAGS@ Property changes on: head/mail/cyrus-imapd23/files/patch-bb ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-ca =================================================================== --- head/mail/cyrus-imapd23/files/patch-ca (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-ca (nonexistent) @@ -1,10 +0,0 @@ ---- sieve/comparator.h.orig Sun Nov 12 18:00:13 2000 -+++ sieve/comparator.h Sun Nov 12 18:00:19 2000 -@@ -31,6 +31,7 @@ - #ifdef HAVE_RX - #include - #else -+#include - #include - #endif - #endif Property changes on: head/mail/cyrus-imapd23/files/patch-ca ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/inetd.conf.cyrus =================================================================== --- head/mail/cyrus-imapd23/files/inetd.conf.cyrus (revision 39739) +++ head/mail/cyrus-imapd23/files/inetd.conf.cyrus (nonexistent) @@ -1,19 +0,0 @@ -# -# Example entry for inetd.conf for the Cyrus IMAP server. -# $FreeBSD$ -# -# Replace /usr/local with the path where you've installed the package. -# -# The IMAP-4 server. -imap4 stream tcp nowait cyrus /usr/local/cyrus/bin/imapd imapd -# -# To be able to access the IMAP mailbox by POP-3, use this line. -pop3 stream tcp nowait cyrus /usr/local/cyrus/bin/pop3d pop3d -# -# Program to upload user sieve scripts to the IMAP server. -# -# NOTE: you will need to add "sieve" to /etc/services. -# timsieved uses port 2000. -# -sieve stream tcp nowait cyrus /usr/local/cyrus/bin/timsieved sieve - Property changes on: head/mail/cyrus-imapd23/files/inetd.conf.cyrus ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd23/files/imapd.conf =================================================================== --- head/mail/cyrus-imapd23/files/imapd.conf (revision 39739) +++ head/mail/cyrus-imapd23/files/imapd.conf (revision 39740) @@ -1,139 +1,139 @@ # # $FreeBSD$ # # 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: /usr/local/etc/imap +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 # The umask value used by various Cyrus IMAP programs # #umask: 077 # Whether to allow anonymous logins # #allowanonymouslogin: no # 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 # 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 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: # The list of the host names of the mail domain's IMSP servers. Separate each # host name with a space. The Kerberos identities of these servers may login # as any user in order to perform commands by proxy. # #imspservers: # 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: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # 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 only used when the server is compiled with Kerberos # authentication. # #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: # 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, deliver wil 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. /usr/local/etc/imap/sieve/u/user). +# sieve directory (ie. /var/imap/sieve/u/user). # -sievedir: /usr/local/etc/imap/sieve +sievedir: /var/imap/sieve # 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 # The mechanism used by the server to verify plaintext passwords. Possible # values include "PAM", "kerberos_v4", "passwd", and "shadow" # sasl_pwcheck_method: pwcheck # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # # EOF Property changes on: head/mail/cyrus-imapd23/files/imapd.conf ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/cyrus-imapd23/files/imapd.sh =================================================================== --- head/mail/cyrus-imapd23/files/imapd.sh (nonexistent) +++ head/mail/cyrus-imapd23/files/imapd.sh (revision 39740) @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 Property changes on: head/mail/cyrus-imapd23/files/imapd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-ac =================================================================== --- head/mail/cyrus-imapd23/files/patch-ac (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-ac (revision 39740) @@ -1,11 +1,13 @@ ---- configure Thu Jan 6 22:28:51 2000 -+++ /tmp/configure.new Sat Apr 8 20:55:29 2000 -@@ -4951,7 +4951,7 @@ - # try the user-specified path --- too lazy to test for it right now - LIB_SASL="-L$sasldir/lib -lsasl" - -- SASLFLAGS="-I$sasldir/include" -+ SASLFLAGS="-I$sasldir/include/sasl" - - fi +Index: configure +diff -u configure.orig configure +--- configure.orig Thu Dec 21 06:39:31 2000 ++++ configure Thu Jan 4 23:22:47 2001 +@@ -4178,7 +4178,7 @@ + cmu_saved_LIBS=$LIBS + if test -d ${with_sasl}; then + ac_cv_sasl_where_lib=${with_sasl}/lib +- ac_cv_sasl_where_inc=${with_sasl}/include ++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl + SASLFLAGS="-I$ac_cv_sasl_where_inc" + LIB_SASL="-L$ac_cv_sasl_where_lib" Property changes on: head/mail/cyrus-imapd23/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-af =================================================================== --- head/mail/cyrus-imapd23/files/patch-af (nonexistent) +++ head/mail/cyrus-imapd23/files/patch-af (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpd.c +diff -u imap/lmtpd.c.orig imap/lmtpd.c +--- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 +@@ -407,7 +407,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd23/files/patch-af ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-ag =================================================================== --- head/mail/cyrus-imapd23/files/patch-ag (nonexistent) +++ head/mail/cyrus-imapd23/files/patch-ag (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpproxyd.c +diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c +--- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 +@@ -398,7 +398,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd23/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-bc =================================================================== --- head/mail/cyrus-imapd23/files/patch-bc (revision 39739) +++ head/mail/cyrus-imapd23/files/patch-bc (revision 39740) @@ -1,19 +1,13 @@ -*** imap/Makefile.in.orig Fri Nov 5 01:00:34 1999 ---- imap/Makefile.in Thu Mar 9 18:59:14 2000 -*************** -*** 45,51 **** - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ ---- 45,51 ---- - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ +Index: imap/Makefile.in +diff -u imap/Makefile.in.orig imap/Makefile.in +--- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 ++++ imap/Makefile.in Thu Jan 4 23:30:15 2001 +@@ -64,7 +64,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" + CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ + IMAP_LIBS = @IMAP_LIBS@ + SIEVE_LIBS = @SIEVE_LIBS@ Property changes on: head/mail/cyrus-imapd23/files/patch-bc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-dc =================================================================== --- head/mail/cyrus-imapd23/files/patch-dc (nonexistent) +++ head/mail/cyrus-imapd23/files/patch-dc (revision 39740) @@ -0,0 +1,13 @@ +Index: master/Makefile.in +diff -u master/Makefile.in.orig master/Makefile.in +--- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 ++++ master/Makefile.in Sat Jan 6 06:08:21 2001 +@@ -52,7 +52,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" + CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ + DEPLIBS = @DEPLIBS@ + Property changes on: head/mail/cyrus-imapd23/files/patch-dc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-dd =================================================================== --- head/mail/cyrus-imapd23/files/patch-dd (nonexistent) +++ head/mail/cyrus-imapd23/files/patch-dd (revision 39740) @@ -0,0 +1,14 @@ +Index: master/masterconf.c +diff -u master/masterconf.c.orig master/masterconf.c +--- master/masterconf.c.orig Wed May 24 05:56:30 2000 ++++ master/masterconf.c Sat Jan 6 06:07:22 2001 +@@ -60,7 +60,9 @@ + + extern int errno; + ++#if !defined(CONFIG_FILENAME) + #define CONFIG_FILENAME "/etc/cyrus.conf" ++#endif + + struct configlist { + char *key; Property changes on: head/mail/cyrus-imapd23/files/patch-dd ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd23/files/patch-df =================================================================== --- head/mail/cyrus-imapd23/files/patch-df (nonexistent) +++ head/mail/cyrus-imapd23/files/patch-df (revision 39740) @@ -0,0 +1,22 @@ +Index: master/service.c +=================================================================== +RCS file: /usr/home/ume/ncvs/src/cyrus-imapd/master/service.c,v +retrieving revision 1.2 +diff -u -r1.2 service.c +--- master/service.c 2001/02/01 14:11:43 1.2 ++++ master/service.c 2001/02/01 22:10:35 +@@ -99,7 +99,13 @@ + + /* is this a connection from the local host? */ + if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { +- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { ++ switch (((struct sockaddr *)&sin)->sa_family) { ++ case AF_INET: ++#ifdef INET6 ++ case AF_INET6: ++#endif ++ break; ++ default: + return 1; + } + } Property changes on: head/mail/cyrus-imapd23/files/patch-df ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd23/pkg-comment =================================================================== --- head/mail/cyrus-imapd23/pkg-comment (revision 39739) +++ head/mail/cyrus-imapd23/pkg-comment (revision 39740) @@ -1 +1 @@ -The cyrus mail server, supporting POP3, KPOP, and IMAP4 protocols +The cyrus mail server, supporting POP3 and IMAP4 protocols Property changes on: head/mail/cyrus-imapd23/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/mail/cyrus-imapd23/pkg-deinstall =================================================================== --- head/mail/cyrus-imapd23/pkg-deinstall (revision 39739) +++ head/mail/cyrus-imapd23/pkg-deinstall (revision 39740) @@ -1,47 +1,48 @@ #!/bin/sh # # $FreeBSD$ # # Created by: hetzels@westbend.net #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same rm $1 ;; 1) # config file exists and differs ;; *) # no config file exists ;; esac } # Uninstall 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.tmp if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf fi rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp fi } case $2 in DEINSTALL) cd ${PKG_PREFIX} cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf + checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; POST-DEINSTALL) ;; esac Property changes on: head/mail/cyrus-imapd23/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd23/pkg-install =================================================================== --- head/mail/cyrus-imapd23/pkg-install (revision 39739) +++ head/mail/cyrus-imapd23/pkg-install (revision 39740) @@ -1,126 +1,110 @@ #!/bin/sh #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} # # create 'cyrus' user and group before installing # create() { if [ ! -x /usr/sbin/pw ]; then echo "*** Please add a user and a group named \`cyrus' before installing this package." exit 69 fi if ! pw show group cyrus -q >/dev/null; then gid=60 while pw show group -g ${gid} -q >/dev/null; do gid=`expr ${gid} + 1` done if ! pw add group cyrus -g ${gid}; then e=$? echo "*** Failed to add group \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added group \`cyrus' (id ${gid})" else gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` fi if [ -x /sbin/nologin ]; then shell=/sbin/nologin else shell=/nonexistent fi if ! pw show user cyrus -q >/dev/null; then uid=60 while pw show user -u ${uid} -q >/dev/null; do uid=`expr ${uid} + 1` done if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to add user \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added user \`cyrus' (id ${uid})" else if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to update user \`cyrus'." exit ${e} fi echo "*** Updated user \`cyrus'." fi if ! pw group mod cyrus -m daemon; then echo "*** can't add user \`daemon' to group \`cyrus'" fi } checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; 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) create ;; 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'" - echo " is suitable for the Cyrus IMAP server." - 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." + checkfile ${PKG_PREFIX}/etc/cyrus.conf 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 Property changes on: head/mail/cyrus-imapd23/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd23/pkg-plist =================================================================== --- head/mail/cyrus-imapd23/pkg-plist (revision 39739) +++ head/mail/cyrus-imapd23/pkg-plist (revision 39740) @@ -1,41 +1,59 @@ -bin/cyradm bin/imtest -bin/installsieve -cyrus/bin/arbitron -cyrus/bin/collectnews +bin/cyradm +cyrus/bin/ctl_deliver +cyrus/bin/ctl_mboxlist cyrus/bin/cyrquota cyrus/bin/deliver -cyrus/bin/dump_deliverdb cyrus/bin/feedcyrus cyrus/bin/fud cyrus/bin/imapd +cyrus/bin/ipurge +cyrus/bin/lmtpd +cyrus/bin/master cyrus/bin/mbpath cyrus/bin/pop3d cyrus/bin/reconstruct -cyrus/bin/syncnews cyrus/bin/timsieved +etc/cyrus.conf.dist +etc/cyrus.conf etc/imapd.conf.dist -etc/inetd.conf.cyrus +etc/imapd.conf +etc/rc.d/imapd.sh.sample +include/cyrus/acap.h include/cyrus/acl.h include/cyrus/assert.h include/cyrus/auth.h include/cyrus/bsearch.h include/cyrus/charset.h +include/cyrus/cyrusdb.h include/cyrus/glob.h include/cyrus/gmtoff.h +include/cyrus/hash.h +include/cyrus/imapurl.h include/cyrus/imclient.h include/cyrus/imparse.h include/cyrus/lock.h +include/cyrus/lsort.h include/cyrus/map.h include/cyrus/mkgmtime.h include/cyrus/nonblock.h include/cyrus/parseaddr.h include/cyrus/prot.h include/cyrus/retry.h +include/cyrus/stristr.h include/cyrus/sysexits.h include/cyrus/util.h include/cyrus/xmalloc.h lib/libcyrus.a +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm @dirrm cyrus/bin @dirrm cyrus @dirrm include/cyrus +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus Property changes on: head/mail/cyrus-imapd23/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/mail/cyrus-imapd24/Makefile =================================================================== --- head/mail/cyrus-imapd24/Makefile (revision 39739) +++ head/mail/cyrus-imapd24/Makefile (revision 39740) @@ -1,97 +1,109 @@ -# New ports collection makefile for: cyrus -# Date created: May 4th 1997 -# Whom: jfitz@FreeBSD.org +# New ports collection makefile for: cyrus-imapd +# Date created: Jan 4th 2001 +# Whom: ume@FreeBSD.org # # $FreeBSD$ # -PORTNAME= cyrus -PORTVERSION= 1.6.24 -PORTREVISION= 1 -CATEGORIES= mail tcl82 +PORTNAME= cyrus-imapd +PORTVERSION= 2.0.12 +CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ -DISTNAME= ${PORTNAME}-imapd-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +PATCHFILES= ${DISTNAME}-ipv6-20010222.diff.gz -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 +MAINTAINER= ume@FreeBSD.org + +LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ + db3.2:${PORTSDIR}/databases/db3 BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-group=cyrus \ - --with-sasldir=${LOCALBASE} \ - --with-tclsh=${LOCALBASE}/bin/tclsh8.2 \ + --with-sasl=${LOCALBASE} \ + --with-dbdir=${LOCALBASE} \ --with-auth=unix \ - --with-com-err + --with-com_err +.if defined(WITH_SNMP) +# It seems not compilable due to lack of auto_nlist_value() in libucdagent. +CONFIGURE_ENV= LIBS=-lkvm +.else +CONFIGURE_ARGS+=--with-ucdsnmp=no +.endif + MAN1= cyradm.1 imtest.1 installsieve.1 MAN3= imclient.3 -MAN5= imapd.conf.5 krb.equiv.5 -MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \ - imapd.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 syncnews.8 \ - timsieved.8 +MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 +MAN8= arbitron.8 ctl_deliver.8 ctl_mboxlist.8 collectnews.8 \ + cyrquota.8 deliver.8 fud.8 idled.8 imapd.8 ipurge.8 \ + lmtpd.8 master.8 mbpath.8 pop3d.8 reconstruct.8 rmnews.8 \ + syncnews.8 timsieved.8 -post-configure: - @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c +DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ + changes copyrights feedback index install install-admin-mb \ + install-compile install-configure install-murder install-perf \ + install-prereq install-sieve install-snmpmon install-testing \ + install-upgrade mailing-list notes os overview questions \ + quota-extension readme server-design sieve sieve-protocol +HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ + install-auth install-compile install-configure install-murder \ + install-perf install-prereq install-sieve install-snmpmon \ + install-testing install-upgrade install mailing-list notes \ + os overview questions readme sieve-protocol sieve pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL -DOCS= README acl-extension anoncvs bugs changes copyrights install \ - mailing-list overview quota-extension server-design -HTDOCS= anoncvs bugs changes index install mailing-list overview \ - questions readme sieve-protocol sieve post-install: @ ${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/cyrus/html -.for file in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} \ + ${MKDIR} ${PREFIX}/share/doc/cyrus/text +.for file in ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \ ${PREFIX}/share/doc/cyrus - @${ECHO} share/doc/cyrus/${file} >>${TMPPLIST} + @${ECHO} share/doc/cyrus/${file}.html >>${TMPPLIST} .endfor -.for file in ${HTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/html/${file}.html \ - ${PREFIX}/share/doc/cyrus/html - @${ECHO} share/doc/cyrus/html/${file}.html >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \ + ${PREFIX}/share/doc/cyrus + @${ECHO} share/doc/cyrus/cyrusv2.mc >>${TMPPLIST} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \ + ${PREFIX}/share/doc/cyrus/text + @${ECHO} share/doc/cyrus/text/${file} >>${TMPPLIST} .endfor - @${ECHO} "@dirrm share/doc/cyrus/html" >>${TMPPLIST} + @${ECHO} "@dirrm share/doc/cyrus/text" >>${TMPPLIST} @${ECHO} "@dirrm share/doc/cyrus" >>${TMPPLIST} .endif + ${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ + ${PREFIX}/etc/rc.d/imapd.sh.sample ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${PREFIX}/etc/imapd.conf.dist - ${INSTALL_DATA} ${FILESDIR}/inetd.conf.cyrus \ - ${PREFIX}/etc/ - ${INSTALL} -d -m 750 -o cyrus -g cyrus \ - /var/spool/imap \ - ${PREFIX}/etc/imap \ - ${PREFIX}/etc/imap/user \ - ${PREFIX}/etc/imap/quota \ - ${PREFIX}/etc/imap/proc \ - ${PREFIX}/etc/imap/log \ - ${PREFIX}/etc/imap/msg - ${TOUCH} ${PREFIX}/etc/imap/mailboxes - ${CHMOD} 640 ${PREFIX}/etc/imap/mailboxes - ${CHOWN} cyrus:cyrus ${PREFIX}/etc/imap/mailboxes - @${ECHO} "@exec ${MKDIR} %D/etc/imap" >>${TMPPLIST} -.for dir in user quota proc log msg - @${ECHO} "@exec ${MKDIR} %D/etc/imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm etc/imap/${dir}" >>${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ + ${PREFIX}/etc/cyrus.conf.dist + ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf + ${CHOWN} -R cyrus:cyrus /var/imap + ${CHOWN} -R cyrus:cyrus /var/spool/imap + @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} +.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db + @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} + @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} .endfor - @${ECHO} "@dirrm etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CP} /dev/null %D/etc/imap/mailboxes" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus %D/etc/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= %D/etc/imap" >>${TMPPLIST} + @${ECHO} "@dirrm imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= /var/spool/imap" >>${TMPPLIST} - @${ECHO} "@cwd /var" >>${TMPPLIST} + @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} + @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} + @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/cyrus-imapd24/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/mail/cyrus-imapd24/distinfo =================================================================== --- head/mail/cyrus-imapd24/distinfo (revision 39739) +++ head/mail/cyrus-imapd24/distinfo (revision 39740) @@ -1 +1,2 @@ -MD5 (cyrus-imapd-1.6.24.tar.gz) = 490a246e787581e0bbc558788ff5f562 +MD5 (cyrus-imapd-2.0.12.tar.gz) = 61c2e2b200d487852f1856e8787f546f +MD5 (cyrus-imapd-2.0.12-ipv6-20010222.diff.gz) = 11ac759bbb18d7bdfbc1c016ed6985df Property changes on: head/mail/cyrus-imapd24/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-ae =================================================================== --- head/mail/cyrus-imapd24/files/patch-ae (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-ae (nonexistent) @@ -1,11 +0,0 @@ ---- imap/deliver.c.orig Tue Jan 4 17:49:02 2000 -+++ imap/deliver.c Tue Oct 31 22:49:37 2000 -@@ -821,7 +821,7 @@ - } - } - --#define SENDMAIL "/usr/lib/sendmail" -+#define SENDMAIL "/usr/sbin/sendmail" - #define POSTMASTER "postmaster" - - static char *month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Property changes on: head/mail/cyrus-imapd24/files/patch-ae ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-ad =================================================================== --- head/mail/cyrus-imapd24/files/patch-ad (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-ad (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Sun Apr 9 01:13:23 2000 -+++ configure.in Sun Apr 9 01:13:43 2000 -@@ -528,7 +528,7 @@ - # filename, it should be safe to add it (to the front of the line -- - # somef vendors have older, badly installed tclshs that we want to avoid - # if we can) -- AC_PATH_PROGS(TCLSH, [tclsh8.1 tclsh8.0 tclsh], "unknown") -+ AC_PATH_PROGS(TCLSH, [tclsh8.2 tclsh8.1 tclsh8.0 tclsh], "unknown") - fi - - # Do we know where to get a tclsh? Property changes on: head/mail/cyrus-imapd24/files/patch-ad ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bj =================================================================== --- head/mail/cyrus-imapd24/files/patch-bj (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bj (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/config.c Sun Apr 9 07:58:37 2000 -+++ config.c Sun Apr 9 07:58:47 2000 -@@ -41,7 +41,7 @@ - - extern int errno; - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#define CONFIG_FILENAME "/usr/local/etc/imapd.conf" - - struct configlist { - char *key; Property changes on: head/mail/cyrus-imapd24/files/patch-bj ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bi =================================================================== --- head/mail/cyrus-imapd24/files/patch-bi (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bi (nonexistent) @@ -1,11 +0,0 @@ ---- installsieve/Makefile.in.orig Sun Apr 9 01:58:03 2000 -+++ installsieve/Makefile.in Sun Apr 9 01:58:35 2000 -@@ -28,7 +28,7 @@ - CC = @CC@ - - DEFS = @DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd24/files/patch-bi ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bh =================================================================== --- head/mail/cyrus-imapd24/files/patch-bh (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bh (nonexistent) @@ -1,11 +0,0 @@ ---- timsieved/Makefile.in.orig Sun Apr 9 01:52:10 2000 -+++ timsieved/Makefile.in Sun Apr 9 01:52:37 2000 -@@ -34,7 +34,7 @@ - CYRUS_GROUP=@cyrus_group@ - - DEFS = @DEFS@ @LOCALDEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../sieve -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ - Property changes on: head/mail/cyrus-imapd24/files/patch-bh ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bg =================================================================== --- head/mail/cyrus-imapd24/files/patch-bg (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bg (nonexistent) @@ -1,12 +0,0 @@ ---- configure.orig Fri Dec 4 12:03:58 1998 -+++ configure Sat Apr 15 11:44:42 2000 -@@ -3348,6 +3348,9 @@ - - fi - -+# Kerberos IV on FreeBSD depends on libcom_err. -+LIBS="-lcom_err $LIBS" -+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h - - echo $ac_n "checking for crypt""... $ac_c" 1>&6 - echo "configure:3354: checking for crypt" >&5 Property changes on: head/mail/cyrus-imapd24/files/patch-bg ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bf =================================================================== --- head/mail/cyrus-imapd24/files/patch-bf (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bf (nonexistent) @@ -1,11 +0,0 @@ ---- configure.in.orig Fri Dec 4 11:34:53 1998 -+++ configure.in Sun Apr 9 12:16:24 2000 -@@ -698,6 +698,8 @@ - - dnl Kerberos wants this so we might as well check on it first - AC_CHECK_FUNC(res_search,,AC_CHECK_LIB(resolv,res_search)) -+ dnl Kerberos IV on FreeBSD depends on libcom_err, so check for it -+ AC_CHECK_LIB(com_err, init_error_table) - - dnl gotta do this: crypt is used by sasl_krb_server.c - AC_CHECK_FUNC(crypt,,AC_CHECK_LIB(crypt, crypt)) Property changes on: head/mail/cyrus-imapd24/files/patch-bf ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bb =================================================================== --- head/mail/cyrus-imapd24/files/patch-bb (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bb (nonexistent) @@ -1,13 +0,0 @@ ---- cyradm/Makefile.in.orig Fri Aug 7 08:48:26 1998 -+++ cyradm/Makefile.in Mon May 10 02:40:06 1999 -@@ -33,8 +33,8 @@ - RANLIB = @RANLIB@ - - DEFS = @DEFS@ @TCL_DEFS@ --CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ --LIBS = @TCL_LIBS@ @IMAP_LIBS@ -+CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../et @CPPFLAGS@ @TCL_CPPFLAGS@ @SASLFLAGS@ -+LIBS = @TCL_LIBS@ -lm @IMAP_LIBS@ - DEPLIBS = ../lib/libcyrus.a @DEPLIBS@ - - CFLAGS = @CFLAGS@ Property changes on: head/mail/cyrus-imapd24/files/patch-bb ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-ca =================================================================== --- head/mail/cyrus-imapd24/files/patch-ca (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-ca (nonexistent) @@ -1,10 +0,0 @@ ---- sieve/comparator.h.orig Sun Nov 12 18:00:13 2000 -+++ sieve/comparator.h Sun Nov 12 18:00:19 2000 -@@ -31,6 +31,7 @@ - #ifdef HAVE_RX - #include - #else -+#include - #include - #endif - #endif Property changes on: head/mail/cyrus-imapd24/files/patch-ca ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/inetd.conf.cyrus =================================================================== --- head/mail/cyrus-imapd24/files/inetd.conf.cyrus (revision 39739) +++ head/mail/cyrus-imapd24/files/inetd.conf.cyrus (nonexistent) @@ -1,19 +0,0 @@ -# -# Example entry for inetd.conf for the Cyrus IMAP server. -# $FreeBSD$ -# -# Replace /usr/local with the path where you've installed the package. -# -# The IMAP-4 server. -imap4 stream tcp nowait cyrus /usr/local/cyrus/bin/imapd imapd -# -# To be able to access the IMAP mailbox by POP-3, use this line. -pop3 stream tcp nowait cyrus /usr/local/cyrus/bin/pop3d pop3d -# -# Program to upload user sieve scripts to the IMAP server. -# -# NOTE: you will need to add "sieve" to /etc/services. -# timsieved uses port 2000. -# -sieve stream tcp nowait cyrus /usr/local/cyrus/bin/timsieved sieve - Property changes on: head/mail/cyrus-imapd24/files/inetd.conf.cyrus ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd24/files/imapd.conf =================================================================== --- head/mail/cyrus-imapd24/files/imapd.conf (revision 39739) +++ head/mail/cyrus-imapd24/files/imapd.conf (revision 39740) @@ -1,139 +1,139 @@ # # $FreeBSD$ # # 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: /usr/local/etc/imap +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 # The umask value used by various Cyrus IMAP programs # #umask: 077 # Whether to allow anonymous logins # #allowanonymouslogin: no # 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 # 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 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: # The list of the host names of the mail domain's IMSP servers. Separate each # host name with a space. The Kerberos identities of these servers may login # as any user in order to perform commands by proxy. # #imspservers: # 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: # Prefix to be prepended to newsgroup names to make the corresponding IMAP # mailbox names. # #newsprefix: # 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 only used when the server is compiled with Kerberos # authentication. # #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: # 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, deliver wil 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. /usr/local/etc/imap/sieve/u/user). +# sieve directory (ie. /var/imap/sieve/u/user). # -sievedir: /usr/local/etc/imap/sieve +sievedir: /var/imap/sieve # 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 # The mechanism used by the server to verify plaintext passwords. Possible # values include "PAM", "kerberos_v4", "passwd", and "shadow" # sasl_pwcheck_method: pwcheck # If enabled, the SASL library will automatically create authentication # secrets when given a plaintext password. See the SASL documentation. # #sasl_auto_transition: no # # EOF Property changes on: head/mail/cyrus-imapd24/files/imapd.conf ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/mail/cyrus-imapd24/files/imapd.sh =================================================================== --- head/mail/cyrus-imapd24/files/imapd.sh (nonexistent) +++ head/mail/cyrus-imapd24/files/imapd.sh (revision 39740) @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$1" in +start) + if [ -x /usr/local/cyrus/bin/master -a \ + -f /usr/local/etc/cyrus.conf -a \ + -f /usr/local/etc/imapd.conf ]; then + /usr/local/cyrus/bin/master & + echo -n ' imapd' + fi + ;; +stop) + killall -u cyrus master && echo -n ' imapd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 Property changes on: head/mail/cyrus-imapd24/files/imapd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-ac =================================================================== --- head/mail/cyrus-imapd24/files/patch-ac (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-ac (revision 39740) @@ -1,11 +1,13 @@ ---- configure Thu Jan 6 22:28:51 2000 -+++ /tmp/configure.new Sat Apr 8 20:55:29 2000 -@@ -4951,7 +4951,7 @@ - # try the user-specified path --- too lazy to test for it right now - LIB_SASL="-L$sasldir/lib -lsasl" - -- SASLFLAGS="-I$sasldir/include" -+ SASLFLAGS="-I$sasldir/include/sasl" - - fi +Index: configure +diff -u configure.orig configure +--- configure.orig Thu Dec 21 06:39:31 2000 ++++ configure Thu Jan 4 23:22:47 2001 +@@ -4178,7 +4178,7 @@ + cmu_saved_LIBS=$LIBS + if test -d ${with_sasl}; then + ac_cv_sasl_where_lib=${with_sasl}/lib +- ac_cv_sasl_where_inc=${with_sasl}/include ++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl + SASLFLAGS="-I$ac_cv_sasl_where_inc" + LIB_SASL="-L$ac_cv_sasl_where_lib" Property changes on: head/mail/cyrus-imapd24/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-af =================================================================== --- head/mail/cyrus-imapd24/files/patch-af (nonexistent) +++ head/mail/cyrus-imapd24/files/patch-af (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpd.c +diff -u imap/lmtpd.c.orig imap/lmtpd.c +--- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 +@@ -407,7 +407,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd24/files/patch-af ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-ag =================================================================== --- head/mail/cyrus-imapd24/files/patch-ag (nonexistent) +++ head/mail/cyrus-imapd24/files/patch-ag (revision 39740) @@ -0,0 +1,13 @@ +Index: imap/lmtpproxyd.c +diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c +--- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 ++++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 +@@ -398,7 +398,7 @@ + } + } + +-#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") ++#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") + #define DEFAULT_POSTMASTER ("postmaster") + + #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) Property changes on: head/mail/cyrus-imapd24/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-bc =================================================================== --- head/mail/cyrus-imapd24/files/patch-bc (revision 39739) +++ head/mail/cyrus-imapd24/files/patch-bc (revision 39740) @@ -1,19 +1,13 @@ -*** imap/Makefile.in.orig Fri Nov 5 01:00:34 1999 ---- imap/Makefile.in Thu Mar 9 18:59:14 2000 -*************** -*** 45,51 **** - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ ---- 45,51 ---- - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - -! DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ +Index: imap/Makefile.in +diff -u imap/Makefile.in.orig imap/Makefile.in +--- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 ++++ imap/Makefile.in Thu Jan 4 23:30:15 2001 +@@ -64,7 +64,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" + CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ + IMAP_LIBS = @IMAP_LIBS@ + SIEVE_LIBS = @SIEVE_LIBS@ Property changes on: head/mail/cyrus-imapd24/files/patch-bc ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-dc =================================================================== --- head/mail/cyrus-imapd24/files/patch-dc (nonexistent) +++ head/mail/cyrus-imapd24/files/patch-dc (revision 39740) @@ -0,0 +1,13 @@ +Index: master/Makefile.in +diff -u master/Makefile.in.orig master/Makefile.in +--- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 ++++ master/Makefile.in Sat Jan 6 06:08:21 2001 +@@ -52,7 +52,7 @@ + CYRUS_USER=@cyrus_user@ + CYRUS_GROUP=@cyrus_group@ + +-DEFS = @DEFS@ @LOCALDEFS@ ++DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" + CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ + DEPLIBS = @DEPLIBS@ + Property changes on: head/mail/cyrus-imapd24/files/patch-dc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-dd =================================================================== --- head/mail/cyrus-imapd24/files/patch-dd (nonexistent) +++ head/mail/cyrus-imapd24/files/patch-dd (revision 39740) @@ -0,0 +1,14 @@ +Index: master/masterconf.c +diff -u master/masterconf.c.orig master/masterconf.c +--- master/masterconf.c.orig Wed May 24 05:56:30 2000 ++++ master/masterconf.c Sat Jan 6 06:07:22 2001 +@@ -60,7 +60,9 @@ + + extern int errno; + ++#if !defined(CONFIG_FILENAME) + #define CONFIG_FILENAME "/etc/cyrus.conf" ++#endif + + struct configlist { + char *key; Property changes on: head/mail/cyrus-imapd24/files/patch-dd ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd24/files/patch-df =================================================================== --- head/mail/cyrus-imapd24/files/patch-df (nonexistent) +++ head/mail/cyrus-imapd24/files/patch-df (revision 39740) @@ -0,0 +1,22 @@ +Index: master/service.c +=================================================================== +RCS file: /usr/home/ume/ncvs/src/cyrus-imapd/master/service.c,v +retrieving revision 1.2 +diff -u -r1.2 service.c +--- master/service.c 2001/02/01 14:11:43 1.2 ++++ master/service.c 2001/02/01 22:10:35 +@@ -99,7 +99,13 @@ + + /* is this a connection from the local host? */ + if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { +- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { ++ switch (((struct sockaddr *)&sin)->sa_family) { ++ case AF_INET: ++#ifdef INET6 ++ case AF_INET6: ++#endif ++ break; ++ default: + return 1; + } + } Property changes on: head/mail/cyrus-imapd24/files/patch-df ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/cyrus-imapd24/pkg-comment =================================================================== --- head/mail/cyrus-imapd24/pkg-comment (revision 39739) +++ head/mail/cyrus-imapd24/pkg-comment (revision 39740) @@ -1 +1 @@ -The cyrus mail server, supporting POP3, KPOP, and IMAP4 protocols +The cyrus mail server, supporting POP3 and IMAP4 protocols Property changes on: head/mail/cyrus-imapd24/pkg-comment ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/mail/cyrus-imapd24/pkg-deinstall =================================================================== --- head/mail/cyrus-imapd24/pkg-deinstall (revision 39739) +++ head/mail/cyrus-imapd24/pkg-deinstall (revision 39740) @@ -1,47 +1,48 @@ #!/bin/sh # # $FreeBSD$ # # Created by: hetzels@westbend.net #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same rm $1 ;; 1) # config file exists and differs ;; *) # no config file exists ;; esac } # Uninstall 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.tmp if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf fi rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp fi } case $2 in DEINSTALL) cd ${PKG_PREFIX} cyrus_conf checkfile ${PKG_PREIFX}/etc/imapd.conf + checkfile ${PKG_PREIFX}/etc/cyrus.conf ;; POST-DEINSTALL) ;; esac Property changes on: head/mail/cyrus-imapd24/pkg-deinstall ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/mail/cyrus-imapd24/pkg-install =================================================================== --- head/mail/cyrus-imapd24/pkg-install (revision 39739) +++ head/mail/cyrus-imapd24/pkg-install (revision 39740) @@ -1,126 +1,110 @@ #!/bin/sh #set -vx PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} # # create 'cyrus' user and group before installing # create() { if [ ! -x /usr/sbin/pw ]; then echo "*** Please add a user and a group named \`cyrus' before installing this package." exit 69 fi if ! pw show group cyrus -q >/dev/null; then gid=60 while pw show group -g ${gid} -q >/dev/null; do gid=`expr ${gid} + 1` done if ! pw add group cyrus -g ${gid}; then e=$? echo "*** Failed to add group \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added group \`cyrus' (id ${gid})" else gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` fi if [ -x /sbin/nologin ]; then shell=/sbin/nologin else shell=/nonexistent fi if ! pw show user cyrus -q >/dev/null; then uid=60 while pw show user -u ${uid} -q >/dev/null; do uid=`expr ${uid} + 1` done if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to add user \`cyrus'. Please add it manually." exit ${e} fi echo "*** Added user \`cyrus' (id ${uid})" else if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ -c "the cyrus mail server" -s "${shell}" -p "*" \ ; then e=$? echo "*** Failed to update user \`cyrus'." exit ${e} fi echo "*** Updated user \`cyrus'." fi if ! pw group mod cyrus -m daemon; then echo "*** can't add user \`daemon' to group \`cyrus'" fi } checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; 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) create ;; 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'" - echo " is suitable for the Cyrus IMAP server." - 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." + checkfile ${PKG_PREFIX}/etc/cyrus.conf 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 Property changes on: head/mail/cyrus-imapd24/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/mail/cyrus-imapd24/pkg-plist =================================================================== --- head/mail/cyrus-imapd24/pkg-plist (revision 39739) +++ head/mail/cyrus-imapd24/pkg-plist (revision 39740) @@ -1,41 +1,59 @@ -bin/cyradm bin/imtest -bin/installsieve -cyrus/bin/arbitron -cyrus/bin/collectnews +bin/cyradm +cyrus/bin/ctl_deliver +cyrus/bin/ctl_mboxlist cyrus/bin/cyrquota cyrus/bin/deliver -cyrus/bin/dump_deliverdb cyrus/bin/feedcyrus cyrus/bin/fud cyrus/bin/imapd +cyrus/bin/ipurge +cyrus/bin/lmtpd +cyrus/bin/master cyrus/bin/mbpath cyrus/bin/pop3d cyrus/bin/reconstruct -cyrus/bin/syncnews cyrus/bin/timsieved +etc/cyrus.conf.dist +etc/cyrus.conf etc/imapd.conf.dist -etc/inetd.conf.cyrus +etc/imapd.conf +etc/rc.d/imapd.sh.sample +include/cyrus/acap.h include/cyrus/acl.h include/cyrus/assert.h include/cyrus/auth.h include/cyrus/bsearch.h include/cyrus/charset.h +include/cyrus/cyrusdb.h include/cyrus/glob.h include/cyrus/gmtoff.h +include/cyrus/hash.h +include/cyrus/imapurl.h include/cyrus/imclient.h include/cyrus/imparse.h include/cyrus/lock.h +include/cyrus/lsort.h include/cyrus/map.h include/cyrus/mkgmtime.h include/cyrus/nonblock.h include/cyrus/parseaddr.h include/cyrus/prot.h include/cyrus/retry.h +include/cyrus/stristr.h include/cyrus/sysexits.h include/cyrus/util.h include/cyrus/xmalloc.h lib/libcyrus.a +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm @dirrm cyrus/bin @dirrm cyrus @dirrm include/cyrus +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/IMAP +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus/SIEVE +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cyrus Property changes on: head/mail/cyrus-imapd24/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property