diff options
author | bouyer <bouyer@pkgsrc.org> | 2019-12-03 18:51:02 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2019-12-03 18:51:02 +0000 |
commit | 202e9fefbd49b1b22fb90e3f547d81e95e9df807 (patch) | |
tree | 6897f15d9d02f5caed75b562dfead651f8615bc9 /mail | |
parent | 8415014e2d836e0f6b21ef70f82e602c8732c270 (diff) | |
download | pkgsrc-202e9fefbd49b1b22fb90e3f547d81e95e9df807.tar.gz |
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)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail/Makefile | 4 | ||||
-rw-r--r-- | mail/sendmail/Makefile.common | 5 | ||||
-rw-r--r-- | mail/sendmail/files/site.config.m4-gethostbyname2 | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index cabe54a2b6a..28212717ff4 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -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]* diff --git a/mail/sendmail/Makefile.common b/mail/sendmail/Makefile.common index 5a034c3a2bf..f429d14d302 100644 --- a/mail/sendmail/Makefile.common +++ b/mail/sendmail/Makefile.common @@ -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} diff --git a/mail/sendmail/files/site.config.m4-gethostbyname2 b/mail/sendmail/files/site.config.m4-gethostbyname2 new file mode 100644 index 00000000000..32ec4ea210c --- /dev/null +++ b/mail/sendmail/files/site.config.m4-gethostbyname2 @@ -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') |