Date: Wed, 3 Oct 2001 22:54:37 -0400 (EDT) From: Damien Tougas <damien@tougas.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31026: New Port: Internet Message Support Protocol Daemon (IMSPD) Message-ID: <200110040254.f942sb888789@sprig.tougas.net>
next in thread | raw e-mail | index | archive | help
>Number: 31026 >Category: ports >Synopsis: New Port: Internet Message Support Protocol Daemon (IMSPD) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 03 20:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Damien Tougas >Release: FreeBSD 4.4-STABLE i386 >Organization: None >Environment: System: FreeBSD sprig.tougas.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Sep 23 08:57:00 EDT 2001 rtougas@sprig.tougas.net:/usr/obj/usr/src/sys/SPRIG i386 >Description: 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. http://asg.web.cmu.edu/cyrus/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cyrus-imspd # cyrus-imspd/files # cyrus-imspd/files/imspd.conf # cyrus-imspd/files/patch-aa # cyrus-imspd/files/patch-ab # cyrus-imspd/files/patch-ac # cyrus-imspd/files/patch-ad # cyrus-imspd/files/patch-ae # cyrus-imspd/files/patch-af # cyrus-imspd/files/patch-ag # cyrus-imspd/files/patch-ah # cyrus-imspd/files/patch-ai # cyrus-imspd/files/patch-aj # cyrus-imspd/files/imspd.sh # cyrus-imspd/pkg-plist # cyrus-imspd/pkg-message # cyrus-imspd/pkg-descr # cyrus-imspd/pkg-comment # cyrus-imspd/distinfo # cyrus-imspd/Makefile # echo c - cyrus-imspd mkdir -p cyrus-imspd > /dev/null 2>&1 echo c - cyrus-imspd/files mkdir -p cyrus-imspd/files > /dev/null 2>&1 echo x - cyrus-imspd/files/imspd.conf sed 's/^X//' >cyrus-imspd/files/imspd.conf << 'END-of-cyrus-imspd/files/imspd.conf' Xpwcheck_method: pwcheck END-of-cyrus-imspd/files/imspd.conf echo x - cyrus-imspd/files/patch-aa sed 's/^X//' >cyrus-imspd/files/patch-aa << 'END-of-cyrus-imspd/files/patch-aa' X--- imsp/dispatch.c.orig Mon Oct 1 22:49:47 2001 X+++ imsp/dispatch.c Mon Oct 1 22:40:20 2001 X@@ -57,7 +57,7 @@ X #endif X #include "dispatch.h" X X-#include <sasl.h> X+#include <sasl/sasl.h> X X #ifndef HAVE_GETDTABLESIZE X #define getdtablesize() 32 END-of-cyrus-imspd/files/patch-aa echo x - cyrus-imspd/files/patch-ab sed 's/^X//' >cyrus-imspd/files/patch-ab << 'END-of-cyrus-imspd/files/patch-ab' X--- imsp/dispatch.h.orig Mon Oct 1 22:54:38 2001 X+++ imsp/dispatch.h Mon Oct 1 22:40:31 2001 X@@ -44,7 +44,7 @@ X X #define MAX_BUF 4096 X X-#include <sasl.h> X+#include <sasl/sasl.h> X X /* a file buffer structure X */ END-of-cyrus-imspd/files/patch-ab echo x - cyrus-imspd/files/patch-ac sed 's/^X//' >cyrus-imspd/files/patch-ac << 'END-of-cyrus-imspd/files/patch-ac' X--- imsp/imsp_server.c.orig Mon Oct 1 22:56:14 2001 X+++ imsp/imsp_server.c Mon Oct 1 22:41:13 2001 X@@ -53,7 +53,7 @@ X #include <netinet/in.h> X #include <syslog.h> X #include <fcntl.h> X-#include <sasl.h> X+#include <sasl/sasl.h> X #include <netdb.h> X #include "version.h" X #include "dispatch.h" END-of-cyrus-imspd/files/patch-ac echo x - cyrus-imspd/files/patch-ad sed 's/^X//' >cyrus-imspd/files/patch-ad << 'END-of-cyrus-imspd/files/patch-ad' X--- imsp/sasl_support.c.orig Mon Oct 1 22:57:49 2001 X+++ imsp/sasl_support.c Mon Oct 1 22:41:39 2001 X@@ -47,7 +47,7 @@ X #include <strings.h> X #include <syslog.h> X #include "xmalloc.h" X-#include <sasl.h> X+#include <sasl/sasl.h> X X #include "util.h" X #include "syncdb.h" END-of-cyrus-imspd/files/patch-ad echo x - cyrus-imspd/files/patch-ae sed 's/^X//' >cyrus-imspd/files/patch-ae << 'END-of-cyrus-imspd/files/patch-ae' X--- lib/imclient.c.orig Mon Oct 1 23:00:28 2001 X+++ lib/imclient.c Mon Oct 1 22:43:05 2001 X@@ -64,7 +64,7 @@ X #include <sys/select.h> X #endif X X-#include <sasl.h> X+#include <sasl/sasl.h> X X #ifdef HAVE_SSL X #include <openssl/lhash.h> END-of-cyrus-imspd/files/patch-ae echo x - cyrus-imspd/files/patch-af sed 's/^X//' >cyrus-imspd/files/patch-af << 'END-of-cyrus-imspd/files/patch-af' X--- lib/imclient.h.orig Mon Oct 1 23:01:49 2001 X+++ lib/imclient.h Mon Oct 1 22:43:26 2001 X@@ -45,7 +45,7 @@ X #ifndef INCLUDED_IMCLIENT_H X #define INCLUDED_IMCLIENT_H X X-#include <sasl.h> X+#include <sasl/sasl.h> X X struct imclient; X struct sasl_client; /* to avoid having to include sasl sometimes */ END-of-cyrus-imspd/files/patch-af echo x - cyrus-imspd/files/patch-ag sed 's/^X//' >cyrus-imspd/files/patch-ag << 'END-of-cyrus-imspd/files/patch-ag' X--- lib/prot.h.orig Mon Oct 1 23:02:44 2001 X+++ lib/prot.h Mon Oct 1 22:43:41 2001 X@@ -48,7 +48,7 @@ X #include <stdio.h> X #include <stdlib.h> X X-#include <sasl.h> X+#include <sasl/sasl.h> X X #ifdef HAVE_SSL X #include <openssl/ssl.h> END-of-cyrus-imspd/files/patch-ag echo x - cyrus-imspd/files/patch-ah sed 's/^X//' >cyrus-imspd/files/patch-ah << 'END-of-cyrus-imspd/files/patch-ah' X--- imsp/Makefile.in.orig Sun Dec 17 22:27:42 2000 X+++ imsp/Makefile.in Tue Oct 2 20:47:22 2001 X@@ -76,7 +76,7 @@ X $< X X install: cyrus-imspd X- $(INSTALL) -s cyrus-imspd $(DESTDIR)/cyrus/usr/cyrus/bin/imspd X+ $(INSTALL) -s cyrus-imspd @prefix@/sbin/imspd X X cyrus-imspd: $(IMSPDOBJS) $(DEPLIBS) X $(CC) $(CFLAGS) $(LDFLAGS) -o cyrus-imspd $(IMSPDOBJS) $(DEPLIBS) $(LIBS) END-of-cyrus-imspd/files/patch-ah echo x - cyrus-imspd/files/patch-ai sed 's/^X//' >cyrus-imspd/files/patch-ai << 'END-of-cyrus-imspd/files/patch-ai' X--- Makefile.in.orig Tue Oct 2 20:31:48 2001 X+++ Makefile.in Tue Oct 2 20:34:09 2001 X@@ -32,19 +32,15 @@ X @for d in $(SUBDIRS); \ X do \ X (cd $$d; echo "### Making" all "in" `pwd`; \ X- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all; \ X+ $(MAKE) $(MFLAGS) all; \ X echo "### Done with" `pwd`); \ X done X X install:: X- - mkdir ${DESTDIR}/cyrus X- - mkdir ${DESTDIR}/cyrus/usr X- - mkdir ${DESTDIR}/cyrus/usr/cyrus X- - mkdir ${DESTDIR}/cyrus/usr/cyrus/bin X @for d in $(SUBDIRS); \ X do \ X (cd $$d; echo "### Making" install "in" `pwd`; \ X- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \ X+ $(MAKE) $(MFLAGS) install ; \ X echo "### Done with" `pwd`); \ X done X X@@ -52,7 +48,7 @@ X @-for d in $(SUBDIRS); \ X do \ X (cd $$d; echo "### Making" clean "in" `pwd`; \ X- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \ X+ $(MAKE) $(MFLAGS) clean ; \ X echo "### Done with" `pwd`); \ X done X X@@ -60,7 +56,7 @@ X @-for d in $(SUBDIRS); \ X do \ X (cd $$d; echo "### Making" clean "in" `pwd`; \ X- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) distclean ; \ X+ $(MAKE) $(MFLAGS) distclean ; \ X echo "### Done with" `pwd`); \ X done X rm -f Makefile config.* X@@ -69,7 +65,7 @@ X @for d in $(SUBDIRS); \ X do \ X (cd $$d; echo "### Making" depend "in" `pwd`; \ X- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \ X+ $(MAKE) $(MFLAGS) depend ; \ X echo "### Done with" `pwd`); \ X done X END-of-cyrus-imspd/files/patch-ai echo x - cyrus-imspd/files/patch-aj sed 's/^X//' >cyrus-imspd/files/patch-aj << 'END-of-cyrus-imspd/files/patch-aj' X--- lib/Makefile.in.orig Tue Oct 2 20:29:13 2001 X+++ lib/Makefile.in Tue Oct 2 20:35:28 2001 X@@ -96,12 +96,12 @@ X X install: X # Don't install any parts of libcyrus from the IMSP collection! X-# $(srcdir)/../install-sh -d $(DESTDIR)$(exec_prefix)/lib X-# $(INSTALL) -m 644 libcyrus.a $(DESTDIR)$(exec_prefix)/lib X-# $(RANLIB) $(DESTDIR)$(exec_prefix)/lib/libcyrus.a X+# $(srcdir)/../install-sh -d $(exec_prefix)/lib X+# $(INSTALL) -m 644 libcyrus.a $(exec_prefix)/lib X+# $(RANLIB) $(exec_prefix)/lib/libcyrus.a X # for file in $(HDRS); \ X # do \ X-# $(INSTALL) -m 644 $$file $(DESTDIR)$(prefix)/include/cyrus || exit 1; \ X+# $(INSTALL) -m 644 $$file $(prefix)/include/cyrus || exit 1; \ X # done X X .c.o: END-of-cyrus-imspd/files/patch-aj echo x - cyrus-imspd/files/imspd.sh sed 's/^X//' >cyrus-imspd/files/imspd.sh << 'END-of-cyrus-imspd/files/imspd.sh' X#!/bin/sh X X# Start or stop cyrus-imspd X# $FreeBSD$ X Xcase "$1" in Xstart) X if [ -x /usr/local/sbin/imspd -a \ X -f /var/imsp/options ]; then X /usr/local/sbin/imspd >/dev/null & X echo -n ' imspd' X fi X ;; Xstop) X kill `ps -U root | awk '/imspd$/ {print $1}'` && echo -n ' imspd' X ;; X*) X echo "Usage: `basename $0` {start|stop}" >&2 X ;; Xesac X Xexit 0 END-of-cyrus-imspd/files/imspd.sh echo x - cyrus-imspd/pkg-plist sed 's/^X//' >cyrus-imspd/pkg-plist << 'END-of-cyrus-imspd/pkg-plist' Xetc/rc.d/imspd.sh Xlib/sasl/imspd.conf Xsbin/imspd X%%PORTDOCS%%share/doc/imspd/Setup-instructions X%%PORTDOCS%%share/doc/imspd/option.registry X%%PORTDOCS%%share/doc/imspd/Changes-Todo X%%PORTDOCS%%share/doc/imspd/imsp.implementation X%%PORTDOCS%%share/doc/imspd/imsp.implementation.updates X%%PORTDOCS%%@dirrm share/doc/imspd X@cwd /var Ximsp/options.dist END-of-cyrus-imspd/pkg-plist echo x - cyrus-imspd/pkg-message sed 's/^X//' >cyrus-imspd/pkg-message << 'END-of-cyrus-imspd/pkg-message' X**************************************************************************** X XPrior to using this software, copy the configuration file X/var/imsp/options.dist to /var/imsp/options and modify as required. X X**************************************************************************** END-of-cyrus-imspd/pkg-message echo x - cyrus-imspd/pkg-descr sed 's/^X//' >cyrus-imspd/pkg-descr << 'END-of-cyrus-imspd/pkg-descr' XThe Internet Message Support Protocol (IMSP) is designed to support the Xprovision of mail in a medium to large scale operation. It is intended to Xbe used as a companion to the IMAP4 protocol [IMAP4], providing services Xwhich are either outside the scope of mail access or which pertain to Xenvironments which must run more than one IMAP4 server in the same mail Xdomain. The services that IMSP provides are extended mailbox management, Xconfiguration options, and address books. X XWWW: http://asg.web.cmu.edu/cyrus/ END-of-cyrus-imspd/pkg-descr echo x - cyrus-imspd/pkg-comment sed 's/^X//' >cyrus-imspd/pkg-comment << 'END-of-cyrus-imspd/pkg-comment' XThe cyrus IMSP (Internet Message Support Protocol) server END-of-cyrus-imspd/pkg-comment echo x - cyrus-imspd/distinfo sed 's/^X//' >cyrus-imspd/distinfo << 'END-of-cyrus-imspd/distinfo' XMD5 (cyrus-imspd-v1.6a3.tar.gz) = 224f2d8acf4858fd2ed45613c537a61c END-of-cyrus-imspd/distinfo echo x - cyrus-imspd/Makefile sed 's/^X//' >cyrus-imspd/Makefile << 'END-of-cyrus-imspd/Makefile' X# New ports collection makefile for: cyrus-imspd X# Date created: Jan 4th 2001 X# Whom: damien@tougas.net X# X# $FreeBSD$ X# X XPORTNAME= cyrus-imspd XPORTVERSION= v1.6a3 XCATEGORIES= databases mail XMASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ X ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ X XMAINTAINER= ports@freebsd.org X XLIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl XBUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl X XGNU_CONFIGURE= YES XCONFIGURE_ARGS= --prefix=${PREFIX} \ X --with-sasldir=${LOCALBASE} \ X --with-auth=unix X Xpost-install: X ${INSTALL_SCRIPT} ${FILESDIR}/imspd.sh \ X ${PREFIX}/etc/rc.d/imspd.sh X ${INSTALL_DATA} ${FILESDIR}/imspd.conf \ X ${PREFIX}/lib/sasl/imspd.conf X ${MKDIR} /var/imsp X ${INSTALL_DATA} ${WRKSRC}/imsp/options.sample \ X /var/imsp/options.dist X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/imspd X ${INSTALL_DATA} ${WRKSRC}/notes/Setup-instructions \ X ${PREFIX}/share/doc/imspd X ${INSTALL_DATA} ${WRKSRC}/notes/option.registry \ X ${PREFIX}/share/doc/imspd X ${INSTALL_DATA} ${WRKSRC}/notes/Changes-Todo \ X ${PREFIX}/share/doc/imspd X ${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation \ X ${PREFIX}/share/doc/imspd X ${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation.updates \ X ${PREFIX}/share/doc/imspd X.endif X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-cyrus-imspd/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110040254.f942sb888789>