diff options
author | 2004-11-19 06:26:17 +0000 | |
---|---|---|
committer | 2004-11-19 06:26:17 +0000 | |
commit | 2a95efeeabf6e8b64edb1c7362bc8efd2e032802 (patch) | |
tree | 168fbe1d1800e126754f2afa1d7e4db2a89b83d9 /net-mail/courier-imap/files | |
parent | add >=net-mail/courier-imap-3.0.8.20041116 for testing (diff) | |
download | historical-2a95efeeabf6e8b64edb1c7362bc8efd2e032802.tar.gz historical-2a95efeeabf6e8b64edb1c7362bc8efd2e032802.tar.bz2 historical-2a95efeeabf6e8b64edb1c7362bc8efd2e032802.zip |
beta. do not use.
Diffstat (limited to 'net-mail/courier-imap/files')
12 files changed, 398 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6 new file mode 100644 index 000000000000..753796ca40bd --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6 @@ -0,0 +1,42 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd-ssl.rc6,v 1.1 2004/11/19 06:26:17 langthang Exp $ + +depend() { + need net authdaemond + use famd +} + +source /etc/courier-imap/imapd-ssl + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd-ssl ] ; then + eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd" + return 1 + fi + source /etc/courier-imap/imapd-ssl || { + eerror "There are syntax errors in /etc/courier-imap/imapd-ssl" + eerror "Please correct them before trying to start imapd-ssl" + return 3 + } + if [ ! -e "${TLS_CERTFILE}" ] ; then + eerror "You need to create a SSL certificate to use IMAP over SSL" + eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert" + return 2 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-imapd over SSL" + start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc \ + --pid=$SSLPIDFILE + eend $? +} + +stop() { + ebegin "Stopping courier-imapd over SSL" + start-stop-daemon --quiet --stop --pid=$SSLPIDFILE + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd.rc6 b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd.rc6 new file mode 100644 index 000000000000..32e00c3b24ed --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd.rc6 @@ -0,0 +1,37 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-imapd.rc6,v 1.1 2004/11/19 06:26:17 langthang Exp $ + +depend() { + need net authdaemond + use famd +} + +source /etc/courier-imap/imapd + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd ] ; then + eerror "You need an /etc/courier-imap/imapd file to run courier-imapd" + return 1 + fi + source /etc/courier-imap/imapd || { + eerror "There are syntax errors in /etc/courier-imap/imapd" + eerror "Please correct them before trying to start imapd" + return 2 + } +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-imapd" + start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-imapd.rc \ + --pid=$PIDFILE + eend $? +} + +stop() { + ebegin "Stopping courier-imapd" + start-stop-daemon --quiet --stop --pid=$PIDFILE + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6 new file mode 100644 index 000000000000..a69ae2b9c85d --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6 @@ -0,0 +1,42 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d-ssl.rc6,v 1.1 2004/11/19 06:26:17 langthang Exp $ + +depend() { + need net authdaemond + use famd +} + +source /etc/courier-imap/pop3d-ssl + +checkconfig() { + if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then + eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d" + return 1 + fi + source /etc/courier-imap/pop3d-ssl || { + eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl" + eerror "Please correct them before trying to start pop3d-ssl" + return 3 + } + if [ ! -e "${TLS_CERTFILE}" ] ; then + eerror "You need to create a SSL certificate to use POP3 over SSL" + eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert" + return 2 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-pop3d over SSL" + start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d-ssl.rc \ + --pidfile $SSLPIDFILE + eend $? +} + +stop() { + ebegin "Stopping courier-pop3d over SSL" + start-stop-daemon --quiet --stop --pidfile $SSLPIDFILE + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d.rc6 b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d.rc6 new file mode 100644 index 000000000000..55f1e8e7087c --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d.rc6 @@ -0,0 +1,37 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-courier-pop3d.rc6,v 1.1 2004/11/19 06:26:17 langthang Exp $ + +depend() { + need net authdaemond + use famd +} + +source /etc/courier-imap/pop3d + +checkconfig() { + if [ ! -e /etc/courier-imap/pop3d ] ; then + eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d" + return 1 + fi + source /etc/courier-imap/pop3d || { + eerror "There are syntax errors in /etc/courier-imap/pop3d" + eerror "Please correct them before trying to start pop3d" + return 2 + } +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-pop3d" + start-stop-daemon --quiet --start --exec /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc \ + --pidfile $PIDFILE + eend $? +} + +stop() { + ebegin "Stopping courier-pop3d" + start-stop-daemon --quiet --stop --pidfile $PIDFILE + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-bdbobj_configure.in.patch b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-bdbobj_configure.in.patch new file mode 100644 index 000000000000..776fdc144483 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-bdbobj_configure.in.patch @@ -0,0 +1,31 @@ +--- courier-imap-3.0.7-orig/bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700 ++++ courier-imap-3.0.7/bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700 +@@ -21,15 +21,19 @@ + dnl Checks for libraries. + + saveLIBS="$LIBS" +-AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], +- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], +- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) +- )) +- +-FOUND_DB=0 +-AC_CHECK_FUNC(dbopen, FOUND_DB=1) +-AC_CHECK_FUNC(db_open, FOUND_DB=1) +-AC_CHECK_FUNC(db_env_create, FOUND_DB=1) ++for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db ++ do ++ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) ++ ++ done ++FOUND_DB=0 ++AC_CHECK_FUNC(db_create_4002, FOUND_DB=1) ++AC_CHECK_FUNC(db_create_4001, FOUND_DB=1) ++AC_CHECK_FUNC(db_create_4000, FOUND_DB=1) ++AC_CHECK_FUNC(db_create, FOUND_DB=1) + + LIBS="$saveLIBS" + diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-configure.in.patch b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-configure.in.patch new file mode 100644 index 000000000000..400b746a233a --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-db4-configure.in.patch @@ -0,0 +1,38 @@ +--- configure.in.orig 2004-11-16 16:02:11.045791896 -0800 ++++ configure.in 2004-11-16 16:03:06.743324584 -0800 +@@ -11,7 +11,6 @@ + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET +-AC_PROG_SYSCONFTOOL + AC_LIBTOOL_DLOPEN + AM_PROG_LIBTOOL + +@@ -150,16 +150,18 @@ + + if test "$db" != "gdbm" + then ++ for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db ++ do ++ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) ++ done ++ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1) ++ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1) ++ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1) ++ AC_CHECK_FUNC(db_create, HAVE_BDB=1) + +- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], +- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], +- AC_CHECK_LIB(db, db_env_create, +- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) +- )) +- +- AC_CHECK_FUNC(dbopen, HAVE_BDB=1) +- AC_CHECK_FUNC(db_open, HAVE_BDB=1) +- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1) + fi + + LIBS="$saveLIBS" diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-disable-fam-configure.in.patch b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-disable-fam-configure.in.patch new file mode 100644 index 000000000000..7019d02a6af5 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-disable-fam-configure.in.patch @@ -0,0 +1,23 @@ +--- courier-imap-3.0.7-orig/maildir/configure.in 2004-06-08 15:44:23.000000000 -0700 ++++ courier-imap-3.0.7/maildir/configure.in 2004-08-14 15:28:20.525714876 -0700 +@@ -60,6 +60,12 @@ + dnl Checks for library functions. + AC_CHECK_HEADER(fam.h, :, :) + AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes) ++AC_ARG_WITH(fam, [ --with-fam Compile with FAM support], ++ fam="$withval", ++ fam="no") ++ ++if test "$fam" != "no" ++then + AC_CHECK_LIB(fam, FAMOpen, [ + LIBFAM=-lfam + AC_DEFINE_UNQUOTED(HAVE_FAM,1, +@@ -74,6 +80,7 @@ + AC_MSG_ERROR([[FAM development libraries not found.]]) ] + ) + ]) ++fi + + AC_SUBST(LIBFAM) + diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc new file mode 100644 index 000000000000..0c153bde60e3 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc @@ -0,0 +1,37 @@ +#!/bin/bash +# $Id: courier-imap-3.0.8.20041116-gentoo-imapd-ssl.rc,v 1.1 2004/11/19 06:26:17 langthang Exp $ +# +# Copyright 1998 - 2000 Double Precision, Inc. +# See COPYING for distribution information. + +prefix=/usr +exec_prefix=/usr +bindir=/usr/sbin +libexecdir=/usr/lib/courier-imap + +source /etc/courier-imap/imapd +source /etc/courier-imap/imapd-ssl + +# the new courier-authlib doesn't usee these settings. +#LIBAUTHMODULES="" +#for f in `echo $AUTHMODULES` +#do +# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f" +#done + +ulimit -d $IMAP_ULIMITD +export IMAP_TLS=1 +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \ + sed 's/=.*//;s/^/export /;s/$/;/'` +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \ + sed 's/=.*//;s/^/export /;s/$/;/'` + +eval $PRERUN \ +/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \ + -stderrlogger=/usr/lib/courier-imap/courierlogger \ + -stderrloggername=imapd-ssl \ + -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ + -pid=$SSLPIDFILE $TCPDOPTS \ + $SSLPORT $COURIERTLS -server -tcpd \ + ${exec_prefix}/sbin/imaplogin \ + /usr/sbin/courier-imapd ${MAILDIR} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd.rc b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd.rc new file mode 100644 index 000000000000..1d2ea9bb18cf --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-imapd.rc @@ -0,0 +1,38 @@ +#!/bin/bash +# $Id: courier-imap-3.0.8.20041116-gentoo-imapd.rc,v 1.1 2004/11/19 06:26:17 langthang Exp $ +# +# Copyright 1998 - 2000 Double Precision, Inc. +# See COPYING for distribution information. + +prefix=/usr +exec_prefix=/usr +bindir=/usr/sbin +libexecdir=/usr/lib/courier-imap + +source /etc/courier-imap/imapd-ssl +source /etc/courier-imap/imapd + +# The new courier-authlib doesn't use these settings. +#LIBAUTHMODULES="" +#for f in `echo $AUTHMODULES` +#do +# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f" +#done + +ulimit -d $IMAP_ULIMITD +IMAP_STARTTLS="$IMAPDSTARTTLS" +export IMAPDSTARTTLS IMAP_STARTTLS +TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \ + sed 's/=.*//;s/^/export /;s/$/;/'` +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \ + sed 's/=.*//;s/^/export /;s/$/;/'` + +eval $PRERUN \ +/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \ + -stderrlogger=/usr/lib/courier-imap/courierlogger \ + -stderrloggername=imapd \ + -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ + -pid=$PIDFILE $TCPDOPTS \ + $PORT ${exec_prefix}/sbin/imaplogin \ + /usr/sbin/courier-imapd ${MAILDIR} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc new file mode 100644 index 000000000000..761fc49deb8a --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc @@ -0,0 +1,36 @@ +#!/bin/bash +# $Id: courier-imap-3.0.8.20041116-gentoo-pop3d-ssl.rc,v 1.1 2004/11/19 06:26:17 langthang Exp $ +# +# Copyright 1998 - 2000 Double Precision, Inc. +# See COPYING for distribution information. + +prefix=/usr +exec_prefix=/usr +bindir=/usr/sbin +libexecdir=/usr/lib/courier-imap + +source /etc/courier-imap/pop3d +source /etc/courier-imap/pop3d-ssl + +# The new courier-authlib doesn't use these settings. +#LIBAUTHMODULES="" +#for f in `echo $AUTHMODULES` +#do +# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f" +#done + +export POP3_TLS=1 +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \ + sed 's/=.*//;s/^/export /;s/$/;/'` +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \ + sed 's/=.*//;s/^/export /;s/$/;/'` + +eval $PRERUN \ +/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \ + -stderrlogger=/usr/lib/courier-imap/courierlogger \ + -stderrloggername=pop3d-ssl \ + -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ + -pid=$SSLPIDFILE $TCPDOPTS \ + $SSLPORT $COURIERTLS -server -tcpd \ + ${exec_prefix}/sbin/pop3login \ + /usr/sbin/courier-pop3d ${MAILDIR} diff --git a/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d.rc b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d.rc new file mode 100644 index 000000000000..b858f20c4cd8 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.8.20041116-gentoo-pop3d.rc @@ -0,0 +1,36 @@ +#!/bin/bash +# $Id: courier-imap-3.0.8.20041116-gentoo-pop3d.rc,v 1.1 2004/11/19 06:26:17 langthang Exp $ +# +# Copyright 1998 - 2000 Double Precision, Inc. +# See COPYING for distribution information. + +prefix=/usr +exec_prefix=/usr +bindir=/usr/sbin +libexecdir=/usr/lib/courier-imap + +source /etc/courier-imap/pop3d-ssl +source /etc/courier-imap/pop3d + +# The new courier-authlib doesn't use these settings. +#LIBAUTHMODULES="" +#for f in `echo $AUTHMODULES` +#do +# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f" +#done + +export POP3DSTARTTLS=$POP3_STARTTLS +TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \ + sed 's/=.*//;s/^/export /;s/$/;/'` +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \ + sed 's/=.*//;s/^/export /;s/$/;/'` + +eval $PRERUN \ +/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \ + -stderrlogger=/usr/lib/courier-imap/courierlogger \ + -stderrloggername=pop3d \ + -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ + -pid=$PIDFILE $TCPDOPTS \ + $PORT ${exec_prefix}/sbin/pop3login \ + /usr/sbin/courier-pop3d ${MAILDIR} diff --git a/net-mail/courier-imap/files/digest-courier-imap-3.0.8.20041116 b/net-mail/courier-imap/files/digest-courier-imap-3.0.8.20041116 new file mode 100644 index 000000000000..07f59de3eb92 --- /dev/null +++ b/net-mail/courier-imap/files/digest-courier-imap-3.0.8.20041116 @@ -0,0 +1 @@ +MD5 0f5c41ffb2e755c2ff9a61c6c97dcbda courier-imap-3.0.8.20041116.tar.bz2 3029309 |