]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.2.14 v3.2.14
authorWietse Venema <wietse@porcupine.org>
Sat, 18 Apr 2020 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Mon, 20 Apr 2020 18:22:14 +0000 (14:22 -0400)
postfix/HISTORY
postfix/Makefile.in
postfix/makedefs
postfix/src/dns/dns.h
postfix/src/dns/dns_lookup.c
postfix/src/dns/dns_str_resflags.c
postfix/src/global/mail_version.h
postfix/src/util/sys_defs.h

index 399f8762221c33d0c6d0a1857e5feb8cb6e6ffc2..653bccb5374f879a5999ffed37982610e7f2f2eb 100644 (file)
@@ -23265,3 +23265,17 @@ Apologies for any names omitted.
        multi-Milter configuration during MAIL FROM. Milter client
        state was not properly reset after one of the Milters failed.
        Reported by WeiYu Wu.
+
+20200416
+
+       Workaround for broken builds after an incompatible change
+       in GCC 10. Files: makedefs, Makefile.in.
+
+       Workaround for broken DANE support after an incompatible
+       change in GLIBC 2.31. This avoids the need for new options
+       in /etc/resolv.conf. Files: dns/dns.h, dns/dns_lookup.c.
+
+20200418
+
+       Bitrot: LINUX5, GLIBC resolver flags. Files: makedefs,
+       util/sys_defs.h, dns/dns_str_resflags.c.
index 04efd1aac191ed3f88372b48c2e2461219a15085..b1c5cb8313d26c3460a4fdbc5e2733a33c398464 100644 (file)
@@ -1,5 +1,5 @@
 SHELL  = /bin/sh
-WARN    = -Wmissing-prototypes -Wformat -Wno-comment
+WARN    = -Wmissing-prototypes -Wformat -Wno-comment -fcommon
 OPTS   = 'WARN=$(WARN)'
 DIRS   = src/util src/global src/dns src/tls src/xsasl src/master src/milter \
        src/postfix src/fsstone src/smtpstone \
index 7bfe82c91a93773e4917d69c1f19c9221f852ede..3b3e862869c66d53df37999248c45ffe93485882 100644 (file)
@@ -543,7 +543,7 @@ EOF
                : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
                : ${PLUGIN_LD="${CC-gcc} -shared"}
                ;;
 Linux.[34].*)        SYSTYPE=LINUX$RELEASE_MAJOR
Linux.[345].*)        SYSTYPE=LINUX$RELEASE_MAJOR
                case "$CCARGS" in
                 *-DNO_DB*) ;;
                 *-DHAS_DB*) ;;
@@ -1120,7 +1120,7 @@ esac
 : ${CC=gcc} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} \
 ${WARN='-Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \
        -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
-       -Wunused -Wno-missing-braces'}
+       -Wunused -Wno-missing-braces -fcommon'}
 
 # Extract map type names from -DHAS_XXX compiler options.  We avoid
 # problems with tr(1) range syntax by using enumerations instead,
index 8ea5b91780d0a56d3d3721d9942ff4d4f73a9ff4..c2462b98208ffe57a6e0e90583609f0cc87a207b 100644 (file)
@@ -59,6 +59,7 @@
  */
 #ifdef NO_DNSSEC
 #undef RES_USE_DNSSEC
+#undef RES_TRUSTAD
 #endif
 
  /*
@@ -69,6 +70,9 @@
 #endif
 #ifndef RES_USE_EDNS0
 #define RES_USE_EDNS0  0
+#endif
+#ifndef RES_TRUSTAD
+#define RES_TRUSTAD    0
 #endif
 
  /*-
index 1bfeb7ee68abd2e2da5d51ce6210b9bc7b95b4f1..2ae64836aa287c1f7a97f2698dbf986aa9ac6bf0 100644 (file)
 /*     Request DNSSEC validation. This flag is silently ignored
 /*     when the system stub resolver API, resolver(3), does not
 /*     implement DNSSEC.
+/*     Automatically turns on the RES_TRUSTAD flag on systems that
+/*     support this flag (this behavior will be more configurable
+/*     in a later release).
 /* .RE
 /* .IP lflags
 /*     Flags that control the operation of the dns_lookup*()
@@ -453,10 +456,10 @@ static int dns_query(const char *name, int type, unsigned flags,
     /*
      * Set extra options that aren't exposed to the application.
      */
-#define XTRA_FLAGS (RES_USE_EDNS0)
+#define XTRA_FLAGS (RES_USE_EDNS0 | RES_TRUSTAD)
 
     if (flags & RES_USE_DNSSEC)
-       flags |= RES_USE_EDNS0;
+       flags |= (RES_USE_EDNS0 | RES_TRUSTAD);
 
     /*
      * Save and restore resolver options that we overwrite, to avoid
index 5f2cce5e0df9c980c3b0c9234c0c85c83fd5a9ac..df32345addb956c538a0feceff8df9b585ddeecd 100644 (file)
@@ -60,10 +60,16 @@ static const LONG_NAME_MASK resflag_table[] = {
     "RES_DEFNAMES", RES_DEFNAMES,
     "RES_STAYOPEN", RES_STAYOPEN,
     "RES_DNSRCH", RES_DNSRCH,
+#ifdef RES_INSECURE1
     "RES_INSECURE1", RES_INSECURE1,
+#endif
+#ifdef RES_INSECURE2
     "RES_INSECURE2", RES_INSECURE2,
+#endif
     "RES_NOALIASES", RES_NOALIASES,
+#ifdef RES_USE_INET6
     "RES_USE_INET6", RES_USE_INET6,
+#endif
 #ifdef RES_ROTATE
     "RES_ROTATE", RES_ROTATE,
 #endif
index 199d457aa4288885e52d71f1484a7a1daa14dd50..0e973f21f483fdd326ee22504e7ca59803bc4d45 100644 (file)
@@ -20,8 +20,8 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20200312"
-#define MAIL_VERSION_NUMBER    "3.2.13"
+#define MAIL_RELEASE_DATE      "20200418"
+#define MAIL_VERSION_NUMBER    "3.2.14"
 
 #ifdef SNAPSHOT
 #define MAIL_VERSION_DATE      "-" MAIL_RELEASE_DATE
index 3f570c46aa6ca74e8853775a54abc80aec1354e0..439ea9d23ce41af72b9ec12ab331de25674f8ccf 100644 (file)
@@ -748,7 +748,7 @@ extern int initgroups(const char *, int);
  /*
   * LINUX.
   */
-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5)
 #define SUPPORTED
 #define UINT32_TYPE    unsigned int
 #define UINT16_TYPE    unsigned short