To resole hostname to IPv6 addresses gethostbyname2() is needed.

Fix spurious (may be forged) logs when receiving via IPv6 socket,
and fix sending to IPv6-enabled relay.
Bump PKGREVISION
(no revision bump for libmilter, it's not affected)
This commit is contained in:
bouyer 2019-12-03 18:51:02 +00:00
parent 0e22d9554e
commit 0b92a9321c
3 changed files with 10 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.133 2019/07/15 07:05:02 jnemeth Exp $
# $NetBSD: Makefile,v 1.134 2019/12/03 18:51:02 bouyer Exp $
PKGNAME= sendmail-${DIST_VERS}
PKGREVISION= 5
PKGREVISION= 6
COMMENT= The well known Mail Transport Agent
CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.65 2017/01/19 18:52:17 agc Exp $
# $NetBSD: Makefile.common,v 1.66 2019/12/03 18:51:02 bouyer Exp $
#
# used by mail/libmilter/Makefile
# used by mail/sendmail/Makefile
@ -56,6 +56,9 @@ make-sendmail-siteconfig:
(${OPSYS} != "DragonFly") && (${OPSYS} != "FreeBSD")
${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
. endif
. if ${OPSYS} == "NetBSD"
${CAT} ${FILESDIR}/site.config.m4-gethostbyname2 >>${SITECONFIG}
. endif
.endif
${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}

View file

@ -0,0 +1,4 @@
# $NetBSD: site.config.m4-gethostbyname2,v 1.1 2019/12/03 18:51:02 bouyer Exp $
# has gethostbyname2()
APPENDDEF(`confENVDEF', `-DHAS_GETHOSTBYNAME2')