diff options
-rw-r--r-- | mail/serialmail/DESCR | 21 | ||||
-rw-r--r-- | mail/serialmail/Makefile | 22 | ||||
-rw-r--r-- | mail/serialmail/PLIST | 20 | ||||
-rw-r--r-- | mail/serialmail/distinfo | 6 | ||||
-rw-r--r-- | mail/serialmail/patches/patch-aa | 47 |
5 files changed, 116 insertions, 0 deletions
diff --git a/mail/serialmail/DESCR b/mail/serialmail/DESCR new file mode 100644 index 00000000000..ac02f00607b --- /dev/null +++ b/mail/serialmail/DESCR @@ -0,0 +1,21 @@ +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 is designed to handle three common types of mail delivery +between a dialup computer and an ISP: + +* Delivery to the ISP. The dialup computer sends all outgoing mail + to the ISP. + +* AutoTURN delivery from the ISP. After the dialup computer makes + an SMTP connection to the ISP, it automatically receives an + SMTP connection back from the ISP if there is any new mail for + it. This provides the same power as ETRN but does not require + a special client. + +* User-controlled delivery from the ISP. A user with a shell account + can switch from qmail-pop3d to serialmail without pestering the + sysadmin. The user can also decide whether undeliverable messages + should be left for POP retrieval or bounced back to the sender. diff --git a/mail/serialmail/Makefile b/mail/serialmail/Makefile new file mode 100644 index 00000000000..8e32ffd4294 --- /dev/null +++ b/mail/serialmail/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/21 01:00:29 schmonz Exp $ +# + +DISTNAME= serialmail-0.75 +CATEGORIES= mail +MASTER_SITES= http://cr.yp.to/software/ + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://cr.yp.to/serialmail.html +COMMENT= Tools for passing mail across serial links + +DEPENDS+= qmail>=1.03nb7:../../mail/qmail + +# We change conf-home from the default "/usr/local" and don't +# provide compatibility symlinks. We also patch to install docs +# following hier(7), to set reasonable permissions on standard +# pkgsrc directories, and to avoid overwriting the "setlock" binary +# provided by sysutils/daemontools. +DJB_RESTRICTED= YES + +.include "../../mk/djbware.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/serialmail/PLIST b/mail/serialmail/PLIST new file mode 100644 index 00000000000..c09897ee633 --- /dev/null +++ b/mail/serialmail/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/21 01:00:29 schmonz Exp $ +bin/maildirqmtp +bin/maildirserial +bin/maildirsmtp +bin/serialqmtp +bin/serialsmtp +man/cat1/maildirqmtp.0 +man/cat1/maildirserial.0 +man/cat1/maildirsmtp.0 +man/cat1/serialqmtp.0 +man/cat1/serialsmtp.0 +man/man1/maildirqmtp.1 +man/man1/maildirserial.1 +man/man1/maildirsmtp.1 +man/man1/serialqmtp.1 +man/man1/serialsmtp.1 +share/doc/serialmail/AUTOTURN +share/doc/serialmail/FROMISP +share/doc/serialmail/TOISP +@dirrm share/doc/serialmail diff --git a/mail/serialmail/distinfo b/mail/serialmail/distinfo new file mode 100644 index 00000000000..22b1154265c --- /dev/null +++ b/mail/serialmail/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/21 01:00:29 schmonz Exp $ + +SHA1 (serialmail-0.75.tar.gz) = 76f8d5ae698cff25b3227e51cc99fff1f4a8b137 +RMD160 (serialmail-0.75.tar.gz) = 2d12152b9c7d007f76b4d129c2795cd192ba9f83 +Size (serialmail-0.75.tar.gz) = 55079 bytes +SHA1 (patch-aa) = 0ccbe27149addddcd839ed71cc07b68d7473100b diff --git a/mail/serialmail/patches/patch-aa b/mail/serialmail/patches/patch-aa new file mode 100644 index 00000000000..95a2a6916b4 --- /dev/null +++ b/mail/serialmail/patches/patch-aa @@ -0,0 +1,47 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/04/21 01:00:29 schmonz Exp $ + +--- hier.c.orig 1998-11-14 21:28:23.000000000 -0500 ++++ hier.c +@@ -2,21 +2,20 @@ + + void hier() + { +- h(auto_home,-1,-1,02755); ++ h(auto_home,-1,-1,0755); + +- d(auto_home,"bin",-1,-1,02755); +- d(auto_home,"doc",-1,-1,02755); +- d(auto_home,"doc/serialmail",-1,-1,02755); +- d(auto_home,"man",-1,-1,02755); +- d(auto_home,"man/man1",-1,-1,02755); +- d(auto_home,"man/cat1",-1,-1,02755); ++ d(auto_home,"bin",-1,-1,0755); ++ d(auto_home,"share/doc",-1,-1,0755); ++ d(auto_home,"share/doc/serialmail",-1,-1,0755); ++ d(auto_home,"man",-1,-1,0755); ++ d(auto_home,"man/man1",-1,-1,0755); ++ d(auto_home,"man/cat1",-1,-1,0755); + + c(auto_home,"bin","serialqmtp",-1,-1,0755); + c(auto_home,"bin","serialsmtp",-1,-1,0755); + c(auto_home,"bin","maildirqmtp",-1,-1,0755); + c(auto_home,"bin","maildirsmtp",-1,-1,0755); + c(auto_home,"bin","maildirserial",-1,-1,0755); +- c(auto_home,"bin","setlock",-1,-1,0755); + + c(auto_home,"man/man1","serialqmtp.1",-1,-1,0644); + c(auto_home,"man/cat1","serialqmtp.0",-1,-1,0644); +@@ -28,10 +27,8 @@ void hier() + c(auto_home,"man/cat1","maildirsmtp.0",-1,-1,0644); + c(auto_home,"man/man1","maildirserial.1",-1,-1,0644); + c(auto_home,"man/cat1","maildirserial.0",-1,-1,0644); +- c(auto_home,"man/man1","setlock.1",-1,-1,0644); +- c(auto_home,"man/cat1","setlock.0",-1,-1,0644); + +- c(auto_home,"doc/serialmail","FROMISP",-1,-1,0644); +- c(auto_home,"doc/serialmail","TOISP",-1,-1,0644); +- c(auto_home,"doc/serialmail","AUTOTURN",-1,-1,0644); ++ c(auto_home,"share/doc/serialmail","FROMISP",-1,-1,0644); ++ c(auto_home,"share/doc/serialmail","TOISP",-1,-1,0644); ++ c(auto_home,"share/doc/serialmail","AUTOTURN",-1,-1,0644); + } |