aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/ezmlm/Makefile48
-rw-r--r--mail/ezmlm/distinfo1
-rw-r--r--mail/ezmlm/files/patch-aa11
-rw-r--r--mail/ezmlm/pkg-comment1
-rw-r--r--mail/ezmlm/pkg-descr24
-rw-r--r--mail/ezmlm/pkg-plist10
6 files changed, 95 insertions, 0 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile
new file mode 100644
index 000000000000..ebb7e0b0396c
--- /dev/null
+++ b/mail/ezmlm/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: ezmlm
+# Version required: 0.53
+# Date created: 28 November 1998
+# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
+#
+# $Id$
+#
+
+DISTNAME= ezmlm-0.53
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.id.wustl.edu/pub/patches/
+
+MAINTAINER= ports@freebsd.org
+
+RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+
+ALL_TARGET= it
+INSTALL_TARGET= setup
+
+MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1
+MAN1+= ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1
+MAN1+= ezmlm-warn.1 ezmlm-weed.1
+MAN5= ezmlm.5
+
+DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR
+
+.if exists(${PREFIX}/qmail/bin/qmail-send)
+QMAIL_DIR?= ${PREFIX}/qmail
+.else
+QMAIL_DIR?= /var/qmail
+.endif
+
+post-patch:
+ @perl -pi.bak -e "s|.usr.local.bin.ezmlm|${PREFIX}/bin|" ${WRKSRC}/conf-bin
+ @perl -pi.bak -e "s|.usr.local|${PREFIX}|" ${WRKSRC}/conf-man
+ @perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
+ @perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+ @perl -pi.bak -e '$$_ = "" if /cat/' ${WRKSRC}/MAN
+ @echo ${PREFIX} > ${WRKDIR}/.PPREFIX
+ @echo ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
+
+pre-install:
+ @echo ${PREFIX} > ${WRKDIR}/.IPREFIX
+ @echo ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
+ @diff ${WRKDIR}/.[PI]PREFIX > /dev/null \
+ || (echo ${DIFF_MSG} && exit 1)
+
+.include <bsd.port.mk>
diff --git a/mail/ezmlm/distinfo b/mail/ezmlm/distinfo
new file mode 100644
index 000000000000..195ecf81e42e
--- /dev/null
+++ b/mail/ezmlm/distinfo
@@ -0,0 +1 @@
+MD5 (ezmlm-0.53.tar.gz) = 108c632caaa8cdbfd3041e6c449191b2
diff --git a/mail/ezmlm/files/patch-aa b/mail/ezmlm/files/patch-aa
new file mode 100644
index 000000000000..4dff5c8dc5f1
--- /dev/null
+++ b/mail/ezmlm/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.orig Sat Nov 28 22:34:51 1998
++++ Makefile Sat Nov 28 22:35:12 1998
+@@ -610,7 +610,7 @@
+ ./compile seek_set.c
+
+ setup: \
+-it man install conf-bin conf-man
++it install conf-bin conf-man
+ ./install "`head -1 conf-bin`" < BIN
+ ./install "`head -1 conf-man`" < MAN
+
diff --git a/mail/ezmlm/pkg-comment b/mail/ezmlm/pkg-comment
new file mode 100644
index 000000000000..4cfe6be2677f
--- /dev/null
+++ b/mail/ezmlm/pkg-comment
@@ -0,0 +1 @@
+An easy-to-use, high-speed mailing list manager for qmail.
diff --git a/mail/ezmlm/pkg-descr b/mail/ezmlm/pkg-descr
new file mode 100644
index 000000000000..925d25ac2351
--- /dev/null
+++ b/mail/ezmlm/pkg-descr
@@ -0,0 +1,24 @@
+ezmlm is an easy-to-use, high-speed mailing list manager for qmail.
+
+ezmlm lets users set up their own mailing lists within qmail's address
+hierarchy. A user, Joe, types
+
+ ezmlm-make ~/SOS ~/.qmail-sos joe-sos isp.net
+
+and instantly has a functioning mailing list, joe-sos@isp.net, with all
+relevant information stored in a new ~/SOS directory.
+
+ezmlm takes advantage of qmail's VERPs to reliably determine the
+recipient address and message number for every incoming bounce message.
+It waits ten days and then sends the subscriber a list of message
+numbers that bounced. If that warning bounces, ezmlm sends a probe; if
+the probe bounces, ezmlm automatically removes the subscriber from the list.
+
+ezmlm is reliable, even in the face of system crashes. It writes each
+new subscription and each new message safely to disk before it reports
+success to qmail.
+
+ezmlm doesn't mind huge mailing lists. Lists don't even have to fit into
+memory. ezmlm hashes the subscription list into a set of independent
+files so that it can handle subscription requests quickly. ezmlm uses
+qmail for blazingly fast parallel SMTP deliveries.
diff --git a/mail/ezmlm/pkg-plist b/mail/ezmlm/pkg-plist
new file mode 100644
index 000000000000..1f63ce06e5b9
--- /dev/null
+++ b/mail/ezmlm/pkg-plist
@@ -0,0 +1,10 @@
+bin/ezmlm-make
+bin/ezmlm-manage
+bin/ezmlm-send
+bin/ezmlm-reject
+bin/ezmlm-return
+bin/ezmlm-warn
+bin/ezmlm-weed
+bin/ezmlm-list
+bin/ezmlm-sub
+bin/ezmlm-unsub