summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authortv <tv>1998-07-19 15:23:51 +0000
committertv <tv>1998-07-19 15:23:51 +0000
commit3bc4b84dcfb93a0e25912112ec900b6df01f3f22 (patch)
tree05ce1b381ef40077784694d220ab05794652c19f /mail/imap-uw
parentc9a187eb7584991855c6a436e2f875d55be1aded (diff)
downloadpkgsrc-3bc4b84dcfb93a0e25912112ec900b6df01f3f22.tar.gz
Addition of University of Washington IMAP4 reference implementation
including POP2 and POP3 servers.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile36
-rw-r--r--mail/imap-uw/files/md51
-rw-r--r--mail/imap-uw/patches/patch-aa11
-rw-r--r--mail/imap-uw/patches/patch-ab11
-rw-r--r--mail/imap-uw/patches/patch-ac11
-rw-r--r--mail/imap-uw/patches/patch-ad11
-rw-r--r--mail/imap-uw/patches/patch-ae35
-rw-r--r--mail/imap-uw/patches/patch-af11
-rw-r--r--mail/imap-uw/patches/patch-ag14
-rw-r--r--mail/imap-uw/pkg/COMMENT1
-rw-r--r--mail/imap-uw/pkg/DESCR6
-rw-r--r--mail/imap-uw/pkg/PLIST10
12 files changed, 158 insertions, 0 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
new file mode 100644
index 00000000000..a4593ce9ce9
--- /dev/null
+++ b/mail/imap-uw/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 1998/07/19 15:23:51 tv Exp $
+#
+
+DISTNAME= imap-4.1.FINAL
+PKGNAME= imap-uw-4.1
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= tv@netbsd.org
+
+BUILD_DEPENDS= ${PREFIX}/bin/libtool:../../devel/libtool
+
+INST_PROG= ${PREFIX}/bin/libtool --mode=install ${INSTALL_PROGRAM}
+INST_LIB= ${PREFIX}/bin/libtool --mode=install ${INSTALL_DATA}
+
+do-configure:
+ @${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/src/imapd/imapd.8c >${WRKSRC}/imapd.8
+ @${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/src/ipopd/ipopd.8c >${WRKSRC}/ipopd.8
+
+do-build:
+ cd ${WRKSRC} && ${MAKE} neb PREFIX=${PREFIX} CC="${PREFIX}/bin/libtool ${CC}"
+
+do-install:
+ ${INST_LIB} ${WRKSRC}/c-client/libimapuw.la ${PREFIX}/lib/
+ @${RM} -f ${PREFIX}/lib/libimapuw.a
+ ${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec/
+ ${INST_PROG} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec/
+ ${INST_PROG} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec/
+ ${INST_PROG} ${WRKSRC}/mtest/mtest ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/imapd.8 ${PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/ipopd.8 ${PREFIX}/man/man8/
+ ${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop2d.8
+ ${LN} -sf ipopd.8 ${PREFIX}/man/man8/ipop3d.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/imap-uw/files/md5 b/mail/imap-uw/files/md5
new file mode 100644
index 00000000000..29f839c4dae
--- /dev/null
+++ b/mail/imap-uw/files/md5
@@ -0,0 +1 @@
+MD5 (imap-4.1.FINAL.tar.Z) = abb8ff76cda660857ca24da68387d42f
diff --git a/mail/imap-uw/patches/patch-aa b/mail/imap-uw/patches/patch-aa
new file mode 100644
index 00000000000..2b689a2f71a
--- /dev/null
+++ b/mail/imap-uw/patches/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.orig Sun Jul 19 10:52:40 1998
++++ Makefile Sun Jul 19 10:53:08 1998
+@@ -260,7 +260,7 @@
+ OSTYPE:
+ @echo Building c-client for $(OS)...
+ $(CD) c-client;$(MAKE) $(OS) BUILDOPTIONS='$(BUILDOPTIONS)' \
+- EXTRASPECIALS="$(EXTRASPECIALS)"
++ EXTRASPECIALS="$(EXTRASPECIALS)" PREFIX=$(PREFIX) CC="$(CC)"
+ echo $(OS) > OSTYPE
+ $(TOUCH) rebuild
+
diff --git a/mail/imap-uw/patches/patch-ab b/mail/imap-uw/patches/patch-ab
new file mode 100644
index 00000000000..fe6ce77f101
--- /dev/null
+++ b/mail/imap-uw/patches/patch-ab
@@ -0,0 +1,11 @@
+--- src/imapd/Makefile.orig Sun Jul 19 10:53:16 1998
++++ src/imapd/Makefile Sun Jul 19 10:53:31 1998
+@@ -51,7 +51,7 @@
+ # Get local definitions from c-client directory
+
+ C = ../c-client
+-CCLIENTLIB = $C/c-client.a
++CCLIENTLIB = $C/libimapuw.la
+ CC = `cat $C/CCTYPE`
+ CFLAGS = -I$C `cat $C/CFLAGS` -DALERTFILE=\"$(ALERT)\" -DANOFILE=\"$(ANO)\" \
+ $(EXTRACFLAGS)
diff --git a/mail/imap-uw/patches/patch-ac b/mail/imap-uw/patches/patch-ac
new file mode 100644
index 00000000000..870cc97a2fc
--- /dev/null
+++ b/mail/imap-uw/patches/patch-ac
@@ -0,0 +1,11 @@
+--- src/ipopd/Makefile.orig Sun Jul 19 10:53:35 1998
++++ src/ipopd/Makefile Sun Jul 19 10:53:43 1998
+@@ -32,7 +32,7 @@
+
+
+ C = ../c-client
+-CCLIENTLIB = $C/c-client.a
++CCLIENTLIB = $C/libimapuw.la
+ SHELL = /bin/sh
+
+ # Get local definitions from c-client directory
diff --git a/mail/imap-uw/patches/patch-ad b/mail/imap-uw/patches/patch-ad
new file mode 100644
index 00000000000..57cd586c4f0
--- /dev/null
+++ b/mail/imap-uw/patches/patch-ad
@@ -0,0 +1,11 @@
+--- src/mtest/Makefile.orig Sun Jul 19 10:53:47 1998
++++ src/mtest/Makefile Sun Jul 19 10:53:56 1998
+@@ -32,7 +32,7 @@
+
+
+ C = ../c-client
+-CCLIENTLIB = $C/c-client.a
++CCLIENTLIB = $C/libimapuw.la
+ SHELL = /bin/sh
+
+ # Get local definitions from c-client directory
diff --git a/mail/imap-uw/patches/patch-ae b/mail/imap-uw/patches/patch-ae
new file mode 100644
index 00000000000..492885dd2c1
--- /dev/null
+++ b/mail/imap-uw/patches/patch-ae
@@ -0,0 +1,35 @@
+--- src/osdep/unix/Makefile.orig Sun Jul 19 10:54:07 1998
++++ src/osdep/unix/Makefile Sun Jul 19 10:55:28 1998
+@@ -88,7 +88,7 @@
+
+ # Normally no need to change any of these
+
+-ARCHIVE=c-client.a
++ARCHIVE=libimapuw.la
+ BINARIES=mail.o misc.o newsrc.o smanager.o osdep.o utf8.o siglocal.o \
+ dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
+ rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
+@@ -341,10 +341,11 @@
+
+ neb: # NetBSD
+ $(BUILD) OS=bsi \
++ CC="$(CC)" \
+ SPOOLDIR=/var \
+ ACTIVEFILE=/var/db/news/active \
+ RSHPATH=/usr/bin/rsh \
+- BASECFLAGS="-g -O -pipe -DNFSKLUDGE" \
++ BASECFLAGS="-O -pipe -DNFSKLUDGE" \
+ BASELDFLAGS="-lcrypt"
+
+ nxt: # NEXTSTEP
+@@ -561,8 +562,8 @@
+
+ $(ARCHIVE): $(BINARIES)
+ $(RM) $(ARCHIVE) || true
+- @cat ARCHIVE
+- @$(SH) ARCHIVE
++ $(CC) -o $(ARCHIVE) $(BINARIES:.o=.lo) -rpath $(PREFIX)/lib \
++ -version-info 0:0
+
+ # Cleanup
+
diff --git a/mail/imap-uw/patches/patch-af b/mail/imap-uw/patches/patch-af
new file mode 100644
index 00000000000..7502431577a
--- /dev/null
+++ b/mail/imap-uw/patches/patch-af
@@ -0,0 +1,11 @@
+--- src/imapd/imapd.8c.orig Sun Jul 19 11:09:19 1998
++++ src/imapd/imapd.8c Sun Jul 19 11:09:44 1998
+@@ -3,7 +3,7 @@
+ .SH NAME
+ IMAPd \- Internet Message Access Protocol server
+ .SH SYNOPSIS
+-.B /usr/etc/imapd
++.B @PREFIX@/libexec/imapd
+ .SH DESCRIPTION
+ .I imapd
+ is a server which supports the
diff --git a/mail/imap-uw/patches/patch-ag b/mail/imap-uw/patches/patch-ag
new file mode 100644
index 00000000000..cee2188262a
--- /dev/null
+++ b/mail/imap-uw/patches/patch-ag
@@ -0,0 +1,14 @@
+--- src/ipopd/ipopd.8c.orig Sun Jul 19 11:09:53 1998
++++ src/ipopd/ipopd.8c Sun Jul 19 11:10:15 1998
+@@ -3,9 +3,9 @@
+ .SH NAME
+ IPOPd \- Post Office Protocol server
+ .SH SYNOPSIS
+-.B /usr/etc/ipop2d
++.B @PREFIX@/libexec/ipop2d
+ .PP
+-.B /usr/etc/ipop3d
++.B @PREFIX@/libexec/ipop3d
+ .SH DESCRIPTION
+ .I IPOP2d
+ and
diff --git a/mail/imap-uw/pkg/COMMENT b/mail/imap-uw/pkg/COMMENT
new file mode 100644
index 00000000000..9e45c53c42e
--- /dev/null
+++ b/mail/imap-uw/pkg/COMMENT
@@ -0,0 +1 @@
+University of Washington's IMAP, POP2, and POP3 server
diff --git a/mail/imap-uw/pkg/DESCR b/mail/imap-uw/pkg/DESCR
new file mode 100644
index 00000000000..396c4441c81
--- /dev/null
+++ b/mail/imap-uw/pkg/DESCR
@@ -0,0 +1,6 @@
+The UW imapd is the reference implementation of the IMAP4 protocol for
+interactive remote retrieval of mail and storage of mail folders. Also
+included are POP2 and POP3 servers and an IMAP protocol tester (mtest).
+
+The Pine mail program includes an IMAP4 client driver, as does Netscape
+version 4 and above.
diff --git a/mail/imap-uw/pkg/PLIST b/mail/imap-uw/pkg/PLIST
new file mode 100644
index 00000000000..676a59e79cd
--- /dev/null
+++ b/mail/imap-uw/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 1998/07/19 15:23:52 tv Exp $
+lib/libimapuw.so.0.0
+libexec/imapd
+libexec/ipop2d
+libexec/ipop3d
+man/man8/imapd.8
+man/man8/ipopd.8
+man/man8/ipop2d.8
+man/man8/ipop3d.8
+sbin/mtest