summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-02 19:55:05 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-02 19:55:05 +0000
commit8e058493fca8aad5172de5c097fe87d17c67de29 (patch)
treed3bdf244545599812e6ebcc13ebaf123cb80af7b /mail
parentUpdate to version 1.40. (diff)
Initial import of serialmail version 0.75.
Tools for passing mail across serial links. PR: 8564 Submitted by: Tom Hukins <tom@eborcom.com>
Notes
Notes: svn path=/head/; revision=15784
Diffstat (limited to 'mail')
-rw-r--r--mail/serialmail/Makefile57
-rw-r--r--mail/serialmail/distinfo1
-rw-r--r--mail/serialmail/files/patch-aa11
-rw-r--r--mail/serialmail/pkg-comment1
-rw-r--r--mail/serialmail/pkg-descr16
-rw-r--r--mail/serialmail/pkg-plist10
-rw-r--r--mail/serialmail/pkg-plist.nodocs6
7 files changed, 102 insertions, 0 deletions
diff --git a/mail/serialmail/Makefile b/mail/serialmail/Makefile
new file mode 100644
index 000000000000..aa5da69c4163
--- /dev/null
+++ b/mail/serialmail/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: serialmail
+# Version required: 0.75
+# Date created: 2 November 1998
+# Whom: Tom Hukins <tom@eborcom.com>
+#
+# $Id$
+#
+
+DISTNAME= serialmail-0.75
+CATEGORIES= mail
+MASTER_SITES= ftp://koobera.math.uic.edu/pub/software/
+
+MAINTAINER= tom@eborcom.com
+
+MAN1= maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1
+
+.if defined(NOPORTDOCS)
+PLIST= ${PKGDIR}/PLIST.nodocs
+.endif
+
+# QMAIL_DIR is the directory where qmail is installed
+.if !defined(QMAIL_DIR)
+QMAIL_DIR= /var/qmail
+.endif
+
+RUN_DEPENDS= ${PREFIX}/bin/tcpserver:${PORTSDIR}/sysutils/ucspi-tcp \
+ ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+
+NO_PACKAGE= Unsure of djb's license
+
+ALL_TARGET= it
+
+post-configure:
+ @${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+ @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ @${ECHO} ${CC} -s > ${WRKSRC}/conf-ld
+ @${ECHO} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
+
+do-install:
+.for file in serialqmtp serialsmtp maildirserial setlock
+ @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+.for file in maildirqmtp maildirsmtp
+ @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+.for file in maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1
+ @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
+.endfor
+.if !defined(NOPORTDOCS)
+ @${ECHO} "===> Copying documents to ${PREFIX}/share/doc/serialmail"
+ @${MKDIR} ${PREFIX}/share/doc/serialmail
+.for file in FROMISP TOISP AUTOTURN
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/serialmail
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/serialmail/distinfo b/mail/serialmail/distinfo
new file mode 100644
index 000000000000..2f1cb39ee90d
--- /dev/null
+++ b/mail/serialmail/distinfo
@@ -0,0 +1 @@
+MD5 (serialmail-0.75.tar.gz) = e6a3049863ae8577b1780fcd9fbc98a9
diff --git a/mail/serialmail/files/patch-aa b/mail/serialmail/files/patch-aa
new file mode 100644
index 000000000000..9f0f32f9337b
--- /dev/null
+++ b/mail/serialmail/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.orig Sun Nov 15 02:28:23 1998
++++ Makefile Tue Dec 29 15:31:42 1998
+@@ -260,7 +260,7 @@
+ ./compile instcheck.c
+
+ it: \
+-man prog install instcheck
++prog install instcheck
+
+ leapsecs.0: \
+ leapsecs.3
diff --git a/mail/serialmail/pkg-comment b/mail/serialmail/pkg-comment
new file mode 100644
index 000000000000..4a034a120b98
--- /dev/null
+++ b/mail/serialmail/pkg-comment
@@ -0,0 +1 @@
+Tools for passing mail across serial links.
diff --git a/mail/serialmail/pkg-descr b/mail/serialmail/pkg-descr
new file mode 100644
index 000000000000..f68386617c8a
--- /dev/null
+++ b/mail/serialmail/pkg-descr
@@ -0,0 +1,16 @@
+serialmail is a collection of tools for passing mail across serial
+links. It works with qmail: you use qmail to deliver messages to a
+maildir, and then serialmail to deliver messages out of the maildir.
+
+serialmail uses ucspi-tcp/tcpclient for networking. It can also be used
+with future UCSPI clients for transparent compression, IPv6, etc.
+
+serialmail supports SMTP, including ESMTP PIPELINING, and QMTP.
+
+serialmail is under user control. A user delivering messages to a
+maildir, and picking up the messages through qmail-pop3d, can switch to
+maildirsmtp without pestering the sysadmin. The user can also decide
+whether undeliverable messages should be left for POP retrieval or
+bounced back to the sender.
+
+http://pobox.com/~djb/serialmail.html
diff --git a/mail/serialmail/pkg-plist b/mail/serialmail/pkg-plist
new file mode 100644
index 000000000000..089b67c8a912
--- /dev/null
+++ b/mail/serialmail/pkg-plist
@@ -0,0 +1,10 @@
+bin/maildirqmtp
+bin/maildirserial
+bin/maildirsmtp
+bin/serialqmtp
+bin/serialsmtp
+bin/setlock
+share/doc/serialmail/AUTOTURN
+share/doc/serialmail/FROMISP
+share/doc/serialmail/TOISP
+@dirrm share/doc/serialmail
diff --git a/mail/serialmail/pkg-plist.nodocs b/mail/serialmail/pkg-plist.nodocs
new file mode 100644
index 000000000000..5f8bacf2279d
--- /dev/null
+++ b/mail/serialmail/pkg-plist.nodocs
@@ -0,0 +1,6 @@
+bin/maildirqmtp
+bin/maildirserial
+bin/maildirsmtp
+bin/serialqmtp
+bin/serialsmtp
+bin/setlock