mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- Add a patch for some nameserver problems
sendmail 8.11.6, failing DNS AAAA lookups Has been mentioned on freebsd-stable Subject: something strange with sendmail 8.11.6 on FreeBSD Submitted by: gshapiro@freebsd.org
This commit is contained in:
parent
26510e100b
commit
240b393ed3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48329
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.11.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
|
||||
|
39
mail/sendmail-old/files/patch-daemon.c
Normal file
39
mail/sendmail-old/files/patch-daemon.c
Normal file
@ -0,0 +1,39 @@
|
||||
--- sendmail/daemon.c 2001/08/01 03:19:45 1.1.1.3.2.6
|
||||
+++ sendmail/daemon.c 2001/09/09 19:31:37
|
||||
@@ -1877,17 +1877,6 @@
|
||||
gothostent:
|
||||
if (hp == NULL)
|
||||
{
|
||||
-# if NAMED_BIND
|
||||
- /* check for name server timeouts */
|
||||
- if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
- (errno == ECONNREFUSED && UseNameServer))
|
||||
- {
|
||||
- save_errno = errno;
|
||||
- mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
- errno = save_errno;
|
||||
- return EX_TEMPFAIL;
|
||||
- }
|
||||
-# endif /* NAMED_BIND */
|
||||
# if NETINET6
|
||||
/*
|
||||
** Try v6 first, then fall back to v4.
|
||||
@@ -1903,6 +1892,17 @@
|
||||
if (v6found)
|
||||
goto v6tempfail;
|
||||
# endif /* NETINET6 */
|
||||
+# if NAMED_BIND
|
||||
+ /* check for name server timeouts */
|
||||
+ if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
+ (errno == ECONNREFUSED && UseNameServer))
|
||||
+ {
|
||||
+ save_errno = errno;
|
||||
+ mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
+ errno = save_errno;
|
||||
+ return EX_TEMPFAIL;
|
||||
+ }
|
||||
+# endif /* NAMED_BIND */
|
||||
save_errno = errno;
|
||||
mci_setstat(mci, EX_NOHOST, "5.1.2", NULL);
|
||||
errno = save_errno;
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.11.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
|
||||
|
39
mail/sendmail/files/patch-daemon.c
Normal file
39
mail/sendmail/files/patch-daemon.c
Normal file
@ -0,0 +1,39 @@
|
||||
--- sendmail/daemon.c 2001/08/01 03:19:45 1.1.1.3.2.6
|
||||
+++ sendmail/daemon.c 2001/09/09 19:31:37
|
||||
@@ -1877,17 +1877,6 @@
|
||||
gothostent:
|
||||
if (hp == NULL)
|
||||
{
|
||||
-# if NAMED_BIND
|
||||
- /* check for name server timeouts */
|
||||
- if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
- (errno == ECONNREFUSED && UseNameServer))
|
||||
- {
|
||||
- save_errno = errno;
|
||||
- mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
- errno = save_errno;
|
||||
- return EX_TEMPFAIL;
|
||||
- }
|
||||
-# endif /* NAMED_BIND */
|
||||
# if NETINET6
|
||||
/*
|
||||
** Try v6 first, then fall back to v4.
|
||||
@@ -1903,6 +1892,17 @@
|
||||
if (v6found)
|
||||
goto v6tempfail;
|
||||
# endif /* NETINET6 */
|
||||
+# if NAMED_BIND
|
||||
+ /* check for name server timeouts */
|
||||
+ if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
+ (errno == ECONNREFUSED && UseNameServer))
|
||||
+ {
|
||||
+ save_errno = errno;
|
||||
+ mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
+ errno = save_errno;
|
||||
+ return EX_TEMPFAIL;
|
||||
+ }
|
||||
+# endif /* NAMED_BIND */
|
||||
save_errno = errno;
|
||||
mci_setstat(mci, EX_NOHOST, "5.1.2", NULL);
|
||||
errno = save_errno;
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.11.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
|
||||
|
39
mail/sendmail811/files/patch-daemon.c
Normal file
39
mail/sendmail811/files/patch-daemon.c
Normal file
@ -0,0 +1,39 @@
|
||||
--- sendmail/daemon.c 2001/08/01 03:19:45 1.1.1.3.2.6
|
||||
+++ sendmail/daemon.c 2001/09/09 19:31:37
|
||||
@@ -1877,17 +1877,6 @@
|
||||
gothostent:
|
||||
if (hp == NULL)
|
||||
{
|
||||
-# if NAMED_BIND
|
||||
- /* check for name server timeouts */
|
||||
- if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
- (errno == ECONNREFUSED && UseNameServer))
|
||||
- {
|
||||
- save_errno = errno;
|
||||
- mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
- errno = save_errno;
|
||||
- return EX_TEMPFAIL;
|
||||
- }
|
||||
-# endif /* NAMED_BIND */
|
||||
# if NETINET6
|
||||
/*
|
||||
** Try v6 first, then fall back to v4.
|
||||
@@ -1903,6 +1892,17 @@
|
||||
if (v6found)
|
||||
goto v6tempfail;
|
||||
# endif /* NETINET6 */
|
||||
+# if NAMED_BIND
|
||||
+ /* check for name server timeouts */
|
||||
+ if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
+ (errno == ECONNREFUSED && UseNameServer))
|
||||
+ {
|
||||
+ save_errno = errno;
|
||||
+ mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
+ errno = save_errno;
|
||||
+ return EX_TEMPFAIL;
|
||||
+ }
|
||||
+# endif /* NAMED_BIND */
|
||||
save_errno = errno;
|
||||
mci_setstat(mci, EX_NOHOST, "5.1.2", NULL);
|
||||
errno = save_errno;
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sendmail
|
||||
PORTVERSION= 8.11.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
|
||||
|
39
mail/sendmail812/files/patch-daemon.c
Normal file
39
mail/sendmail812/files/patch-daemon.c
Normal file
@ -0,0 +1,39 @@
|
||||
--- sendmail/daemon.c 2001/08/01 03:19:45 1.1.1.3.2.6
|
||||
+++ sendmail/daemon.c 2001/09/09 19:31:37
|
||||
@@ -1877,17 +1877,6 @@
|
||||
gothostent:
|
||||
if (hp == NULL)
|
||||
{
|
||||
-# if NAMED_BIND
|
||||
- /* check for name server timeouts */
|
||||
- if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
- (errno == ECONNREFUSED && UseNameServer))
|
||||
- {
|
||||
- save_errno = errno;
|
||||
- mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
- errno = save_errno;
|
||||
- return EX_TEMPFAIL;
|
||||
- }
|
||||
-# endif /* NAMED_BIND */
|
||||
# if NETINET6
|
||||
/*
|
||||
** Try v6 first, then fall back to v4.
|
||||
@@ -1903,6 +1892,17 @@
|
||||
if (v6found)
|
||||
goto v6tempfail;
|
||||
# endif /* NETINET6 */
|
||||
+# if NAMED_BIND
|
||||
+ /* check for name server timeouts */
|
||||
+ if (errno == ETIMEDOUT || h_errno == TRY_AGAIN ||
|
||||
+ (errno == ECONNREFUSED && UseNameServer))
|
||||
+ {
|
||||
+ save_errno = errno;
|
||||
+ mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL);
|
||||
+ errno = save_errno;
|
||||
+ return EX_TEMPFAIL;
|
||||
+ }
|
||||
+# endif /* NAMED_BIND */
|
||||
save_errno = errno;
|
||||
mci_setstat(mci, EX_NOHOST, "5.1.2", NULL);
|
||||
errno = save_errno;
|
||||
|
Loading…
Reference in New Issue
Block a user