Update to 1.18

PR:		36583
Submitted by:	tkato@prontomail.com
This commit is contained in:
David W. Chapman Jr. 2002-04-01 02:47:41 +00:00
parent 2ec29ba35f
commit 9b4580f1d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57104
6 changed files with 25 additions and 63 deletions

View file

@ -6,57 +6,33 @@
# #
PORTNAME= smtpfeed PORTNAME= smtpfeed
PORTVERSION= 1.13 PORTVERSION= 1.18
CATEGORIES= mail CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/ \ 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/ \
http://freefall.freebsd.org/~itojun/distfiles/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} \
${SENDMAILPATCH}.patch.gz
MAINTAINER= ports@freebsd.org MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/sendmail
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" NO_PACKAGE= "complex configuration for sendmail.cf needed"
SENDMAILVER= 8.9.3
SENDMAIL= sendmail.${SENDMAILVER}
SENDMAILDIR= sendmail-${SENDMAILVER}
SENDMAILPATCH= sendmail893+3.2W
WRKSRC_SMTPFEED= ${WRKSRC}
WRKSRC_SENDMAIL= ${WRKDIR}/${SENDMAILDIR}/src
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec
# use bind8?
#CONFIGURE_ARGS+= --with-bind8
DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \ MAN8= smtpfeed.8
OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL SIGNAL.j TODO
DOCDIR= ${PREFIX}/share/doc/smtpfeed
post-patch: PORTDOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \
@${ECHO_MSG} "===> Applying smtpfeed patch ${SENDMAILPATCH} to ${SENDMAIL}" OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL \
@(cd ${_DISTDIR}; for i in ${SENDMAILPATCH}.patch.gz; do \ SIGNAL.j TODO smtpfeed.html
${GZCAT} $$i | ${PATCH} ${PATCH_SENDMAIL_ARGS}; \
done)
post-build: do-install:
@${ECHO_MSG} "===> Building patched ${SENDMAIL}" ${INSTALL_PROGRAM} ${WRKSRC}/smtpfeed ${PREFIX}/libexec
@(cd ${WRKSRC_SENDMAIL}; sh makesendmail) ${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${MANPREFIX}/man/man8
post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR} ${MKDIR} ${DOCSDIR}
for i in ${DOCS}; do \ .for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
done .endfor
.endif .endif
@${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE} @${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
install-sendmail:
(cd ${WRKSRC_SENDMAIL}; sh makesendmail install)
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1 @@
MD5 (smtpfeed-1.13.tar.gz) = 5240031fa84f26f8cdd4c6a79ebdeb0b MD5 (smtpfeed-1.18.tar.gz) = 0e2fba84682992c1aa6bd6ed3f872141
MD5 (sendmail.8.9.3.tar.gz) = efedacfbce84a71d1cfb0e617b84596e
MD5 (sendmail893+3.2W.patch.gz) = 77e2183c40e304a2b1410a5bb041cd46

View file

@ -1,10 +0,0 @@
--- 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:

View file

@ -15,3 +15,5 @@ a delivery is not influenced by preceding delivery: DNS query and
SMTP delivery par destination should be processed in parallel. SMTP delivery par destination should be processed in parallel.
Smtpfeed is the SMTP delivery agent for sendmail implemented with this Smtpfeed is the SMTP delivery agent for sendmail implemented with this
idea. idea.
WWW: http://www.kyoto.wide.ad.jp/smtpfeed/

View file

@ -1,18 +1,13 @@
************************************************************** **************************************************************
smtpfeed is installed into /usr/local/libexec/smtpfeed. smtpfeed is installed into /usr/local/libexec/smtpfeed.
You'll need to perform 3 steps, (a) to (c), to make smtpfeed You'll need to perform 2 steps, (a) to (b), to make smtpfeed
work: work:
(a) replace /etc/sendmail.cf (a) replace /etc/sendmail.cf
(b) replace sendmail with the patched sendmail (b) setting up /etc/syslog.conf
(c) setting up /etc/syslog.conf
(a) depends on what kind of configuration tool you are using (a) depends on what kind of configuration tool you are using
with sendmail.cf. Read through documentation in with sendmail.cf. Read through documentation in
/usr/local/share/doc/smtpfeed for details. /usr/local/share/doc/smtpfeed for details.
(b) can be done by performing "make install-sendmail" in the (b) see file named INSTALL in
port directory. /usr/local/share/doc/smtpfeed for details.
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.
************************************************************** **************************************************************

View file

@ -14,4 +14,5 @@ libexec/smtpfeed
%%PORTDOCS%%share/doc/smtpfeed/SIGNAL %%PORTDOCS%%share/doc/smtpfeed/SIGNAL
%%PORTDOCS%%share/doc/smtpfeed/SIGNAL.j %%PORTDOCS%%share/doc/smtpfeed/SIGNAL.j
%%PORTDOCS%%share/doc/smtpfeed/TODO %%PORTDOCS%%share/doc/smtpfeed/TODO
%%PORTDOCS%%share/doc/smtpfeed/smtpfeed.html
%%PORTDOCS%%@dirrm share/doc/smtpfeed %%PORTDOCS%%@dirrm share/doc/smtpfeed