summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-03-07 00:27:18 +0000
committerkim <kim@pkgsrc.org>1999-03-07 00:27:18 +0000
commit2456253f31220845ac7053be157842ed25e318b3 (patch)
tree5ce380324e2b266981257ff2535a0bc46660097c /mail
parent9af50c16512728a88086a78ba2dc67f275992a8a (diff)
downloadpkgsrc-2456253f31220845ac7053be157842ed25e318b3.tar.gz
Cyrus: the Andrew IMAP server
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus/Makefile21
-rw-r--r--mail/cyrus/files/md53
-rw-r--r--mail/cyrus/patches/patch-aa83
-rw-r--r--mail/cyrus/pkg/COMMENT1
-rw-r--r--mail/cyrus/pkg/DESCR11
-rw-r--r--mail/cyrus/pkg/PLIST52
6 files changed, 171 insertions, 0 deletions
diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile
new file mode 100644
index 00000000000..b0ef0514b6b
--- /dev/null
+++ b/mail/cyrus/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/07 00:27:18 kim Exp $
+
+DISTNAME= cyrus-imapd-v1.5.14
+PKGNAME!= echo "${DISTNAME}" | sed -e 's/-imapd-v/-/'
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-cyrus-prefix=${PREFIX}/cyrus
+CONFIGURE_ARGS+= --with-statedir=/var/run
+CONFIGURE_ARGS+= --with-tcl=/usr/local/tcl
+
+.include "../../mk/bsd.pkg.mk"
+
+.if exists(/usr/lib/libkrb.a) && \
+ (defined(MAKE_EBONES) || defined(MAKE_KERBEROS4))
+CONFIGURE_ARGS+= --with-login=krb
+.endif
diff --git a/mail/cyrus/files/md5 b/mail/cyrus/files/md5
new file mode 100644
index 00000000000..3d0d42d6763
--- /dev/null
+++ b/mail/cyrus/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/03/07 00:27:18 kim Exp $
+
+MD5 (cyrus-imapd-v1.5.14.tar.gz) = e90555be60ec3a647f1661e10cc16458
diff --git a/mail/cyrus/patches/patch-aa b/mail/cyrus/patches/patch-aa
new file mode 100644
index 00000000000..f886f70a8d8
--- /dev/null
+++ b/mail/cyrus/patches/patch-aa
@@ -0,0 +1,83 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/07 00:27:18 kim Exp $
+
+--- configure.orig Tue Aug 4 01:52:57 1998
++++ configure Thu Oct 22 21:31:35 1998
+@@ -1269,14 +1269,14 @@
+ fi
+
+ echo "$ac_t""$andrew_runpath_switch" 1>&6
+-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
+-
+- # this is ANDREW ADD LIBPATH
+- if test "$andrew_runpath_switch" = "none" ; then
+- LDFLAGS="-L"/usr/local/lib" ${LDFLAGS}"
+- else
+- LDFLAGS="-L"/usr/local/lib" ${LDFLAGS} $andrew_runpath_switch"/usr/local/lib""
+- fi
++#CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
++#
++# # this is ANDREW ADD LIBPATH
++# if test "$andrew_runpath_switch" = "none" ; then
++# LDFLAGS="-L"/usr/local/lib" ${LDFLAGS}"
++# else
++# LDFLAGS="-L"/usr/local/lib" ${LDFLAGS} $andrew_runpath_switch"/usr/local/lib""
++# fi
+
+
+ for ac_hdr in unistd.h sys/select.h db_185.h sys/param.h
+@@ -2507,8 +2507,9 @@
+ fi
+
+
+-case "$WITH_LOGIN" in
+- unix|unix_*) echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
++#case "$WITH_LOGIN" in
++# unix|unix_*) echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
++echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
+ echo "configure:2513: checking for crypt in -lcrypt" >&5
+ ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+@@ -2554,7 +2555,8 @@
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+-;;
++#;;
++case "$WITH_LOGIN" in
+ krb|krb_*) login_progs=krbck;;
+ esac
+
+@@ -3094,11 +3096,11 @@
+ with_krb="${withval}"
+ fi
+
+-if test -z "$with_krb"; then
+- if test -f /usr/local/lib/libkrb.a -a -f /usr/local/lib/libdes.a; then
+- with_krb="/usr/local"
+- fi
+-fi
++#if test -z "$with_krb"; then
++# if test -f /usr/local/lib/libkrb.a -a -f /usr/local/lib/libdes.a; then
++# with_krb="/usr/local"
++# fi
++#fi
+ case "$with_krb" in
+ no) true;;
+ ""|yes) echo $ac_n "checking for des_ecb_encrypt in -lkrb""... $ac_c" 1>&6
+@@ -3308,11 +3310,11 @@
+ with_zephyr="${withval}"
+ fi
+
+-if test -z "$with_zephyr"; then
+- if test -f /usr/local/lib/libzephyr.a; then
+- with_zephyr="/usr/local"
+- fi
+-fi
++#if test -z "$with_zephyr"; then
++# if test -f /usr/local/lib/libzephyr.a; then
++# with_zephyr="/usr/local"
++# fi
++#fi
+ case "$with_zephyr" in
+ no) true;;
+ ""|yes) echo $ac_n "checking for ZInitialize in -lzephyr""... $ac_c" 1>&6
diff --git a/mail/cyrus/pkg/COMMENT b/mail/cyrus/pkg/COMMENT
new file mode 100644
index 00000000000..72cc6f0fc69
--- /dev/null
+++ b/mail/cyrus/pkg/COMMENT
@@ -0,0 +1 @@
+IMAP server
diff --git a/mail/cyrus/pkg/DESCR b/mail/cyrus/pkg/DESCR
new file mode 100644
index 00000000000..b0ebd2f8d05
--- /dev/null
+++ b/mail/cyrus/pkg/DESCR
@@ -0,0 +1,11 @@
+Cyrus IMAP Server
+
+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 --git a/mail/cyrus/pkg/PLIST b/mail/cyrus/pkg/PLIST
new file mode 100644
index 00000000000..bd8efdc53de
--- /dev/null
+++ b/mail/cyrus/pkg/PLIST
@@ -0,0 +1,52 @@
+bin/cyradm
+bin/imtest
+cyrus/bin/arbitron
+cyrus/bin/collectnews
+cyrus/bin/deliver
+cyrus/bin/dump_deliverdb
+cyrus/bin/feedcyrus
+cyrus/bin/fud
+cyrus/bin/imapd
+cyrus/bin/krbck
+cyrus/bin/pop3d
+cyrus/bin/quota
+cyrus/bin/reconstruct
+cyrus/bin/syncnews
+cyrus/bin/updateimsp
+@dirrm cyrus/bin
+@dirrm cyrus
+include/cyrus/acl.h
+include/cyrus/assert.h
+include/cyrus/auth.h
+include/cyrus/bsearch.h
+include/cyrus/charset.h
+include/cyrus/glob.h
+include/cyrus/gmtoff.h
+include/cyrus/imclient.h
+include/cyrus/imparse.h
+include/cyrus/lock.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/sasl.h
+include/cyrus/sysexits.h
+include/cyrus/util.h
+include/cyrus/xmalloc.h
+@dirrm include/cyrus
+lib/libcyrus.a
+man/man1/cyradm.1
+man/man3/imclient.3
+man/man5/imapd.conf.5
+man/man5/krb.equiv.5
+man/man8/arbitron.8
+man/man8/collectnews.8
+man/man8/deliver.8
+man/man8/imapd.8
+man/man8/pop3d.8
+man/man8/quota.8
+man/man8/reconstruct.8
+man/man8/rmnews.8
+man/man8/syncnews.8