summaryrefslogtreecommitdiff
path: root/mail/maildrop
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-12-24 07:27:15 +0000
committerSteve Price <steve@FreeBSD.org>1998-12-24 07:27:15 +0000
commitd424674eb8f880e9e62934df83f59ef37c11e687 (patch)
tree15b50a31c6498fbdd8d76f0ae1f70778396850c1 /mail/maildrop
parentActivate the gtkballs port. (diff)
Initial import of maildrop version 0.60.
A replacement local mail delivery agent, similar to procmail. PR: 8713 Submitted by: Tom Hukins <tom@eborcom.com>
Notes
Notes: svn path=/head/; revision=15571
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile52
-rw-r--r--mail/maildrop/distinfo1
-rw-r--r--mail/maildrop/pkg-comment1
-rw-r--r--mail/maildrop/pkg-descr24
-rw-r--r--mail/maildrop/pkg-plist12
5 files changed, 90 insertions, 0 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
new file mode 100644
index 000000000000..5a58f5b4eaee
--- /dev/null
+++ b/mail/maildrop/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: maildrop
+# Version required: 0.60
+# Date created: 16 November 1998
+# Whom: Tom Hukins <tom@eborcom.com>
+#
+# $Id$
+#
+
+DISTNAME= maildrop-0.60
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= system/mail/mailhandlers
+
+MAINTAINER= tom@eborcom.com
+
+ALL_TARGET= autoconf.h config.h all
+
+# Maildrop will be installed with suid permissions for MAILDROP_SUID,
+# and sgid permissions for MAILDROP_SGID. If undefined, these values
+# default to "root" and "mail" respectively, which should be suitable
+# for most systems.
+#
+.if !defined(MAILDROP_SUID)
+MAILDROP_SUID= root
+.endif
+.if !defined(MAILDROP_SGID)
+MAILDROP_SGID= mail
+.endif
+
+CONFIGURE_ARGS= --enable-syslog=1 \
+ --enable-maildrop-uid="${MAILDROP_SUID}" \
+ --enable-maildrop-gid="${MAILDROP_SGID}"
+CONFIGURE_ENV+= CXX="${CXX}" \
+ CXXFLAGS="${CXXFLAGS}"
+GNU_CONFIGURE= yes
+
+.if defined(NOPORTDOCS)
+PLIST= ${PKGDIR}/PLIST.nodocs
+INSTALL_TARGET= install-exec all
+.else
+MAN1= dotlock.1 maildrop.1 reformail.1
+MAN5= maildropex.5 maildropfilter.5
+MANCOMPRESSED= yes
+.endif
+
+post-patch:
+.for file in README.html maildrop.1 maildrop.html maildropfilter.5 maildropfilter.html main.C recipenode.C
+ @${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.bak
+ @${SED} < ${WRKSRC}/${file}.bak > ${WRKSRC}/${file} s+!!PREFIX!!+${PREFIX}+g
+.endfor
+
+.include <bsd.port.mk>
diff --git a/mail/maildrop/distinfo b/mail/maildrop/distinfo
new file mode 100644
index 000000000000..2ad8835b509f
--- /dev/null
+++ b/mail/maildrop/distinfo
@@ -0,0 +1 @@
+MD5 (maildrop-0.60.tar.gz) = 6751c4978733f4cffbd5336d74a51a70
diff --git a/mail/maildrop/pkg-comment b/mail/maildrop/pkg-comment
new file mode 100644
index 000000000000..cb826637e959
--- /dev/null
+++ b/mail/maildrop/pkg-comment
@@ -0,0 +1 @@
+Replacement local mail delivery agent, similar to procmail.
diff --git a/mail/maildrop/pkg-descr b/mail/maildrop/pkg-descr
new file mode 100644
index 000000000000..052fc9ef202c
--- /dev/null
+++ b/mail/maildrop/pkg-descr
@@ -0,0 +1,24 @@
+maildrop is a replacement for your local mail delivery agent. maildrop
+reads a mail message from standard input, then delivers the message to
+your mailbox. maildrop knows how to deliver mail to mbox-style
+mailboxes, and maildirs. "maildir" is a mailbox format used by the Qmail
+MTA.
+
+maildrop can optionally read instructions from a file on how to filter
+incoming mail, and, based upon the instructions, deliver mail to
+alternate mailboxes, or forward it to somewhere else, like procmail.
+Unlike procmail, maildrop uses a structured filtering language that's a
+bit easier on the eyes.
+
+maildrop is written in C++, and is significantly larger than procmail,
+in compiled form. However, it uses resources much more efficiently.
+Unlike procmail, maildrop will not read a 10 megabyte mail message into
+memory. Large messages are saved in a temporary file, and are filtered
+from that file. Files are saved in the user's home directory. If the
+standard input to maildrop is a file, not a pipe, no temporary file will
+be necessary.
+
+maildrop can be used with sendmail, Qmail, and other MTAs.
+
+
+http://www.geocities.com/SiliconValley/Peaks/5799/maildrop.README.html
diff --git a/mail/maildrop/pkg-plist b/mail/maildrop/pkg-plist
new file mode 100644
index 000000000000..e5115e4407c5
--- /dev/null
+++ b/mail/maildrop/pkg-plist
@@ -0,0 +1,12 @@
+bin/dotlock
+bin/maildirmake
+bin/maildrop
+bin/maildrop.maildirmake
+bin/reformail
+share/doc/maildrop/README.html
+share/doc/maildrop/dotlock.html
+share/doc/maildrop/maildrop.html
+share/doc/maildrop/maildropex.html
+share/doc/maildrop/maildropfilter.html
+share/doc/maildrop/reformail.html
+@dirrm share/doc/maildrop