pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail To resole hostname to IPv6 addresses get...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0261c2807f05
branches:  trunk
changeset: 405657:0261c2807f05
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Dec 03 18:51:02 2019 +0000

description:
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:

 mail/sendmail/Makefile                            |  4 ++--
 mail/sendmail/Makefile.common                     |  5 ++++-
 mail/sendmail/files/site.config.m4-gethostbyname2 |  4 ++++
 3 files changed, 10 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r bf35f3678c58 -r 0261c2807f05 mail/sendmail/Makefile
--- a/mail/sendmail/Makefile    Tue Dec 03 18:23:58 2019 +0000
+++ b/mail/sendmail/Makefile    Tue Dec 03 18:51:02 2019 +0000
@@ -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 -r bf35f3678c58 -r 0261c2807f05 mail/sendmail/Makefile.common
--- a/mail/sendmail/Makefile.common     Tue Dec 03 18:23:58 2019 +0000
+++ b/mail/sendmail/Makefile.common     Tue Dec 03 18:51:02 2019 +0000
@@ -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 @@
       (${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 -r bf35f3678c58 -r 0261c2807f05 mail/sendmail/files/site.config.m4-gethostbyname2
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail/files/site.config.m4-gethostbyname2 Tue Dec 03 18:51:02 2019 +0000
@@ -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')



Home | Main Index | Thread Index | Old Index