mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
smtpfeed, an accelerator for sendmail SMTP session.
This commit is contained in:
parent
1067e782c1
commit
dcc56fb616
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9522
7 changed files with 125 additions and 0 deletions
61
mail/smtpfeed/Makefile
Normal file
61
mail/smtpfeed/Makefile
Normal file
|
@ -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>
|
3
mail/smtpfeed/distinfo
Normal file
3
mail/smtpfeed/distinfo
Normal file
|
@ -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
|
10
mail/smtpfeed/files/patch-aa
Normal file
10
mail/smtpfeed/files/patch-aa
Normal file
|
@ -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:
|
1
mail/smtpfeed/pkg-comment
Normal file
1
mail/smtpfeed/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
SMTP Fast Exploding External Deliverer for Sendmail
|
17
mail/smtpfeed/pkg-descr
Normal file
17
mail/smtpfeed/pkg-descr
Normal file
|
@ -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.
|
18
mail/smtpfeed/pkg-message
Normal file
18
mail/smtpfeed/pkg-message
Normal file
|
@ -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.
|
||||
**************************************************************
|
15
mail/smtpfeed/pkg-plist
Normal file
15
mail/smtpfeed/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue