summaryrefslogtreecommitdiff
path: root/mail/smtpfeed
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-01-30 04:53:55 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-01-30 04:53:55 +0000
commitdcc56fb616d44c3f5b4b715c4aacf1aac035457c (patch)
treec1e25580c4d248bb73bff9616308c7f7e03b4d01 /mail/smtpfeed
parentrblcheck, command-line interface to MAPS RBL spam filter database. (diff)
smtpfeed, an accelerator for sendmail SMTP session.
Notes
Notes: svn path=/head/; revision=9522
Diffstat (limited to 'mail/smtpfeed')
-rw-r--r--mail/smtpfeed/Makefile61
-rw-r--r--mail/smtpfeed/distinfo3
-rw-r--r--mail/smtpfeed/files/patch-aa10
-rw-r--r--mail/smtpfeed/pkg-comment1
-rw-r--r--mail/smtpfeed/pkg-descr17
-rw-r--r--mail/smtpfeed/pkg-message18
-rw-r--r--mail/smtpfeed/pkg-plist15
7 files changed, 125 insertions, 0 deletions
diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile
new file mode 100644
index 000000000000..d3d0be797c85
--- /dev/null
+++ b/mail/smtpfeed/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: smtpfeed
+# Version required: 0.53
+# Date created: 17 January 1998
+# Whom: itojun@itojun.org
+#
+# $Id$
+#
+
+DISTNAME= smtpfeed-0.53
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/ \
+ ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ \
+ ftp://ftp.sendmail.org/ucb/src/sendmail/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} \
+ ${SENDMAILPATCH}.patch.gz
+
+MAINTAINER= itojun@itojun.org
+
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX}
+PATCH_SENDMAIL_ARGS= -d ${WRKSRC_SENDMAIL} -E ${PATCH_DIST_STRIP}
+NO_PACKAGE= "complex configuration for sendmail.cf needed"
+
+SENDMAIL= sendmail.8.8.8
+SENDMAILDIR= sendmail-8.8.8
+SENDMAILPATCH= sendmail888+3.0Wb11
+WRKSRC_SMTPFEED= ${WRKSRC}
+WRKSRC_SENDMAIL= ${WRKDIR}/${SENDMAILDIR}/src
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec
+# use bind8?
+#CONFIGURE_ARGS+= --with-bind8
+
+DOCS= COPYRIGHT FYI FYI.j INSTALL INSTALL.j OPTIONS OPTIONS.j \
+ README README.j RELEASE.NOTE SIGNAL SIGNAL.j TODO
+DOCDIR= ${PREFIX}/share/doc/smtpfeed
+
+post-patch:
+ @${ECHO_MSG} "===> Applying smtpfeed patch ${SENDMAILPATCH} to ${SENDMAIL}"
+ @(cd ${_DISTDIR}; for i in ${SENDMAILPATCH}.patch.gz; do \
+ ${GZCAT} $$i | ${PATCH} ${PATCH_SENDMAIL_ARGS}; \
+ done)
+ @(cd ${WRKSRC_SENDMAIL}; sh Patch-makefiles)
+
+post-build:
+ @${ECHO_MSG} "===> Building patched ${SENDMAIL}"
+ @(cd ${WRKSRC_SENDMAIL}; sh makesendmail)
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ for i in ${DOCS}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
+ done
+.endif
+ @${SED} -e 's#/usr/local#${PREFIX}#' ${PKGDIR}/MESSAGE
+
+install-sendmail:
+ (cd ${WRKSRC_SENDMAIL}; sh makesendmail install)
+
+.include <bsd.port.mk>
diff --git a/mail/smtpfeed/distinfo b/mail/smtpfeed/distinfo
new file mode 100644
index 000000000000..919dc2747764
--- /dev/null
+++ b/mail/smtpfeed/distinfo
@@ -0,0 +1,3 @@
+MD5 (smtpfeed-0.53.tar.gz) = 0d846f9e69c3fc67275dcaee31b13824
+MD5 (sendmail.8.8.8.tar.gz) = 692422857393566a0a6724ab995da66b
+MD5 (sendmail888+3.0Wb11.patch.gz) = 9d99dcca90cdd51f9a8ac0d5db607188
diff --git a/mail/smtpfeed/files/patch-aa b/mail/smtpfeed/files/patch-aa
new file mode 100644
index 000000000000..007e39e70a65
--- /dev/null
+++ b/mail/smtpfeed/files/patch-aa
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Sun Jan 18 23:02:21 1998
++++ Makefile.in Sun Jan 18 23:02:34 1998
+@@ -70,7 +70,6 @@
+ ${RM} -f ${OBJS} ${OBJADDS} ${TARGET} res_send.c
+
+ install:
+- -mv -f ${DEST}/${TARGET} ${DEST}/${TARGET}.old
+ ${INSTALL} ${TARGET} ${DEST}
+
+ gcc2-lint:
diff --git a/mail/smtpfeed/pkg-comment b/mail/smtpfeed/pkg-comment
new file mode 100644
index 000000000000..a30f9c546bed
--- /dev/null
+++ b/mail/smtpfeed/pkg-comment
@@ -0,0 +1 @@
+SMTP Fast Exploding External Deliverer for Sendmail
diff --git a/mail/smtpfeed/pkg-descr b/mail/smtpfeed/pkg-descr
new file mode 100644
index 000000000000..d2e0af3c32e9
--- /dev/null
+++ b/mail/smtpfeed/pkg-descr
@@ -0,0 +1,17 @@
+SMTP feed -- SMTP Fast Exploding External Deliverer for Sendmail
+
+Smtpfeed is a SMTP delivery agent which is called by sendmail, and it
+improves required time to complete delivery of copies of a message to
+recipients of huge number.
+
+This delay of delivery by sendmail causes by the fact that implementation
+of SMTP delivery routine in sendmail processes all delivery in a series.
+By this reason, when it takes long time for delivery to one recipient
+which is in a huge list, delivery to following recipients is greatly
+influenced.
+
+To avoid such a problem, delivery agents should be implemented so that
+a delivery is not influenced by preceding delivery: DNS query and
+SMTP delivery par destination should be processed in parallel.
+Smtpfeed is the SMTP delivery agent for sendmail implemented with this
+idea.
diff --git a/mail/smtpfeed/pkg-message b/mail/smtpfeed/pkg-message
new file mode 100644
index 000000000000..c728f8e81b3e
--- /dev/null
+++ b/mail/smtpfeed/pkg-message
@@ -0,0 +1,18 @@
+**************************************************************
+smtpfeed is installed into /usr/local/libexec/smtpfeed.
+You'll need to perform 3 steps, (a) to (c), to make smtpfeed
+work:
+ (a) replace /etc/sendmail.cf
+ (b) replace sendmail with the patched sendmail
+ (c) setting up /etc/syslog.conf
+
+(a) depends on what kind of configuration tool you are using
+with sendmail.cf. Read through documentation in
+/usr/local/share/doc/smtpfeed for details.
+(b) can be done by performing "make install-sendmail" in the
+port directory.
+WARNING: Existing sendmail will be overwritten right away!
+Backup by yourself for safety.
+(c) is the easiest of the three items; see file named INSTALL
+in /usr/local/share/doc/smtpfeed.
+**************************************************************
diff --git a/mail/smtpfeed/pkg-plist b/mail/smtpfeed/pkg-plist
new file mode 100644
index 000000000000..56d38da91c30
--- /dev/null
+++ b/mail/smtpfeed/pkg-plist
@@ -0,0 +1,15 @@
+libexec/smtpfeed
+share/doc/smtpfeed/COPYRIGHT
+share/doc/smtpfeed/FYI
+share/doc/smtpfeed/FYI.j
+share/doc/smtpfeed/INSTALL
+share/doc/smtpfeed/INSTALL.j
+share/doc/smtpfeed/OPTIONS
+share/doc/smtpfeed/OPTIONS.j
+share/doc/smtpfeed/README
+share/doc/smtpfeed/README.j
+share/doc/smtpfeed/RELEASE.NOTE
+share/doc/smtpfeed/SIGNAL
+share/doc/smtpfeed/SIGNAL.j
+share/doc/smtpfeed/TODO
+@dirrm share/doc/smtpfeed