diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-07-13 21:56:06 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-07-13 21:56:06 +0000 |
commit | 5677249e0f60426bd16f1e88cad0dc907533e548 (patch) | |
tree | adf21b7c6bbcf84102d9bf7c23b534aeb5508499 /net-mail/cyrus-imapd/files | |
parent | php fix (diff) | |
download | historical-5677249e0f60426bd16f1e88cad0dc907533e548.tar.gz historical-5677249e0f60426bd16f1e88cad0dc907533e548.tar.bz2 historical-5677249e0f60426bd16f1e88cad0dc907533e548.zip |
Initial ebuild of cyrus-imapd
Diffstat (limited to 'net-mail/cyrus-imapd/files')
-rw-r--r-- | net-mail/cyrus-imapd/files/cyrus.conf | 41 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/files/cyrus.rc6 | 22 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5 | 1 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/files/e2fsprogs-et.diff | 336 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/files/imapd.conf | 22 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/files/pam.d-imap | 3 |
6 files changed, 425 insertions, 0 deletions
diff --git a/net-mail/cyrus-imapd/files/cyrus.conf b/net-mail/cyrus-imapd/files/cyrus.conf new file mode 100644 index 000000000000..abc8a5b0bf55 --- /dev/null +++ b/net-mail/cyrus-imapd/files/cyrus.conf @@ -0,0 +1,41 @@ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/cyrus.conf,v 1.1 2002/07/13 21:56:01 raker Exp $ + +# standard standalone server implementation + +START { + # do not delete this entry! + recover cmd="ctl_cyrusdb -r" + + # this is only necessary if using idled for IMAP IDLE +# idled cmd="idled" +} + +# UNIX sockets start with a slash and are put into /var/imap/socket +SERVICES { + # add or remove based on preferences + imap cmd="imapd" listen="imap" prefork=0 + pop3 cmd="pop3d" listen="pop3" prefork=0 + # Don't forget to generate the needed keys for SSL or TLS + # (see doc/html/install-configure.html) + #imaps cmd="imapd -s" listen="imaps" prefork=0 + #pop3s cmd="pop3d -s" listen="pop3s" prefork=0 + sieve cmd="timsieved" listen="sieve" prefork=0 + + # at least one LMTP is required for delivery +# lmtp cmd="lmtpd" listen="lmtp" prefork=0 + lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0 + + # this is only necessary if using notifications +# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1 +} + +EVENTS { + # this is required + checkpoint cmd="ctl_cyrusdb -c" period=30 + + # this is only necessary if using duplicate delivery suppression + delprune cmd="ctl_deliver -E 3" period=1440 + + # this is only necessary if caching TLS sessions + tlsprune cmd="tls_prune" period=1440 +} diff --git a/net-mail/cyrus-imapd/files/cyrus.rc6 b/net-mail/cyrus-imapd/files/cyrus.rc6 new file mode 100644 index 000000000000..74a819dc0b62 --- /dev/null +++ b/net-mail/cyrus-imapd/files/cyrus.rc6 @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/cyrus.rc6,v 1.1 2002/07/13 21:56:01 raker Exp $ + +depend() { + need net + after saslauthd +} + +start() { + ebegin "Starting Cyrus imapd" + start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/cyrus.pid --exec /usr/cyrus/bin/master + eend $? +} + +stop() { + ebegin "Stopping Cyrus imapd" + start-stop-daemon --stop --quiet --pidfile /var/run/cyrus.pid + rm /var/run/cyrus.pid + eend $? +} diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5 new file mode 100644 index 000000000000..0ef6f5ee45b9 --- /dev/null +++ b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5 @@ -0,0 +1 @@ +MD5 86eb126e818f998cf7ff2e1fe1a09cb3 cyrus-imapd-2.1.5.tar.gz 1627592 diff --git a/net-mail/cyrus-imapd/files/e2fsprogs-et.diff b/net-mail/cyrus-imapd/files/e2fsprogs-et.diff new file mode 100644 index 000000000000..3140ef197821 --- /dev/null +++ b/net-mail/cyrus-imapd/files/e2fsprogs-et.diff @@ -0,0 +1,336 @@ +diff -urN cyrus-imapd-2.1.5/imap/acapmbox.c cyrus-imapd-2.1.5-modified/imap/acapmbox.c +--- cyrus-imapd-2.1.5/imap/acapmbox.c Sat May 25 14:57:43 2002 ++++ cyrus-imapd-2.1.5-modified/imap/acapmbox.c Sat Jul 13 16:00:50 2002 +@@ -46,7 +46,7 @@ + #include <stdio.h> + #include <string.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #ifdef HAVE_UNISTD_H + #include <unistd.h> +diff -urN cyrus-imapd-2.1.5/imap/append.c cyrus-imapd-2.1.5-modified/imap/append.c +--- cyrus-imapd-2.1.5/imap/append.c Fri Jun 14 13:20:25 2002 ++++ cyrus-imapd-2.1.5-modified/imap/append.c Sat Jul 13 15:53:31 2002 +@@ -48,7 +48,7 @@ + #include <stdio.h> + #include <ctype.h> + #include <string.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <sys/types.h> + #include <syslog.h> + #include <sys/stat.h> +diff -urN cyrus-imapd-2.1.5/imap/backend.c cyrus-imapd-2.1.5-modified/imap/backend.c +--- cyrus-imapd-2.1.5/imap/backend.c Mon May 6 12:18:49 2002 ++++ cyrus-imapd-2.1.5-modified/imap/backend.c Sat Jul 13 15:47:20 2002 +@@ -57,7 +57,7 @@ + #include <sys/stat.h> + #include <sys/un.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <netdb.h> + #include <sys/socket.h> + #include <netinet/in.h> +diff -urN cyrus-imapd-2.1.5/imap/chk_cyrus.c cyrus-imapd-2.1.5-modified/imap/chk_cyrus.c +--- cyrus-imapd-2.1.5/imap/chk_cyrus.c Sat May 25 20:00:39 2002 ++++ cyrus-imapd-2.1.5-modified/imap/chk_cyrus.c Sat Jul 13 16:23:00 2002 +@@ -55,7 +55,7 @@ + #include <fcntl.h> + #include <netinet/in.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <ctype.h> + #include <time.h> +diff -urN cyrus-imapd-2.1.5/imap/config.c cyrus-imapd-2.1.5-modified/imap/config.c +--- cyrus-imapd-2.1.5/imap/config.c Tue Jun 18 11:40:19 2002 ++++ cyrus-imapd-2.1.5-modified/imap/config.c Sat Jul 13 15:59:21 2002 +@@ -48,7 +48,7 @@ + #include <string.h> + #include <ctype.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <sys/types.h> + #include <sys/stat.h> + +diff -urN cyrus-imapd-2.1.5/imap/ctl_cyrusdb.c cyrus-imapd-2.1.5-modified/imap/ctl_cyrusdb.c +--- cyrus-imapd-2.1.5/imap/ctl_cyrusdb.c Wed May 29 11:49:14 2002 ++++ cyrus-imapd-2.1.5-modified/imap/ctl_cyrusdb.c Sat Jul 13 16:40:21 2002 +@@ -53,7 +53,7 @@ + #include <fcntl.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <time.h> + +diff -urN cyrus-imapd-2.1.5/imap/ctl_deliver.c cyrus-imapd-2.1.5-modified/imap/ctl_deliver.c +--- cyrus-imapd-2.1.5/imap/ctl_deliver.c Tue Jan 15 12:44:09 2002 ++++ cyrus-imapd-2.1.5-modified/imap/ctl_deliver.c Sat Jul 13 16:38:12 2002 +@@ -52,7 +52,7 @@ + #include <fcntl.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <time.h> + #include <signal.h> +diff -urN cyrus-imapd-2.1.5/imap/ctl_mboxlist.c cyrus-imapd-2.1.5-modified/imap/ctl_mboxlist.c +--- cyrus-imapd-2.1.5/imap/ctl_mboxlist.c Mon Jun 24 11:29:04 2002 ++++ cyrus-imapd-2.1.5-modified/imap/ctl_mboxlist.c Sat Jul 13 16:35:33 2002 +@@ -50,7 +50,7 @@ + #include <unistd.h> + #endif + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <stdlib.h> + #include <string.h> + #include <sasl/sasl.h> +diff -urN cyrus-imapd-2.1.5/imap/cvt_cyrusdb.c cyrus-imapd-2.1.5-modified/imap/cvt_cyrusdb.c +--- cyrus-imapd-2.1.5/imap/cvt_cyrusdb.c Fri May 10 19:46:22 2002 ++++ cyrus-imapd-2.1.5-modified/imap/cvt_cyrusdb.c Sat Jul 13 16:24:22 2002 +@@ -59,7 +59,7 @@ + #include <ctype.h> + #include <time.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #include <sys/ipc.h> + #include <sys/msg.h> +diff -urN cyrus-imapd-2.1.5/imap/cyrdump.c cyrus-imapd-2.1.5-modified/imap/cyrdump.c +--- cyrus-imapd-2.1.5/imap/cyrdump.c Fri Feb 1 13:43:37 2002 ++++ cyrus-imapd-2.1.5-modified/imap/cyrdump.c Sat Jul 13 16:20:54 2002 +@@ -48,7 +48,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <string.h> + #include <time.h> + +diff -urN cyrus-imapd-2.1.5/imap/deliver.c cyrus-imapd-2.1.5-modified/imap/deliver.c +--- cyrus-imapd-2.1.5/imap/deliver.c Sat May 25 14:57:44 2002 ++++ cyrus-imapd-2.1.5-modified/imap/deliver.c Sat Jul 13 16:25:44 2002 +@@ -56,7 +56,7 @@ + #include <fcntl.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <pwd.h> + #include <sys/types.h> +diff -urN cyrus-imapd-2.1.5/imap/fud.c cyrus-imapd-2.1.5-modified/imap/fud.c +--- cyrus-imapd-2.1.5/imap/fud.c Mon Jun 3 13:22:24 2002 ++++ cyrus-imapd-2.1.5-modified/imap/fud.c Sat Jul 13 16:14:12 2002 +@@ -59,7 +59,7 @@ + #include <sys/socket.h> + #include <arpa/inet.h> + #include <netdb.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <pwd.h> + + #include "assert.h" +diff -urN cyrus-imapd-2.1.5/imap/imapd.c cyrus-imapd-2.1.5-modified/imap/imapd.c +--- cyrus-imapd-2.1.5/imap/imapd.c Thu Jun 6 21:05:32 2002 ++++ cyrus-imapd-2.1.5-modified/imap/imapd.c Sat Jul 13 15:47:35 2002 +@@ -55,7 +55,7 @@ + #include <sys/param.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <netdb.h> + #include <sys/socket.h> + #include <sys/wait.h> +diff -urN cyrus-imapd-2.1.5/imap/index.c cyrus-imapd-2.1.5-modified/imap/index.c +--- cyrus-imapd-2.1.5/imap/index.c Tue Jun 18 11:40:19 2002 ++++ cyrus-imapd-2.1.5-modified/imap/index.c Sat Jul 13 15:51:32 2002 +@@ -53,7 +53,7 @@ + #include <fcntl.h> + #include <netinet/in.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <ctype.h> + #include <time.h> +diff -urN cyrus-imapd-2.1.5/imap/index.h cyrus-imapd-2.1.5-modified/imap/index.h +--- cyrus-imapd-2.1.5/imap/index.h Tue May 21 10:10:13 2002 ++++ cyrus-imapd-2.1.5-modified/imap/index.h Sat Jul 13 15:51:45 2002 +@@ -60,7 +60,7 @@ + #include <fcntl.h> + #include <netinet/in.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <ctype.h> + #include <time.h> +diff -urN cyrus-imapd-2.1.5/imap/ipurge.c cyrus-imapd-2.1.5-modified/imap/ipurge.c +--- cyrus-imapd-2.1.5/imap/ipurge.c Tue Nov 13 13:59:04 2001 ++++ cyrus-imapd-2.1.5-modified/imap/ipurge.c Sat Jul 13 16:18:33 2002 +@@ -56,7 +56,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <string.h> + #include <time.h> + #include <netinet/in.h> +diff -urN cyrus-imapd-2.1.5/imap/lmtpd.c cyrus-imapd-2.1.5-modified/imap/lmtpd.c +--- cyrus-imapd-2.1.5/imap/lmtpd.c Mon Jun 3 13:22:26 2002 ++++ cyrus-imapd-2.1.5-modified/imap/lmtpd.c Sat Jul 13 16:09:13 2002 +@@ -55,7 +55,7 @@ + #include <fcntl.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <sys/types.h> + #include <sys/wait.h> +diff -urN cyrus-imapd-2.1.5/imap/lmtpengine.c cyrus-imapd-2.1.5-modified/imap/lmtpengine.c +--- cyrus-imapd-2.1.5/imap/lmtpengine.c Wed Jun 5 19:12:34 2002 ++++ cyrus-imapd-2.1.5-modified/imap/lmtpengine.c Sat Jul 13 16:10:45 2002 +@@ -53,7 +53,7 @@ + #include <fcntl.h> + #include <sys/stat.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <errno.h> + #include <sys/types.h> + #include <limits.h> +diff -urN cyrus-imapd-2.1.5/imap/mailbox.c cyrus-imapd-2.1.5-modified/imap/mailbox.c +--- cyrus-imapd-2.1.5/imap/mailbox.c Thu Jun 20 11:35:52 2002 ++++ cyrus-imapd-2.1.5-modified/imap/mailbox.c Sat Jul 13 15:54:54 2002 +@@ -62,7 +62,7 @@ + #include <sys/stat.h> + #include <ctype.h> + #include <time.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #ifdef HAVE_DIRENT_H + # include <dirent.h> +diff -urN cyrus-imapd-2.1.5/imap/mbdump.c cyrus-imapd-2.1.5-modified/imap/mbdump.c +--- cyrus-imapd-2.1.5/imap/mbdump.c Fri May 24 13:05:15 2002 ++++ cyrus-imapd-2.1.5-modified/imap/mbdump.c Sat Jul 13 16:07:28 2002 +@@ -60,7 +60,7 @@ + #include <dirent.h> + #include <time.h> + #include <assert.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #include "exitcodes.h" + #include "imap_err.h" +diff -urN cyrus-imapd-2.1.5/imap/mboxlist.c cyrus-imapd-2.1.5-modified/imap/mboxlist.c +--- cyrus-imapd-2.1.5/imap/mboxlist.c Thu Jun 20 11:36:13 2002 ++++ cyrus-imapd-2.1.5-modified/imap/mboxlist.c Sat Jul 13 15:56:29 2002 +@@ -59,7 +59,7 @@ + #include <ctype.h> + #include <time.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #include <sys/ipc.h> + #include <sys/msg.h> +diff -urN cyrus-imapd-2.1.5/imap/mboxname.c cyrus-imapd-2.1.5-modified/imap/mboxname.c +--- cyrus-imapd-2.1.5/imap/mboxname.c Thu Jan 24 10:39:28 2002 ++++ cyrus-imapd-2.1.5-modified/imap/mboxname.c Sat Jul 13 15:57:54 2002 +@@ -46,7 +46,7 @@ + #include <stdio.h> + #include <string.h> + #include <errno.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #include "assert.h" + #include "glob.h" +diff -urN cyrus-imapd-2.1.5/imap/pop3d.c cyrus-imapd-2.1.5-modified/imap/pop3d.c +--- cyrus-imapd-2.1.5/imap/pop3d.c Mon Jun 3 13:22:27 2002 ++++ cyrus-imapd-2.1.5-modified/imap/pop3d.c Sat Jul 13 16:12:43 2002 +@@ -57,7 +57,7 @@ + #include <sys/types.h> + #include <sys/param.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <netdb.h> + #include <sys/socket.h> + #include <netinet/in.h> +diff -urN cyrus-imapd-2.1.5/imap/quota.c cyrus-imapd-2.1.5-modified/imap/quota.c +--- cyrus-imapd-2.1.5/imap/quota.c Wed May 22 14:55:24 2002 ++++ cyrus-imapd-2.1.5-modified/imap/quota.c Sat Jul 13 16:17:06 2002 +@@ -55,7 +55,7 @@ + #include <sys/types.h> + #include <netinet/in.h> + #include <sys/stat.h> +-#include <com_err.h> ++#include <et/com_err.h> + + #if HAVE_DIRENT_H + # include <dirent.h> +diff -urN cyrus-imapd-2.1.5/imap/reconstruct.c cyrus-imapd-2.1.5-modified/imap/reconstruct.c +--- cyrus-imapd-2.1.5/imap/reconstruct.c Sat Mar 30 13:46:57 2002 ++++ cyrus-imapd-2.1.5-modified/imap/reconstruct.c Sat Jul 13 16:15:41 2002 +@@ -55,7 +55,7 @@ + #include <sys/types.h> + #include <netinet/in.h> + #include <sys/stat.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <stdlib.h> + + #if HAVE_DIRENT_H +diff -urN cyrus-imapd-2.1.5/imap/squatter.c cyrus-imapd-2.1.5-modified/imap/squatter.c +--- cyrus-imapd-2.1.5/imap/squatter.c Fri Jan 18 16:58:48 2002 ++++ cyrus-imapd-2.1.5-modified/imap/squatter.c Sat Jul 13 16:44:03 2002 +@@ -78,7 +78,7 @@ + #include <sys/stat.h> + #include <sys/types.h> + #include <fcntl.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <syslog.h> + #include <string.h> + +diff -urN cyrus-imapd-2.1.5/notifyd/notifyd.c cyrus-imapd-2.1.5-modified/notifyd/notifyd.c +--- cyrus-imapd-2.1.5/notifyd/notifyd.c Wed Jun 19 09:45:35 2002 ++++ cyrus-imapd-2.1.5-modified/notifyd/notifyd.c Sat Jul 13 16:47:38 2002 +@@ -51,7 +51,7 @@ + #include <stdio.h> + #include <errno.h> + #include <syslog.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> +diff -urN cyrus-imapd-2.1.5/timsieved/timsieved.c cyrus-imapd-2.1.5-modified/timsieved/timsieved.c +--- cyrus-imapd-2.1.5/timsieved/timsieved.c Sat May 25 14:57:53 2002 ++++ cyrus-imapd-2.1.5-modified/timsieved/timsieved.c Sat Jul 13 16:45:55 2002 +@@ -60,7 +60,7 @@ + #include <syslog.h> + #include <dirent.h> + #include <ctype.h> +-#include <com_err.h> ++#include <et/com_err.h> + #include <netdb.h> + #include <sys/socket.h> + #include <netinet/in.h> diff --git a/net-mail/cyrus-imapd/files/imapd.conf b/net-mail/cyrus-imapd/files/imapd.conf new file mode 100644 index 000000000000..84a58bd8647a --- /dev/null +++ b/net-mail/cyrus-imapd/files/imapd.conf @@ -0,0 +1,22 @@ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.1 2002/07/13 21:56:06 raker Exp $ +# +# Don't forget to use chattr +S (if you are using ext[23]) +# when you change these directories (read the docs). +configdirectory: /var/imap +partition-default: /var/spool/imap +sievedir: /var/imap/sieve + +# Don't use an everyday user as admin. +admins: cyrus + +hashimapspool: yes +allowanonymouslogin: no +allowplaintext: no + +# Use this if sieve-scripts could be in ~user/.sieve. +#sieveusehomedir: yes + +# Use saslauthd if you want to use pam for imap. +# But be warned: login with DIGEST-MD5 or CRAM-MD5 +# is not possible using pam. +#sasl_pwcheck_method: saslauthd diff --git a/net-mail/cyrus-imapd/files/pam.d-imap b/net-mail/cyrus-imapd/files/pam.d-imap new file mode 100644 index 000000000000..f562e963ed09 --- /dev/null +++ b/net-mail/cyrus-imapd/files/pam.d-imap @@ -0,0 +1,3 @@ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/pam.d-imap,v 1.1 2002/07/13 21:56:06 raker Exp $ +auth required /lib/security/pam_pwdb.so nullok shadow +account required /lib/security/pam_pwdb.so |