]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.5.1 v3.5.1
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:28:44 +0000 (14:28 -0400)
postfix/HISTORY
postfix/Makefile.in
postfix/makedefs
postfix/src/dns/dns.h
postfix/src/dns/dns_lookup.c
postfix/src/global/mail_version.h

index f41ef305f9b810ba49cf9b2d047a2912c38c49fc..3ba46cf5c6a11d7595465dd02e092aff1bec29f5 100644 (file)
@@ -24663,7 +24663,7 @@ Apologies for any names omitted.
 
        Usability: the Postfix SMTP server now logs a warning when
        a configuration requests access control by client certificate,
-       but "smtpd_tls_ask_clientcert = no".  Files: proto/postconf.proto,
+       but "smtpd_tls_ask_ccert = no". Files: proto/postconf.proto,
        smtpd/smtpd_check.c.
 
 20200316
@@ -24671,3 +24671,12 @@ Apologies for any names omitted.
        Removed the issuer_cn and subject_cn matches from
        check_ccert_access. Files: smtpd/smtpd_check.c,
        proto/postconf.proto.
+
+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.
index f70bd1444ee1f6005f9fb9584b88763a2653b15d..bffe77d5ef88793d46f8426e5ad482894b93ef09 100644 (file)
@@ -1,7 +1,7 @@
 # To test with valgrind:
 # make -i tests VALGRIND="valgrind --tool=memcheck --log-file=/some/where.%p" 
 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 93731c2afd307973816cb27124029bdd6a743a8c..aea15d6f3ec0ada751c195f58435101a730b465b 100644 (file)
@@ -1136,7 +1136,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 f758e44ad100c97f96d35c3c0e2a1a2b1f6e0b17..b8c4c4aa5cef911e7ffb124162c56d298c0a22b6 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 173775308599265d4c60f7c5a9b5d19accab1489..11c92813437d05d27cde8b50a3b3923edb69bba2 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*()
@@ -458,10 +461,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);
 
     /*
      * Can't append domains: we need the right SOA TTL.
index c52097e0799ace2e203e0638735f1c2f88033867..3896ea80f08f066e9f7303c1f50923d43006ca3e 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      "20200316"
-#define MAIL_VERSION_NUMBER    "3.5.0"
+#define MAIL_RELEASE_DATE      "20200418"
+#define MAIL_VERSION_NUMBER    "3.5.1"
 
 #ifdef SNAPSHOT
 #define MAIL_VERSION_DATE      "-" MAIL_RELEASE_DATE