aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/cyrus-imspd/Makefile47
-rw-r--r--databases/cyrus-imspd/distinfo1
-rw-r--r--databases/cyrus-imspd/files/imspd.conf1
-rw-r--r--databases/cyrus-imspd/files/imspd.sh22
-rw-r--r--databases/cyrus-imspd/files/patch-aa11
-rw-r--r--databases/cyrus-imspd/files/patch-ab11
-rw-r--r--databases/cyrus-imspd/files/patch-ac11
-rw-r--r--databases/cyrus-imspd/files/patch-ad11
-rw-r--r--databases/cyrus-imspd/files/patch-ae11
-rw-r--r--databases/cyrus-imspd/files/patch-af11
-rw-r--r--databases/cyrus-imspd/files/patch-ag11
-rw-r--r--databases/cyrus-imspd/files/patch-ah11
-rw-r--r--databases/cyrus-imspd/files/patch-ai51
-rw-r--r--databases/cyrus-imspd/files/patch-aj19
-rw-r--r--databases/cyrus-imspd/pkg-comment1
-rw-r--r--databases/cyrus-imspd/pkg-descr9
-rw-r--r--databases/cyrus-imspd/pkg-message6
-rw-r--r--databases/cyrus-imspd/pkg-plist11
19 files changed, 257 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ced12ddb6c4b..0167f721dc27 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -6,6 +6,7 @@
SUBDIR += bbdb-emacs20
SUBDIR += cdb
SUBDIR += clip
+ SUBDIR += cyrus-imspd
SUBDIR += db
SUBDIR += db3
SUBDIR += db4
diff --git a/databases/cyrus-imspd/Makefile b/databases/cyrus-imspd/Makefile
new file mode 100644
index 000000000000..60d44333900b
--- /dev/null
+++ b/databases/cyrus-imspd/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: cyrus-imspd
+# Date created: Jan 4th 2001
+# Whom: damien@tougas.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= cyrus-imspd
+PORTVERSION= v1.6a3
+CATEGORIES= databases mail
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
+ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
+
+MAINTAINER= ports@freebsd.org
+
+LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
+BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --with-sasldir=${LOCALBASE} \
+ --with-auth=unix
+
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/imspd.sh \
+ ${PREFIX}/etc/rc.d/imspd.sh
+ ${INSTALL_DATA} ${FILESDIR}/imspd.conf \
+ ${PREFIX}/lib/sasl/imspd.conf
+ ${MKDIR} /var/imsp
+ ${INSTALL_DATA} ${WRKSRC}/imsp/options.sample \
+ /var/imsp/options.dist
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/imspd
+ ${INSTALL_DATA} ${WRKSRC}/notes/Setup-instructions \
+ ${PREFIX}/share/doc/imspd
+ ${INSTALL_DATA} ${WRKSRC}/notes/option.registry \
+ ${PREFIX}/share/doc/imspd
+ ${INSTALL_DATA} ${WRKSRC}/notes/Changes-Todo \
+ ${PREFIX}/share/doc/imspd
+ ${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation \
+ ${PREFIX}/share/doc/imspd
+ ${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation.updates \
+ ${PREFIX}/share/doc/imspd
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/databases/cyrus-imspd/distinfo b/databases/cyrus-imspd/distinfo
new file mode 100644
index 000000000000..9cf90b9df305
--- /dev/null
+++ b/databases/cyrus-imspd/distinfo
@@ -0,0 +1 @@
+MD5 (cyrus-imspd-v1.6a3.tar.gz) = 224f2d8acf4858fd2ed45613c537a61c
diff --git a/databases/cyrus-imspd/files/imspd.conf b/databases/cyrus-imspd/files/imspd.conf
new file mode 100644
index 000000000000..45e20d3ea20f
--- /dev/null
+++ b/databases/cyrus-imspd/files/imspd.conf
@@ -0,0 +1 @@
+pwcheck_method: pwcheck
diff --git a/databases/cyrus-imspd/files/imspd.sh b/databases/cyrus-imspd/files/imspd.sh
new file mode 100644
index 000000000000..a8eab9d5edf8
--- /dev/null
+++ b/databases/cyrus-imspd/files/imspd.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# Start or stop cyrus-imspd
+# $FreeBSD$
+
+case "$1" in
+start)
+ if [ -x /usr/local/sbin/imspd -a \
+ -f /var/imsp/options ]; then
+ /usr/local/sbin/imspd >/dev/null &
+ echo -n ' imspd'
+ fi
+ ;;
+stop)
+ kill `ps -U root | awk '/imspd$/ {print $1}'` && echo -n ' imspd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/databases/cyrus-imspd/files/patch-aa b/databases/cyrus-imspd/files/patch-aa
new file mode 100644
index 000000000000..0ce3fd73eeb3
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-aa
@@ -0,0 +1,11 @@
+--- imsp/dispatch.c.orig Mon Oct 1 22:49:47 2001
++++ imsp/dispatch.c Mon Oct 1 22:40:20 2001
+@@ -57,7 +57,7 @@
+ #endif
+ #include "dispatch.h"
+
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ #ifndef HAVE_GETDTABLESIZE
+ #define getdtablesize() 32
diff --git a/databases/cyrus-imspd/files/patch-ab b/databases/cyrus-imspd/files/patch-ab
new file mode 100644
index 000000000000..35aa38f3aca7
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ab
@@ -0,0 +1,11 @@
+--- imsp/dispatch.h.orig Mon Oct 1 22:54:38 2001
++++ imsp/dispatch.h Mon Oct 1 22:40:31 2001
+@@ -44,7 +44,7 @@
+
+ #define MAX_BUF 4096
+
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ /* a file buffer structure
+ */
diff --git a/databases/cyrus-imspd/files/patch-ac b/databases/cyrus-imspd/files/patch-ac
new file mode 100644
index 000000000000..6d19c4971d63
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ac
@@ -0,0 +1,11 @@
+--- imsp/imsp_server.c.orig Mon Oct 1 22:56:14 2001
++++ imsp/imsp_server.c Mon Oct 1 22:41:13 2001
+@@ -53,7 +53,7 @@
+ #include <netinet/in.h>
+ #include <syslog.h>
+ #include <fcntl.h>
+-#include <sasl.h>
++#include <sasl/sasl.h>
+ #include <netdb.h>
+ #include "version.h"
+ #include "dispatch.h"
diff --git a/databases/cyrus-imspd/files/patch-ad b/databases/cyrus-imspd/files/patch-ad
new file mode 100644
index 000000000000..05ea0c29220b
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ad
@@ -0,0 +1,11 @@
+--- imsp/sasl_support.c.orig Mon Oct 1 22:57:49 2001
++++ imsp/sasl_support.c Mon Oct 1 22:41:39 2001
+@@ -47,7 +47,7 @@
+ #include <strings.h>
+ #include <syslog.h>
+ #include "xmalloc.h"
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ #include "util.h"
+ #include "syncdb.h"
diff --git a/databases/cyrus-imspd/files/patch-ae b/databases/cyrus-imspd/files/patch-ae
new file mode 100644
index 000000000000..0beb31f19783
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ae
@@ -0,0 +1,11 @@
+--- lib/imclient.c.orig Mon Oct 1 23:00:28 2001
++++ lib/imclient.c Mon Oct 1 22:43:05 2001
+@@ -64,7 +64,7 @@
+ #include <sys/select.h>
+ #endif
+
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ #ifdef HAVE_SSL
+ #include <openssl/lhash.h>
diff --git a/databases/cyrus-imspd/files/patch-af b/databases/cyrus-imspd/files/patch-af
new file mode 100644
index 000000000000..9995f7bf12d1
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-af
@@ -0,0 +1,11 @@
+--- lib/imclient.h.orig Mon Oct 1 23:01:49 2001
++++ lib/imclient.h Mon Oct 1 22:43:26 2001
+@@ -45,7 +45,7 @@
+ #ifndef INCLUDED_IMCLIENT_H
+ #define INCLUDED_IMCLIENT_H
+
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ struct imclient;
+ struct sasl_client; /* to avoid having to include sasl sometimes */
diff --git a/databases/cyrus-imspd/files/patch-ag b/databases/cyrus-imspd/files/patch-ag
new file mode 100644
index 000000000000..4b6c60cf8b58
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ag
@@ -0,0 +1,11 @@
+--- lib/prot.h.orig Mon Oct 1 23:02:44 2001
++++ lib/prot.h Mon Oct 1 22:43:41 2001
+@@ -48,7 +48,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+-#include <sasl.h>
++#include <sasl/sasl.h>
+
+ #ifdef HAVE_SSL
+ #include <openssl/ssl.h>
diff --git a/databases/cyrus-imspd/files/patch-ah b/databases/cyrus-imspd/files/patch-ah
new file mode 100644
index 000000000000..a97b8e557565
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ah
@@ -0,0 +1,11 @@
+--- imsp/Makefile.in.orig Sun Dec 17 22:27:42 2000
++++ imsp/Makefile.in Tue Oct 2 20:47:22 2001
+@@ -76,7 +76,7 @@
+ $<
+
+ install: cyrus-imspd
+- $(INSTALL) -s cyrus-imspd $(DESTDIR)/cyrus/usr/cyrus/bin/imspd
++ $(INSTALL) -s cyrus-imspd @prefix@/sbin/imspd
+
+ cyrus-imspd: $(IMSPDOBJS) $(DEPLIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o cyrus-imspd $(IMSPDOBJS) $(DEPLIBS) $(LIBS)
diff --git a/databases/cyrus-imspd/files/patch-ai b/databases/cyrus-imspd/files/patch-ai
new file mode 100644
index 000000000000..6eeb91260316
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-ai
@@ -0,0 +1,51 @@
+--- Makefile.in.orig Tue Oct 2 20:31:48 2001
++++ Makefile.in Tue Oct 2 20:34:09 2001
+@@ -32,19 +32,15 @@
+ @for d in $(SUBDIRS); \
+ do \
+ (cd $$d; echo "### Making" all "in" `pwd`; \
+- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all; \
++ $(MAKE) $(MFLAGS) all; \
+ echo "### Done with" `pwd`); \
+ done
+
+ install::
+- - mkdir ${DESTDIR}/cyrus
+- - mkdir ${DESTDIR}/cyrus/usr
+- - mkdir ${DESTDIR}/cyrus/usr/cyrus
+- - mkdir ${DESTDIR}/cyrus/usr/cyrus/bin
+ @for d in $(SUBDIRS); \
+ do \
+ (cd $$d; echo "### Making" install "in" `pwd`; \
+- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \
++ $(MAKE) $(MFLAGS) install ; \
+ echo "### Done with" `pwd`); \
+ done
+
+@@ -52,7 +48,7 @@
+ @-for d in $(SUBDIRS); \
+ do \
+ (cd $$d; echo "### Making" clean "in" `pwd`; \
+- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \
++ $(MAKE) $(MFLAGS) clean ; \
+ echo "### Done with" `pwd`); \
+ done
+
+@@ -60,7 +56,7 @@
+ @-for d in $(SUBDIRS); \
+ do \
+ (cd $$d; echo "### Making" clean "in" `pwd`; \
+- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) distclean ; \
++ $(MAKE) $(MFLAGS) distclean ; \
+ echo "### Done with" `pwd`); \
+ done
+ rm -f Makefile config.*
+@@ -69,7 +65,7 @@
+ @for d in $(SUBDIRS); \
+ do \
+ (cd $$d; echo "### Making" depend "in" `pwd`; \
+- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \
++ $(MAKE) $(MFLAGS) depend ; \
+ echo "### Done with" `pwd`); \
+ done
+
diff --git a/databases/cyrus-imspd/files/patch-aj b/databases/cyrus-imspd/files/patch-aj
new file mode 100644
index 000000000000..b4d01fd30349
--- /dev/null
+++ b/databases/cyrus-imspd/files/patch-aj
@@ -0,0 +1,19 @@
+--- lib/Makefile.in.orig Tue Oct 2 20:29:13 2001
++++ lib/Makefile.in Tue Oct 2 20:35:28 2001
+@@ -96,12 +96,12 @@
+
+ install:
+ # Don't install any parts of libcyrus from the IMSP collection!
+-# $(srcdir)/../install-sh -d $(DESTDIR)$(exec_prefix)/lib
+-# $(INSTALL) -m 644 libcyrus.a $(DESTDIR)$(exec_prefix)/lib
+-# $(RANLIB) $(DESTDIR)$(exec_prefix)/lib/libcyrus.a
++# $(srcdir)/../install-sh -d $(exec_prefix)/lib
++# $(INSTALL) -m 644 libcyrus.a $(exec_prefix)/lib
++# $(RANLIB) $(exec_prefix)/lib/libcyrus.a
+ # for file in $(HDRS); \
+ # do \
+-# $(INSTALL) -m 644 $$file $(DESTDIR)$(prefix)/include/cyrus || exit 1; \
++# $(INSTALL) -m 644 $$file $(prefix)/include/cyrus || exit 1; \
+ # done
+
+ .c.o:
diff --git a/databases/cyrus-imspd/pkg-comment b/databases/cyrus-imspd/pkg-comment
new file mode 100644
index 000000000000..8b0d68b87db4
--- /dev/null
+++ b/databases/cyrus-imspd/pkg-comment
@@ -0,0 +1 @@
+The cyrus IMSP (Internet Message Support Protocol) server
diff --git a/databases/cyrus-imspd/pkg-descr b/databases/cyrus-imspd/pkg-descr
new file mode 100644
index 000000000000..228067933e2c
--- /dev/null
+++ b/databases/cyrus-imspd/pkg-descr
@@ -0,0 +1,9 @@
+The Internet Message Support Protocol (IMSP) is designed to support the
+provision of mail in a medium to large scale operation. It is intended to
+be used as a companion to the IMAP4 protocol [IMAP4], providing services
+which are either outside the scope of mail access or which pertain to
+environments which must run more than one IMAP4 server in the same mail
+domain. The services that IMSP provides are extended mailbox management,
+configuration options, and address books.
+
+WWW: http://asg.web.cmu.edu/cyrus/
diff --git a/databases/cyrus-imspd/pkg-message b/databases/cyrus-imspd/pkg-message
new file mode 100644
index 000000000000..8c9d83354b1a
--- /dev/null
+++ b/databases/cyrus-imspd/pkg-message
@@ -0,0 +1,6 @@
+****************************************************************************
+
+Prior to using this software, copy the configuration file
+/var/imsp/options.dist to /var/imsp/options and modify as required.
+
+****************************************************************************
diff --git a/databases/cyrus-imspd/pkg-plist b/databases/cyrus-imspd/pkg-plist
new file mode 100644
index 000000000000..a26f69832023
--- /dev/null
+++ b/databases/cyrus-imspd/pkg-plist
@@ -0,0 +1,11 @@
+etc/rc.d/imspd.sh
+lib/sasl/imspd.conf
+sbin/imspd
+%%PORTDOCS%%share/doc/imspd/Setup-instructions
+%%PORTDOCS%%share/doc/imspd/option.registry
+%%PORTDOCS%%share/doc/imspd/Changes-Todo
+%%PORTDOCS%%share/doc/imspd/imsp.implementation
+%%PORTDOCS%%share/doc/imspd/imsp.implementation.updates
+%%PORTDOCS%%@dirrm share/doc/imspd
+@cwd /var
+imsp/options.dist