summaryrefslogtreecommitdiff
path: root/mail/maildrop
diff options
context:
space:
mode:
authorrh <rh>2000-10-23 13:34:58 +0000
committerrh <rh>2000-10-23 13:34:58 +0000
commit65f39f85037f3b2e968a3d5e35ca9f42266bbe2e (patch)
tree05713d3dcd42e8cc2ea867d4a0dfd4a40085c8ad /mail/maildrop
parent3c66dbf63e41b5b4584e0c2eefa4af090af81b0b (diff)
downloadpkgsrc-65f39f85037f3b2e968a3d5e35ca9f42266bbe2e.tar.gz
Initial import of maildrop-1.2.2, a mail delivery agent with filtering
abilities
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile18
-rw-r--r--mail/maildrop/files/md53
-rw-r--r--mail/maildrop/files/patch-sum3
-rw-r--r--mail/maildrop/patches/patch-aa24
-rw-r--r--mail/maildrop/pkg/COMMENT1
-rw-r--r--mail/maildrop/pkg/DESCR22
-rw-r--r--mail/maildrop/pkg/PLIST31
7 files changed, 102 insertions, 0 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
new file mode 100644
index 00000000000..f166ea979b1
--- /dev/null
+++ b/mail/maildrop/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/23 13:34:58 rh Exp $
+#
+
+DISTNAME= maildrop-1.2.2
+CATEGORIES= mail
+MASTER_SITES= http://download.sourceforge.net/courier/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.flounder.net/~mrsam/maildrop/
+
+.if make(install-run-depends) # only needed for building
+USE_PERL5= YES
+.endif
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--with-db=db
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/maildrop/files/md5 b/mail/maildrop/files/md5
new file mode 100644
index 00000000000..134ef781db7
--- /dev/null
+++ b/mail/maildrop/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/23 13:34:58 rh Exp $
+
+MD5 (maildrop-1.2.2.tar.gz) = 92399244e03694bbbe1dd75fe4b9a204
diff --git a/mail/maildrop/files/patch-sum b/mail/maildrop/files/patch-sum
new file mode 100644
index 00000000000..d53a9d97cbc
--- /dev/null
+++ b/mail/maildrop/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/23 13:34:58 rh Exp $
+
+MD5 (patch-aa) = 61d0aa1db3f3025a961144646660214a
diff --git a/mail/maildrop/patches/patch-aa b/mail/maildrop/patches/patch-aa
new file mode 100644
index 00000000000..b385d077cab
--- /dev/null
+++ b/mail/maildrop/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/23 13:34:58 rh Exp $
+
+--- Makefile.in.orig Mon Oct 23 04:46:11 2000
++++ Makefile.in
+@@ -39,7 +39,7 @@
+
+ DESTDIR =
+
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(datadir)/doc/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+
+@@ -798,8 +798,8 @@
+ $(INSTALL_PROGRAM) maildir/maildirmake $(DESTDIR)$(bindir)/$$f
+ $(INSTALL_PROGRAM) rfc2045/reformime $(DESTDIR)$(bindir)/reformime
+ $(INSTALL_PROGRAM) rfc2045/makemime $(DESTDIR)$(bindir)/makemime
+- . maildrop/uidgid ; test -z "$$gid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop dotlock
+- . maildrop/uidgid ; test -z "$$uid" && exit 0; test -w /etc || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 6755 maildrop dotlock
++ . maildrop/uidgid ; test -z "$$gid" || exit 0; cd $(DESTDIR)$(bindir) && chgrp $$gid maildrop dotlock
++ . maildrop/uidgid ; test -z "$$uid" || exit 0; cd $(DESTDIR)$(bindir) && chown $$uid maildrop dotlock && chmod 6755 maildrop dotlock
+
+ uninstall-maildrop:
+ for f in maildrop maildirmake reformail dotlock makemime reformime ; do \
diff --git a/mail/maildrop/pkg/COMMENT b/mail/maildrop/pkg/COMMENT
new file mode 100644
index 00000000000..4edbb8d055b
--- /dev/null
+++ b/mail/maildrop/pkg/COMMENT
@@ -0,0 +1 @@
+mail delivery agent with filtering abilities
diff --git a/mail/maildrop/pkg/DESCR b/mail/maildrop/pkg/DESCR
new file mode 100644
index 00000000000..c2f4db0f6fc
--- /dev/null
+++ b/mail/maildrop/pkg/DESCR
@@ -0,0 +1,22 @@
+ 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 will optionally read instructions from a file, which describes
+how to filter incoming mail. Instructions can be provided having mail
+delivered to alternate mailboxes, or forwarded somewhere else. Unlike
+procmail, maildrop uses a structured filtering language.
+
+ 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 the
+temporary file. Temporary files are saved in the user's home directory.
+If the standard input to maildrop is a file, and not a pipe, a temporary
+file will not be necessary.
+
+ maildrop checks the syntax of the mail delivery instructions the filter
+file, before attempting to deliver a message. Unlike procmail, if the filter
+file contains syntax errors, maildrop terminates without delivering the
+message. The user can fix the typo without causing any mail to be lost.
diff --git a/mail/maildrop/pkg/PLIST b/mail/maildrop/pkg/PLIST
new file mode 100644
index 00000000000..13501a08b71
--- /dev/null
+++ b/mail/maildrop/pkg/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/23 13:34:58 rh Exp $
+bin/dotlock
+bin/maildirmake
+bin/maildrop
+bin/makemime
+bin/reformail
+bin/reformime
+man/man1/dotlock.1
+man/man1/maildirmake.1
+man/man1/maildrop.1
+man/man1/makemime.1
+man/man1/reformail.1
+man/man1/reformime.1
+man/man5/maildropex.5
+man/man5/maildropfilter.5
+man/man5/maildropgdbm.5
+man/man8/deliverquota.8
+man/man8/maildirquota.8
+share/doc/maildrop/html/dotlock.html
+share/doc/maildrop/html/maildirmake.html
+share/doc/maildrop/html/maildrop.html
+share/doc/maildrop/html/maildropex.html
+share/doc/maildrop/html/maildropfilter.html
+share/doc/maildrop/html/maildropgdbm.html
+share/doc/maildrop/html/makemime.html
+share/doc/maildrop/html/reformail.html
+share/doc/maildrop/html/reformime.html
+share/doc/maildrop/html/rfc2045.html
+share/doc/maildrop/html/rfc822.html
+@dirrm share/doc/maildrop/html
+@dirrm share/doc/maildrop