head	1.39;
access;
symbols
	pkgsrc-2026Q1:1.39.0.28
	pkgsrc-2026Q1-base:1.39
	pkgsrc-2025Q4:1.39.0.26
	pkgsrc-2025Q4-base:1.39
	pkgsrc-2025Q3:1.39.0.24
	pkgsrc-2025Q3-base:1.39
	pkgsrc-2025Q2:1.39.0.22
	pkgsrc-2025Q2-base:1.39
	pkgsrc-2025Q1:1.39.0.20
	pkgsrc-2025Q1-base:1.39
	pkgsrc-2024Q4:1.39.0.18
	pkgsrc-2024Q4-base:1.39
	pkgsrc-2024Q3:1.39.0.16
	pkgsrc-2024Q3-base:1.39
	pkgsrc-2024Q2:1.39.0.14
	pkgsrc-2024Q2-base:1.39
	pkgsrc-2024Q1:1.39.0.12
	pkgsrc-2024Q1-base:1.39
	pkgsrc-2023Q4:1.39.0.10
	pkgsrc-2023Q4-base:1.39
	pkgsrc-2023Q3:1.39.0.8
	pkgsrc-2023Q3-base:1.39
	pkgsrc-2023Q2:1.39.0.6
	pkgsrc-2023Q2-base:1.39
	pkgsrc-2023Q1:1.39.0.4
	pkgsrc-2023Q1-base:1.39
	pkgsrc-2022Q4:1.39.0.2
	pkgsrc-2022Q4-base:1.39
	pkgsrc-2022Q3:1.38.0.12
	pkgsrc-2022Q3-base:1.38
	pkgsrc-2022Q2:1.38.0.10
	pkgsrc-2022Q2-base:1.38
	pkgsrc-2022Q1:1.38.0.8
	pkgsrc-2022Q1-base:1.38
	pkgsrc-2021Q4:1.38.0.6
	pkgsrc-2021Q4-base:1.38
	pkgsrc-2021Q3:1.38.0.4
	pkgsrc-2021Q3-base:1.38
	pkgsrc-2021Q2:1.38.0.2
	pkgsrc-2021Q2-base:1.38
	pkgsrc-2021Q1:1.37.0.50
	pkgsrc-2021Q1-base:1.37
	pkgsrc-2020Q4:1.37.0.48
	pkgsrc-2020Q4-base:1.37
	pkgsrc-2020Q3:1.37.0.46
	pkgsrc-2020Q3-base:1.37
	pkgsrc-2020Q2:1.37.0.42
	pkgsrc-2020Q2-base:1.37
	pkgsrc-2020Q1:1.37.0.22
	pkgsrc-2020Q1-base:1.37
	pkgsrc-2019Q4:1.37.0.44
	pkgsrc-2019Q4-base:1.37
	pkgsrc-2019Q3:1.37.0.40
	pkgsrc-2019Q3-base:1.37
	pkgsrc-2019Q2:1.37.0.38
	pkgsrc-2019Q2-base:1.37
	pkgsrc-2019Q1:1.37.0.36
	pkgsrc-2019Q1-base:1.37
	pkgsrc-2018Q4:1.37.0.34
	pkgsrc-2018Q4-base:1.37
	pkgsrc-2018Q3:1.37.0.32
	pkgsrc-2018Q3-base:1.37
	pkgsrc-2018Q2:1.37.0.30
	pkgsrc-2018Q2-base:1.37
	pkgsrc-2018Q1:1.37.0.28
	pkgsrc-2018Q1-base:1.37
	pkgsrc-2017Q4:1.37.0.26
	pkgsrc-2017Q4-base:1.37
	pkgsrc-2017Q3:1.37.0.24
	pkgsrc-2017Q3-base:1.37
	pkgsrc-2017Q2:1.37.0.20
	pkgsrc-2017Q2-base:1.37
	pkgsrc-2017Q1:1.37.0.18
	pkgsrc-2017Q1-base:1.37
	pkgsrc-2016Q4:1.37.0.16
	pkgsrc-2016Q4-base:1.37
	pkgsrc-2016Q3:1.37.0.14
	pkgsrc-2016Q3-base:1.37
	pkgsrc-2016Q2:1.37.0.12
	pkgsrc-2016Q2-base:1.37
	pkgsrc-2016Q1:1.37.0.10
	pkgsrc-2016Q1-base:1.37
	pkgsrc-2015Q4:1.37.0.8
	pkgsrc-2015Q4-base:1.37
	pkgsrc-2015Q3:1.37.0.6
	pkgsrc-2015Q3-base:1.37
	pkgsrc-2015Q2:1.37.0.4
	pkgsrc-2015Q2-base:1.37
	pkgsrc-2015Q1:1.37.0.2
	pkgsrc-2015Q1-base:1.37
	pkgsrc-2014Q4:1.36.0.18
	pkgsrc-2014Q4-base:1.36
	pkgsrc-2014Q3:1.36.0.16
	pkgsrc-2014Q3-base:1.36
	pkgsrc-2014Q2:1.36.0.14
	pkgsrc-2014Q2-base:1.36
	pkgsrc-2014Q1:1.36.0.12
	pkgsrc-2014Q1-base:1.36
	pkgsrc-2013Q4:1.36.0.10
	pkgsrc-2013Q4-base:1.36
	pkgsrc-2013Q3:1.36.0.8
	pkgsrc-2013Q3-base:1.36
	pkgsrc-2013Q2:1.36.0.6
	pkgsrc-2013Q2-base:1.36
	pkgsrc-2013Q1:1.36.0.4
	pkgsrc-2013Q1-base:1.36
	pkgsrc-2012Q4:1.36.0.2
	pkgsrc-2012Q4-base:1.36
	pkgsrc-2012Q3:1.35.0.2
	pkgsrc-2012Q3-base:1.35
	pkgsrc-2012Q2:1.34.0.2
	pkgsrc-2012Q2-base:1.34
	pkgsrc-2012Q1:1.33.0.18
	pkgsrc-2012Q1-base:1.33
	pkgsrc-2011Q4:1.33.0.16
	pkgsrc-2011Q4-base:1.33
	pkgsrc-2011Q3:1.33.0.14
	pkgsrc-2011Q3-base:1.33
	pkgsrc-2011Q2:1.33.0.12
	pkgsrc-2011Q2-base:1.33
	TNF:1.1.1
	pkgsrc-2011Q1:1.33.0.10
	pkgsrc-2011Q1-base:1.33
	pkgsrc-2010Q4:1.33.0.8
	pkgsrc-2010Q4-base:1.33
	pkgsrc-2010Q3:1.33.0.6
	pkgsrc-2010Q3-base:1.33
	pkgsrc-2010Q2:1.33.0.4
	pkgsrc-2010Q2-base:1.33
	pkgsrc-2010Q1:1.33.0.2
	pkgsrc-2010Q1-base:1.33
	pkgsrc-2009Q4:1.32.0.20
	pkgsrc-2009Q4-base:1.32
	pkgsrc-2009Q3:1.32.0.18
	pkgsrc-2009Q3-base:1.32
	pkgsrc-2009Q2:1.32.0.16
	pkgsrc-2009Q2-base:1.32
	pkgsrc-2009Q1:1.32.0.14
	pkgsrc-2009Q1-base:1.32
	pkgsrc-2008Q4:1.32.0.12
	pkgsrc-2008Q4-base:1.32
	pkgsrc-2008Q3:1.32.0.10
	pkgsrc-2008Q3-base:1.32
	cube-native-xorg:1.32.0.8
	cube-native-xorg-base:1.32
	pkgsrc-2008Q2:1.32.0.6
	pkgsrc-2008Q2-base:1.32
	cwrapper:1.32.0.4
	pkgsrc-2008Q1:1.32.0.2
	pkgsrc-2008Q1-base:1.32
	pkgsrc-2007Q4:1.31.0.2
	pkgsrc-2007Q4-base:1.31
	pkgsrc-2007Q3:1.30.0.2
	pkgsrc-2007Q3-base:1.30
	pkgsrc-2007Q2:1.29.0.4
	pkgsrc-2007Q2-base:1.29
	pkgsrc-2007Q1:1.29.0.2
	pkgsrc-2007Q1-base:1.29
	pkgsrc-2006Q4:1.27.0.6
	pkgsrc-2006Q4-base:1.27
	pkgsrc-2006Q3:1.27.0.4
	pkgsrc-2006Q3-base:1.27
	pkgsrc-2006Q2:1.27.0.2
	pkgsrc-2006Q2-base:1.27
	pkgsrc-2006Q1:1.25.0.4
	pkgsrc-2006Q1-base:1.25
	pkgsrc-2005Q4:1.25.0.2
	pkgsrc-2005Q4-base:1.25
	pkgsrc-2005Q3:1.23.0.4
	pkgsrc-2005Q3-base:1.23
	pkgsrc-2005Q2:1.23.0.2
	pkgsrc-2005Q2-base:1.23
	pkgsrc-2005Q1:1.22.0.2
	pkgsrc-2005Q1-base:1.22
	pkgsrc-2004Q4:1.21.0.18
	pkgsrc-2004Q4-base:1.21
	pkgsrc-2004Q3:1.21.0.16
	pkgsrc-2004Q3-base:1.21
	pkgsrc-2004Q2:1.21.0.14
	pkgsrc-2004Q2-base:1.21
	pkgsrc-2004Q1:1.21.0.12
	pkgsrc-2004Q1-base:1.21
	pkgsrc-2003Q4:1.21.0.10
	pkgsrc-2003Q4-base:1.21
	netbsd-1-6-1:1.21.0.6
	netbsd-1-6-1-base:1.21
	netbsd-1-6:1.21.0.8
	netbsd-1-6-RELEASE-base:1.21
	pkgviews:1.21.0.4
	pkgviews-base:1.21
	buildlink2:1.21.0.2
	buildlink2-base:1.21
	netbsd-1-5-PATCH003:1.21
	netbsd-1-5-PATCH001:1.18
	netbsd-1-5-RELEASE:1.9
	netbsd-1-4-PATCH003:1.9
	netbsd-1-4-PATCH002:1.4
	snap19991129:1.1.1.1;
locks; strict;
comment	@# @;


1.39
date	2022.12.15.11.30.01;	author jperkin;	state Exp;
branches;
next	1.38;
commitid	41mNyir2tEq08E5E;

1.38
date	2021.05.24.19.52.53;	author wiz;	state Exp;
branches;
next	1.37;
commitid	qokaiStTApGMcrUC;

1.37
date	2015.03.15.15.07.47;	author mef;	state Exp;
branches;
next	1.36;
commitid	x7S0l58TA5XpmIdy;

1.36
date	2012.10.08.12.19.31;	author asau;	state Exp;
branches;
next	1.35;

1.35
date	2012.07.10.09.09.10;	author mef;	state Exp;
branches;
next	1.34;

1.34
date	2012.06.12.15.45.58;	author wiz;	state Exp;
branches;
next	1.33;

1.33
date	2010.02.11.19.39.04;	author joerg;	state Exp;
branches;
next	1.32;

1.32
date	2008.03.17.11.37.41;	author obache;	state Exp;
branches;
next	1.31;

1.31
date	2007.11.17.13.40.16;	author wiz;	state Exp;
branches;
next	1.30;

1.30
date	2007.09.07.22.12.13;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2007.02.22.19.26.44;	author wiz;	state Exp;
branches;
next	1.28;

1.28
date	2007.01.07.09.13.59;	author rillig;	state Exp;
branches;
next	1.27;

1.27
date	2006.06.03.00.45.15;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2006.06.02.13.55.47;	author joerg;	state Exp;
branches;
next	1.25;

1.25
date	2005.12.05.20.50.35;	author rillig;	state Exp;
branches;
next	1.24;

1.24
date	2005.11.07.20.35.20;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	2005.03.24.21.12.56;	author wiz;	state Exp;
branches;
next	1.22;

1.22
date	2005.03.14.19.52.16;	author tv;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.19.13.23.26;	author taca;	state Exp;
branches;
next	1.20;

1.20
date	2002.01.21.11.25.23;	author taca;	state Exp;
branches;
next	1.19;

1.19
date	2001.09.09.16.46.47;	author taca;	state Exp;
branches;
next	1.18;

1.18
date	2001.04.22.22.06.19;	author zuntum;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.19.05.28.23;	author itojun;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.05.11.43.16;	author itojun;	state Exp;
branches;
next	1.15;

1.15
date	2001.02.25.04.17.59;	author hubertf;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.17.18.25.05;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.14.00.32.39;	author itojun;	state Exp;
branches;
next	1.12;

1.12
date	2001.01.31.10.24.03;	author itojun;	state Exp;
branches;
next	1.11;

1.11
date	2001.01.29.11.34.32;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2001.01.21.06.02.27;	author itojun;	state Exp;
branches;
next	1.9;

1.9
date	2000.07.26.09.43.51;	author itojun;	state Exp;
branches;
next	1.8;

1.8
date	2000.05.29.02.38.27;	author itojun;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.05.18.37.57;	author itojun;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.15.13.58.26;	author itojun;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.05.16.18.33;	author itojun;	state Exp;
branches;
next	1.4;

1.4
date	2000.01.02.18.02.50;	author itojun;	state Exp;
branches;
next	1.3;

1.3
date	99.12.27.09.34.13;	author itojun;	state Exp;
branches;
next	1.2;

1.2
date	99.11.29.08.33.30;	author itojun;	state Exp;
branches;
next	1.1;

1.1
date	99.11.29.08.06.32;	author itojun;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.11.29.08.06.32;	author itojun;	state Exp;
branches;
next	;


desc
@@


1.39
log
@smtpfeed: Fix libraries on SunOS.
@
text
@# $NetBSD: Makefile,v 1.38 2021/05/24 19:52:53 wiz Exp $

DISTNAME=	smtpfeed-1.23
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	ftp://sh.wide.ad.jp/WIDE/free-ware/smtpfeed/

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://member.wide.ad.jp/wg/smtp/smtpfeed.html
COMMENT=	SMTP Fast Exploding External Deliverer for Sendmail
LICENSE=	original-bsd

# sendmail 8.x with WIDE patch works better with it, than stock 8.x.
# require sendmail from pkgsrc.
#DEPENDS+=	sendmail>=8.9.3:../../mail/sendmail

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--libexecdir=${PREFIX:Q}/libexec
# configure tries to be clever, so force our setting
CONFIGURE_ENV+=		my_cv_path_lib_exec=${PREFIX:Q}/libexec
# use bind8?
#CONFIGURE_ARGS+=	--with-bind8

BUILDLINK_TRANSFORM.SunOS+=	rm:-lutil
LDFLAGS.SunOS+=			-lsocket -lnsl -lresolv

DOCS=	COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \
	ML-ADMIN ML-ADMIN.j OPTIONS OPTIONS.j README README.j \
	RELEASE.NOTE SIGNAL SIGNAL.j TODO

PKG_OPTIONS_VAR=	PKG_OPTIONS.smtpfeed
PKG_SUPPORTED_OPTIONS=	inet6
PKG_SUGGESTED_OPTIONS=	inet6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.endif

INSTALLATION_DIRS=	libexec ${PKGMANDIR}/man8 share/doc/smtpfeed
INSTALL_MAKE_FLAGS+=	libexecdir=${DESTDIR}${PREFIX}/libexec

post-install:
	${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
	for i in ${DOCS}; do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/smtpfeed; \
	done

.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.38
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2015/03/15 15:07:47 mef Exp $
d24 3
@


1.37
log
@(pkgsrc)
 - patch-aa was used to edit Makefile. Now it edits Makefile.in instead
 - patch-a[cefh] are removed, equivalent fix applied
 - patch-dns.c  is added to silent prototype warning

(upstream)
 - Update 1.20 to 1.23
-------------------
1.23: Feb.17,2015:
        dns.c, smtp.c:
                typo fixed: INET6 should be AF_INET6

1.22: Jun.9,2012:
        smtp.c:
                logging whole message in multi-lined SMTP response.

1.21: Jun.7,2012:
        smtp.c, common.h, main.c:
                '-2' option added to avoid piggybacking among domains.
                (to support spec change on GoogleApps service)
        dns.c:
                definitions of functions with "static" are moved outside
                to avoid "invalid strage class" errors.
        *.c, extern.h:
                log() is renamed to logg() to avoid conflict.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2012/10/08 12:19:31 asau Exp $
d4 1
@


1.36
log
@Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2012/07/10 09:09:10 mef Exp $
d3 1
a3 1
DISTNAME=	smtpfeed-1.20
@


1.35
log
@Bump smtpfeed version from 1.18 (2002/03) to 1.20 Based on PR pkg/46679
with:
+LICENSE=     original-bsd
-----------
 1.20: Aug.21,2003:
         smtp.c, common.h:
                 fix on duplicate mailing.

 1.19: Aug.20,2003:
         configure:
                 SunOS 5.9 support from Toshio Hiraga <Toshio.Hiraga at jp.sony.com>
         main.c, smtp.c:
                 reuse connection even when all recipients are invalid in a
                  transaction. please specify option -u to use this feature.
                  suggested by Koji Kawano <kawano at tailback.co.jp>
         smtp.c:
                 retry on recipients which are not accepted with 452 (too many
                  recipients) problem reported by Kenji Ikeda
                  <ikeda at impress.co.jp>
                 fix on bug to set cnf.rcpts_trans to 1 reported by
                  Koji Kawano <kawano at tailback.co.jp>
                 avoid null pointer access/out of range access of state_tbl[]
                  when unexpected close of SMTP connection reported by
                  Hirokazu MORIKAWA <morikawa at nxhack.tarumi.kobe.jp>
                  also by Masato Minda <minmin at wide.ad.jp>
                 reply code tweaking after . termination of DATA command
                  problem reported by Ken Makimura <macky at astem.or.jp>
         dns.c:
                 do not drop query when got an answer from a NS which does not
                 support recursive query.
         util.c:
                 fix on size for MALLOC reported by Koji Kawano
                 <kawano at tailback.co.jp>
-----------
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2012/06/12 15:45:58 wiz Exp $
a11 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.34
log
@Add inet6 to default suggested options. It's 2012.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2010/02/11 19:39:04 joerg Exp $
d3 1
a3 2
DISTNAME=	smtpfeed-1.18
PKGREVISION=	1
d10 1
@


1.33
log
@DESTDIR support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2008/03/17 11:37:41 obache Exp $
d31 1
@


1.32
log
@Update MASTER_SITES and HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2007/11/17 13:40:16 wiz Exp $
d12 2
d39 1
d42 1
a42 1
	${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/${PKGMANDIR}/man8
d44 1
a44 1
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/smtpfeed; \
@


1.31
log
@Reset maintainer for itojun's packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2007/09/07 22:12:13 jlam Exp $
d6 1
a6 3
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/
d9 1
a9 1
HOMEPAGE=	http://www.kyoto.wide.ad.jp/mta/sendmail.html#smtpfeed
@


1.30
log
@Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2007/02/22 19:26:44 wiz Exp $
d8 1
a8 2
		ftp://ftp.sendmail.org/ucb/src/sendmail/ \
		http://freefall.freebsd.org/~itojun/distfiles/
d10 1
a10 1
MAINTAINER=	itojun@@itojun.org
@


1.29
log
@Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2007/01/07 09:13:59 rillig Exp $
d19 1
a19 1
GNU_CONFIGURE=	yes
d22 1
a22 1
CONFIGURE_ENV+=	my_cv_path_lib_exec=${PREFIX:Q}/libexec
d30 2
a31 1
BUILD_DEFS+=	USE_INET6
d33 1
a33 1
INSTALLATION_DIRS=	libexec ${PKGMANDIR}/man8 share/doc/smtpfeed
d35 3
a37 1
.include "../../mk/bsd.prefs.mk"
d39 1
a39 3
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=--enable-ipv6
.endif
@


1.28
log
@Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/06/03 00:45:15 joerg Exp $
d30 1
a30 1
BUILD_DEFS+=    USE_INET6
@


1.27
log
@Be more aggressive: broken configure script checks if libexecdir exists
at configure time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/06/02 13:55:47 joerg Exp $
d32 1
a32 1
INSTALLATION_DIRS=	libexec man/man8 share/doc/smtpfeed
d41 1
a41 1
	${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${PREFIX}/man/man8
@


1.26
log
@Use INSTALLATION_DIRS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/12/05 20:50:35 rillig Exp $
d21 2
@


1.25
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/11/07 20:35:20 tv Exp $
a26 1
DOCDIR=	${PREFIX}/share/doc/smtpfeed
d30 2
a39 1
	${INSTALL_DATA_DIR} ${DOCDIR}
d41 1
a41 1
		${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
@


1.24
log
@Add devel/sysexits bl3.
Add hacks.mk to get the libbind resolver on Interix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/03/24 21:12:56 wiz Exp $
d20 1
a20 1
CONFIGURE_ARGS=	--libexecdir=${PREFIX}/libexec
@


1.23
log
@Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/03/14 19:52:16 tv Exp $
d44 1
@


1.22
log
@There's no need to manually format and install a nroffed manpage.
Install the source and let man(1) do it.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.20 2002/01/21 11:25:23 taca Exp $
# Based on FreeBSD Id: Makefile,v 1.27 1999/04/03 08:25:18 itojun Exp
#
@


1.21
log
@Update smtpfeed package to 1.18.


1.18: Mar.19,2002:
	smtp.c:
		avoid null pointer access when MAPOPT_TRYALLADDR set.
		reported by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
	dns.c:
		ignore answer from a nameserver which does not support recursive
		query if the server described in resolv.conf is such a server.
	main.c:
		default for -q option is changed to 50.
		 suggested by Takahiro Kambe <taca@@sky.yamashina.kyoto.jp>
@
text
@d6 1
a38 10
.if (${OPSYS} == SunOS)
NROFF?=		nroff -man
.else
NROFF?=		nroff -mandoc
.endif

post-build:
	cd ${WRKSRC} && \
	${NROFF} smtpfeed.8 > smtpfeed.cat8

a40 1
	${INSTALL_MAN} ${WRKSRC}/smtpfeed.cat8 ${PREFIX}/man/cat8/smtpfeed.0
@


1.20
log
@Update smtpfeed to 1.17.  Now online manual added, too.

1.17: Jan.12,2002:
	smtpfeed.8:
		this manual page (in English) is provided by Ralf S.
		Engelschall <rse@@engelschall.com>
	dns.c:
		some sanity checking in DNS answer packet to avoid coredump.
	common.h, dns.c, main.c, lmtp.c:
		DNS query concurrency limitation. set -q option to limit.
		default is 0 (unlimited). maximum concurrency will be
		 shown with dnsmaxcq= in log after delivery is completed.
		 problem reported by Takahiro Kambe
		 <taca@@sky.yamashina.kyoto.jp>
	common.h, dns.c, smtp.c:
		/opt support in map file.
		if you want to try other IP addresses for a MX host when
		 a transaction (after HELOSENT) with an IP address was failed,
		 describe "domain MX/a" in the map file.
		 this option can be applied to each term separated by ':' like
		 "domain mx1/a:mx2:mx3/a".
		 based on a request from Koji Kawano
		 <kawano@@eng.trans-cosmos.co.jp>

1.16: Aug.27,2001:
	main.c:
		"socklen_t" is replaced with "int" to support old platforms
		which does not have the "socklen_t" definition.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2001/09/09 16:46:47 taca Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.17
@


1.19
log
@Update smtpfeed to 1.15.

1.15: Aug.26,2001:
	dns.c:
		avoid DNS query synchronization when no queries are sent
		in case a LMTP connection is used for multiple transaction.
	lmtp.c:
		some messages in setproctitle() are changed.
	main.c:
		logging peer-name for use with inetd (LMTP over TCP)
	README:
		some comments added: Sendmail 8.12 includes the DYNAMIC_TOBUF
		feature by default which supplied from 3.xW patch for sendmail.
		So you do not need the patch any more if you do not use
		extensions in sendmail.cf description offered by the patch.

1.14: Aug.15,2001:
	smtp.c:
		changes on some timeout values
		work around for bogus mail gateway to mobile phone...
		fix on NULL pointer access which causes unterminating process
		 with proctitle like: "smtpfeed: 550% delivered"
		 reported by Hisaaki Shibata <shibata@@luky.org>
		 fixed by Anatoly A. Orehovsky <tolik@@asplinux.ru>
		do not rewrite envelope sender using the following rule
		 when sender is <>: SndrUser+RcptUser=RcptDomain@@SndrDomain
		 problem reported by Shin ZUKERAN <shin@@ryukyu.ad.jp>
	log.c:
		increase retry counter value
	common.h, address.c, smtp.c, extern.h, main.c, util.c:
		support par domain recipient number setting with file
		 suggested by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2001/04/22 22:06:19 zuntum Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.15
d38 10
d49 2
@


1.18
log
@Remove FreeBSDism (NOPORTDOCS)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/03/19 05:28:23 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.13
@


1.17
log
@upgrade to 1.13.

        smtp.c:
                max number of RCPT/SMTP was limited to 99 (should be 100).
                 reported by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
        configure.in:
                Solaris8 support
                 suggested by Toshio Hiraga <Toshio.Hiraga@@jp.sony.com>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/03/05 11:43:16 itojun Exp $
a38 1
.if !defined(NOPORTDOCS)
a42 1
.endif
@


1.16
log
@upgrade to 1.12.  (the following "buffer overflow" is not about security issue
like memory buffer overrun, but the udp send buffer overflow)

1.12: Mar.4,2001:
        log.c:
                a hack to avoid syslog buffer overflow added.
                 problem reported by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/02/25 04:17:59 hubertf Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.12
@


1.15
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/02/17 18:25:05 wiz Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.11
@


1.14
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/02/14 00:32:39 itojun Exp $
d40 1
a40 1
	${MKDIR} ${DOCDIR}
@


1.13
log
@upgrade to 1.11.  logging changes.

1.11: Feb.14,2001:
        smtp.c:
                changes in logging format:
                 remove IPv6 letter in [IPv6:...] notation.
                 show proto=v4 when IPv4 address used if compiled with
                 --enable-v6.
                 show "(gateway)" after protocol gateway address.
                 patch from Makoto MATSUSHITA <matusita@@ics.es.osaka-u.ac.jp>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/01/31 10:24:03 itojun Exp $
d14 1
@


1.12
log
@upgrade to 1.10.

1.10: Jan.30,2001:
	main.c, address.c:
		Now you can specify order of IPv4/IPv6 for SMTP with -NB option.
		-NB4: try IPv4 first, then IPv6
		-NB6: try IPv6 first, then IPv4 (default setting)
	dns.c:
		AF_INET6 should not be used on IPv4 only plathome.
		 reported by Shigechika AIKAWA <shige@@cin.nihon-u.ac.jp>

1.09: Jan.29,2001
	address.c:
		Log un-delivered recipients because of DNS lookup failure.
		 suggested by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
	dns.c, main.c:
		A new -g option added to support protocol gateway feature.
		 idea from Makoto MATSUSHITA <matusita@@ics.es.osaka-u.ac.jp>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2001/01/29 11:34:32 wiz Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.10
d17 1
a17 1
DEPENDS+=	sendmail>=8.9.3:../../mail/sendmail
@


1.11
log
@Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @@VARIABLE@@, nor @@@@VARIABLE@@@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/01/21 06:02:27 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.08
@


1.10
log
@upgrade to 1.08.

1.08: Jan.4,2001
	smtp.c:
		Successful recipients were not logged if the final recipient
		was rejected in a SMTP transaction.
		 reported by Koji Kawano <kawano@@eng.trans-cosmos.co.jp>
		An access to conn->host->currect encounters NULL at the
		beginning of SMTP connection establishment. So checks inserted
		for safety.
		 reported by Makoto MATSUSHITA <matusita@@ics.es.osaka-u.ac.jp>
	dns.c:
		fallbackmx will work with A/AAAA only hosts
	commom.h, main.c, dns.c, smtp.c:
		Option -5 supported for IPv4 or IPv6 only platform to use
		fallback gateway to IPv6/IPv4 cloud. Unless -5 specified,
		messages will be bounced back from IPv4 host to IPv6 host
		(AAAA only MX) or from IPv6 host to IPv4 host (A only MX),
		what was default action of old versions of smtpfeed.
		You also want to specify fallback host which can reach
		IPv6/IPv4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/07/26 09:43:51 itojun Exp $
a23 2
MESSAGE_FILE=	${WRKDIR}/MESSAGE

a35 5

post-build:
	${SED} -e 's#@@@@PKGNAME@@@@#${PKGNAME}#g' \
		-e 's#@@@@PREFIX@@@@#${PREFIX}#g' \
		< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
@


1.9
log
@use 1.07.1.  changes: documentation change for 8.11.0+wide patch.
correct DEPENDS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/05/29 02:38:27 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.07.1
d27 2
a28 1
	OPTIONS OPTIONS.j README README.j RELEASE.NOTE SIGNAL SIGNAL.j TODO
@


1.8
log
@upgrade smtpfeed from 1.06 to 1.07.

--- recent changes from RELEASE.NOTES
1.07: May.29,2000
	smtp.c:
		false permanent errors (Connection timed out, which should be
		temporary failures) when SMTP connection (in processing) is
		timed-out.
		 reported by Jun-ichiro itojun Hagino <itojun@@iijlab.net>

1.06: Apr.24,2000
	smtp.c, main.c, common.h:
		false permanent errors (No addresses) occur when DNS queries
		are timed-out.
		 reported by Takahiro Kambe <taca@@sky.yamashina.kyoto.jp>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/05/05 18:37:57 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.07
d15 3
a17 2
# WIDE sendmail 8.9.x works better with it, than stock 8.10.x
DEPENDS+=	sendmail-*:../../mail/sendmail
@


1.7
log
@upgrade to 1.06.

no changelog available in the tar.gz file.  IIRC, the change was
about MX search order.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/04/15 13:58:26 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.06
@


1.6
log
@upgrade to use version 1.05 of master distribution.

key changes in 1.02 -> 1.05:
- portability fixes
- cope with corrupted DNS configuration, where A/AAAA for MX is not found
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.5 2000/04/05 16:18:33 itojun Exp $
# KAME $Id: Makefile,v 1.5 2000/04/05 16:18:33 itojun Exp $
d5 1
a5 1
DISTNAME=	smtpfeed-1.05
@


1.5
log
@add comment about dependency to sendmail
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.4 2000/01/02 18:02:50 itojun Exp $
# KAME $Id: Makefile,v 1.4 2000/01/02 18:02:50 itojun Exp $
d6 1
a6 1
DISTNAME=	smtpfeed-1.02
d16 1
a16 1
# sendmail (8.10.x) or sendmail-wide (8.9.x + WIDE patch) works fine
@


1.4
log
@change special sendmail installation.  now mail/sendmail includes
WIDE patch, mail/smtpfeed can simply depend on mail/sendmail.
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.3 1999/12/27 09:34:13 itojun Exp $
# KAME $Id: Makefile,v 1.3 1999/12/27 09:34:13 itojun Exp $
d16 1
@


1.3
log
@be more friendly with mailwrapper(8) when installing sendmail.
XXX maybe we should install sendmail into /usr/pkg/somewhere, and let
the user edit /etc/mailer.conf?  I'm not really sure what is the best route.
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.2 1999/11/29 08:33:30 itojun Exp $
# KAME $Id: Makefile,v 1.2 1999/11/29 08:33:30 itojun Exp $
a11 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SENDMAIL}${EXTRACT_SUFX} \
		${SENDMAILPATCH}.patch.gz
d16 1
a16 10
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"

SENDMAILVER=	8.9.3
SENDMAIL=	sendmail.${SENDMAILVER}
SENDMAILDIR=	sendmail-${SENDMAILVER}
SENDMAILPATCH=	sendmail893+3.2W
WRKSRC_SMTPFEED=	${WRKSRC}
WRKSRC_SENDMAIL=	${WRKDIR}/${SENDMAILDIR}/src
d23 2
d33 3
a35 7
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)
	${CP} -f ${FILESDIR}/site.config ${WRKSRC_SENDMAIL}
	${CP} -f ${FILESDIR}/site.config-v6.kame ${WRKSRC_SENDMAIL}
d38 3
a40 6
	@@${ECHO_MSG} "===>  Building patched ${SENDMAIL}"
.if defined(USE_INET6) && ${USE_INET6} == YES
	@@(cd ${WRKSRC_SENDMAIL}; sh makesendmail -f site.config-v6.kame)
.else
	@@(cd ${WRKSRC_SENDMAIL}; sh makesendmail -f site.config)
.endif
a48 7
	@@${SED} -e 's#/usr/pkg#${PREFIX}#' ${PKGDIR}/MESSAGE

backup-sendmail:
	(cd /usr/libexec/sendmail; ${MV} sendmail sendmail.dist)

install-sendmail:
	(cd ${WRKSRC_SENDMAIL}; sh makesendmail install)
@


1.2
log
@mail/smtpfeed: SMTP Fast Exploding External Deliverer for Sendmail
(builds patched sendmail as well)
@
text
@d1 2
a2 2
# $NetBSD$
# KAME $Id: Makefile,v 1.1.1.1 1999/11/29 07:53:52 itojun Exp $
d47 1
d55 1
a55 1
	@@(cd ${WRKSRC_SENDMAIL}; sh makesendmail )
d65 4
a68 1
	@@${SED} -e 's#/usr/local#${PREFIX}#' ${PKGDIR}/MESSAGE
@


1.1
log
@Initial revision
@
text
@d38 4
d47 1
d51 1
d53 3
@


1.1.1.1
log
@from KAME/netbsd repository
@
text
@@
