pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd22 initial import of cyrus imapd 2.2.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/45f6108ed044
branches: trunk
changeset: 466429:45f6108ed044
user: recht <recht%pkgsrc.org@localhost>
date: Sun Jan 18 12:42:10 2004 +0000
description:
initial import of cyrus imapd 2.2.3
IMAP (Internet Message Access Protocol) is an Internet standards-track
protocol for accessing messages (mail, bboards, news, etc). The Cyrus
IMAP server differs from other IMAP server implementations in that it
is generally intended to be run on "sealed" servers, where normal users
are not permitted to log in. The mailbox database is stored in parts of
the filesystem that are private to the Cyrus IMAP system. All user
access to mail is through the IMAP, POP3, or KPOP protocols.
diffstat:
mail/cyrus-imapd22/DEINSTALL | 21 ++++
mail/cyrus-imapd22/DESCR | 7 +
mail/cyrus-imapd22/INSTALL | 24 +++++
mail/cyrus-imapd22/Makefile | 126 +++++++++++++++++++++++++++
mail/cyrus-imapd22/PLIST | 165 ++++++++++++++++++++++++++++++++++++
mail/cyrus-imapd22/distinfo | 13 ++
mail/cyrus-imapd22/files/cyrus.sh | 79 +++++++++++++++++
mail/cyrus-imapd22/files/imapd.conf | 23 +++++
mail/cyrus-imapd22/patches/patch-ac | 22 ++++
mail/cyrus-imapd22/patches/patch-ad | 13 ++
mail/cyrus-imapd22/patches/patch-ae | 13 ++
mail/cyrus-imapd22/patches/patch-af | 30 ++++++
mail/cyrus-imapd22/patches/patch-ag | 13 ++
mail/cyrus-imapd22/patches/patch-ah | 15 +++
mail/cyrus-imapd22/patches/patch-ai | 13 ++
mail/cyrus-imapd22/patches/patch-ak | 33 +++++++
mail/cyrus-imapd22/patches/patch-al | 15 +++
17 files changed, 625 insertions(+), 0 deletions(-)
diffs (truncated from 693 to 300 lines):
diff -r f3a40ed513f4 -r 45f6108ed044 mail/cyrus-imapd22/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/DEINSTALL Sun Jan 18 12:42:10 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2004/01/18 12:42:11 recht Exp $
+
+IMAPDCONF=@IMAPDCONF@
+
+case ${STAGE} in
+DEINSTALL)
+ if [ -f ${IMAPDCONF} ]; then
+ imap_dirs=` \
+ ${AWK} '/configdirectory:/ { print $2 }; \
+ /partition-.*:/ { print $2 }; \
+ /sievedir:/ { print $2 }' \
+ ${IMAPDCONF} \
+ `
+ for dir in ${imap_dirs}; do
+ if [ -d ${dir} ]; then
+ ALL_DIRS="${ALL_DIRS} ${dir}"
+ fi
+ done
+ fi
+ ;;
+esac
diff -r f3a40ed513f4 -r 45f6108ed044 mail/cyrus-imapd22/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/DESCR Sun Jan 18 12:42:10 2004 +0000
@@ -0,0 +1,7 @@
+IMAP (Internet Message Access Protocol) is an Internet standards-track
+protocol for accessing messages (mail, bboards, news, etc). The Cyrus
+IMAP server differs from other IMAP server implementations in that it
+is generally intended to be run on "sealed" servers, where normal users
+are not permitted to log in. The mailbox database is stored in parts of
+the filesystem that are private to the Cyrus IMAP system. All user
+access to mail is through the IMAP, POP3, or KPOP protocols.
diff -r f3a40ed513f4 -r 45f6108ed044 mail/cyrus-imapd22/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/INSTALL Sun Jan 18 12:42:10 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2004/01/18 12:42:11 recht Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ${CAT} << EOF
+===========================================================================
+Please also refer to:
+
+ ${PKG_PREFIX}/share/doc/html/cyrus-imapd/install.html
+
+for more detailed instructions on setting up the environment before
+starting the Cyrus IMAP server. In particular, several services will
+probably need to be added to /etc/services.
+
+Note anyone upgrading from an earlier version of cyrus should read:
+
+ ${PKG_PREFIX}/share/doc/html/cyrus-imapd/install-upgrade.html
+
+Also note that cyrus-imapd now uses saslauthd rather then pwcheck by
+default.
+===========================================================================
+EOF
+ ;;
+esac
diff -r f3a40ed513f4 -r 45f6108ed044 mail/cyrus-imapd22/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/Makefile Sun Jan 18 12:42:10 2004 +0000
@@ -0,0 +1,126 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/18 12:42:10 recht Exp $
+#
+
+DISTNAME= cyrus-imapd-2.2.3
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
+ ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/imap/
+
+MAINTAINER= recht%NetBSD.org@localhost
+HOMEPAGE= http://asg.web.cmu.edu/cyrus/imapd/
+COMMENT= Cyrus IMAP server
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+PERL5_CONFIGURE= no
+
+USE_PKGINSTALL= yes
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
+INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+
+.include "../../mk/bsd.prefs.mk"
+
+# CYRUS_USER username of the Cyrus administrator
+# CYRUS_GROUP group of the Cyrus administrator
+#
+CYRUS_USER?= cyrus
+CYRUS_GROUP?= mail
+
+BUILD_DEFS+= CYRUS_USER CYRUS_GROUP
+FILES_SUBST+= CYRUS_USER=${CYRUS_USER}
+FILES_SUBST+= CYRUS_GROUP=${CYRUS_GROUP}
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --with-cyrus-user=${CYRUS_USER}
+CONFIGURE_ARGS+= --with-cyrus-group=${CYRUS_GROUP}
+CONFIGURE_ARGS+= --with-cyrus-prefix=${PREFIX}/cyrus
+CONFIGURE_ARGS+= --with-statedir=/var/run
+CONFIGURE_ARGS+= --with-bdb-libdir=${BUILDLINK_PREFIX.db4}/lib
+CONFIGURE_ARGS+= --with-bdb-incdir=${BUILDLINK_PREFIX.db4}/include/db4
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
+CONFIGURE_ARGS+= --with-perl=${PERL5}
+CONFIGURE_ARGS+= --enable-listext
+CONFIGURE_ARGS+= --enable-murder
+CONFIGURE_ARGS+= --enable-nntp
+CONFIGURE_ARGS+= --without-zephyr
+CONFIGURE_ARGS+= --without-ucdsnmp
+CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
+CONFIGURE_ENV+= ac_cv_lib_wrap_request_init=yes
+
+.if exists(/usr/include/krb5/com_err.h)
+CPPFLAGS+= -I/usr/include/krb5
+CONFIGURE_ARGS+= --with-com_err=
+.else
+CONFIGURE_ARGS+= --with-com_err=yes
+.endif
+
+.if defined(KERBEROS) && ${KERBEROS} == 4
+PKG_USE_KERBEROS= # defined
+CONFIGURE_ARGS+= --with-auth=krb
+.else
+CONFIGURE_ARGS+= --with-auth=unix
+CONFIGURE_ARGS+= --without-krb
+.endif
+
+MAKEFLAGS+= PERL=${PERL5}
+
+HTMLDIR= ${PREFIX}/share/doc/html/cyrus-imapd
+EGDIR= ${PREFIX}/share/examples/cyrus-imapd
+CONF_FILES= ${EGDIR}/imapd.conf ${PKG_SYSCONFDIR}/imapd.conf
+CONF_FILES+= ${EGDIR}/normal.conf ${PKG_SYSCONFDIR}/cyrus.conf
+RCD_SCRIPTS= cyrus
+FILES_SUBST+= IMAPDCONF=${PKG_SYSCONFDIR}/imapd.conf
+
+PERL5_PACKLIST= \
+ ${PERL5_SITEARCH}/auto/Cyrus/IMAP/.packlist \
+ ${PERL5_SITEARCH}/auto/Cyrus/SIEVE/managesieve/.packlist
+
+# Change references of some manpages from foo.8 to cyrus-foo.8 to avoid
+# manpage conflicts with other packages. Also change references to
+# "/etc/{cyrus,imapd}.conf" into "${PKG_SYSCONFDIR}/{cyrus,imapd}.conf".
+#
+post-patch:
+ cd ${WRKSRC}/man; \
+ for file in deliver.8 imapd.8 master.8 pop3d.8; do \
+ ${MV} $${file} cyrus-$${file}; \
+ ${SED} -e "s|\(\$$(srcdir)/\)\($${file}\)|\1cyrus-\2|g" \
+ Makefile.in > Makefile.in.fixed; \
+ ${MV} -f Makefile.in.fixed Makefile.in; \
+ done
+ files=`${FIND} ${WRKSRC} -type f -exec ${GREP} -l \
+ -e /etc/imapd\.conf -e /etc/cyrus\.conf {} \;`; \
+ for file in $${files}; do \
+ ${SED} -e "s|\(\\fB\)\($${name}($${suffix})\)|\1cyrus-\2|g" \
+ -e "s|\(\$$(srcdir)/\)\($${man}\)|\1cyrus-\2|g" \
+ -e "s|/etc/\(cyrus\.conf\)|${PKG_SYSCONFDIR}/\1|g" \
+ -e "s|/etc/\(imapd\.conf\)|${PKG_SYSCONFDIR}/\1|g" \
+ $${file} > $${file}.fixed; \
+ ${MV} -f $${file}.fixed $${file}; \
+ done
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec ${PREFIX}/cyrus/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap ${PREFIX}/cyrus/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/mknewsgroups ${PREFIX}/cyrus/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/translatesieve ${PREFIX}/cyrus/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/rehash ${PREFIX}/cyrus/bin
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/imapd.conf ${EGDIR}
+ cd ${WRKSRC}/master/conf; for file in *.conf; do \
+ ${INSTALL_DATA} $$file ${EGDIR}; \
+ done
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ cd ${WRKSRC}/doc; for file in *.html cyrusv2.mc; do \
+ ${INSTALL_DATA} $$file ${HTMLDIR}; \
+ done
+
+.include "../../databases/db4/buildlink2.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../security/cyrus-sasl2/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../security/tcp_wrappers/buildlink2.mk"
+
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f3a40ed513f4 -r 45f6108ed044 mail/cyrus-imapd22/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/cyrus-imapd22/PLIST Sun Jan 18 12:42:10 2004 +0000
@@ -0,0 +1,165 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/18 12:42:11 recht Exp $
+bin/imtest
+bin/installsieve
+bin/lmtptest
+bin/mupdatetest
+bin/nntptest
+bin/pop3test
+bin/sieveshell
+bin/sivtest
+bin/smtptest
+cyrus/bin/arbitron
+cyrus/bin/chk_cyrus
+cyrus/bin/ctl_cyrusdb
+cyrus/bin/ctl_deliver
+cyrus/bin/ctl_mboxlist
+cyrus/bin/cvt_cyrusdb
+cyrus/bin/cyr_expire
+cyrus/bin/cyrdump
+cyrus/bin/deliver
+cyrus/bin/fetchnews
+cyrus/bin/fud
+cyrus/bin/imapd
+cyrus/bin/ipurge
+cyrus/bin/lmtpd
+cyrus/bin/lmtpproxyd
+cyrus/bin/masssievec
+cyrus/bin/master
+cyrus/bin/mbexamine
+cyrus/bin/mbpath
+cyrus/bin/mkimap
+cyrus/bin/mknewsgroups
+cyrus/bin/mupdate
+cyrus/bin/nntpd
+cyrus/bin/notifyd
+cyrus/bin/pop3d
+cyrus/bin/pop3proxyd
+cyrus/bin/proxyd
+cyrus/bin/quota
+cyrus/bin/reconstruct
+cyrus/bin/rehash
+cyrus/bin/sievec
+cyrus/bin/smmapd
+cyrus/bin/squatter
+cyrus/bin/timsieved
+cyrus/bin/tls_prune
+cyrus/bin/translatesieve
+etc/rc.d/cyrus
+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/imapopts.h
+include/cyrus/imapurl.h
+include/cyrus/imclient.h
+include/cyrus/imparse.h
+include/cyrus/iptostring.h
+include/cyrus/libconfig.h
+include/cyrus/libcyr_cfg.h
+include/cyrus/lock.h
+include/cyrus/lsort.h
+include/cyrus/map.h
+include/cyrus/mkgmtime.h
+include/cyrus/mpool.h
+include/cyrus/nonblock.h
+include/cyrus/parseaddr.h
+include/cyrus/prot.h
+include/cyrus/retry.h
+include/cyrus/rfc822date.h
+include/cyrus/strhash.h
+include/cyrus/strhash.o
+include/cyrus/stristr.h
+include/cyrus/sysexits.h
+include/cyrus/util.h
+include/cyrus/xmalloc.h
+lib/libcyrus.a
+lib/libcyrus_min.a
+man/man1/imtest.1
+man/man1/installsieve.1
+man/man1/lmtptest.1
+man/man1/mupdatetest.1
+man/man1/nntptest.1
+man/man1/pop3test.1
+man/man1/sieveshell.1
+man/man1/sivtest.1
+man/man1/smtptest.1
+man/man3/imclient.3
+man/man5/cyrus.conf.5
+man/man5/imapd.conf.5
+man/man5/krb.equiv.5
+man/man8/arbitron.8
+man/man8/chk_cyrus.8
+man/man8/ctl_cyrusdb.8
+man/man8/ctl_deliver.8
+man/man8/ctl_mboxlist.8
+man/man8/cvt_cyrusdb.8
+man/man8/cyr_expire.8
+man/man8/cyrus-deliver.8
Home |
Main Index |
Thread Index |
Old Index