]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.6.5 v3.6.5
authorWietse Venema <wietse@porcupine.org>
Sat, 5 Feb 2022 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sun, 6 Feb 2022 19:34:39 +0000 (14:34 -0500)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/util/dict_db.c
postfix/src/util/sys_defs.h

index 07f458c1c0e6e6cc1b1105524bffa24d72c95173..7f5b046c32a050fe0625772901df41f022efd711 100644 (file)
@@ -25725,3 +25725,13 @@ Apologies for any names omitted.
        proxy_read_maps default value, based on output from the
        mantools/missing-proxy-read-maps script.  File:
        global/mail_params.h.
+
+20220120
+
+       Bitrot: Glibc 2.34 implements closefrom(). File:
+       util/sys_defs.h.
+
+20220202
+
+       Bitrot: Berkeley DB 18 is like Berkeley DB 6. Yasuhiro
+       Kimura. File: util/dict_db.c.
index b995ab32466e304d9cd8b76cb4b583576db8a4f1..e982645744d92a8353bbc283b2f61dad1b2976fb 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      "20220114"
-#define MAIL_VERSION_NUMBER    "3.6.4"
+#define MAIL_RELEASE_DATE      "20220205"
+#define MAIL_VERSION_NUMBER    "3.6.5"
 
 #ifdef SNAPSHOT
 #define MAIL_VERSION_DATE      "-" MAIL_RELEASE_DATE
index 706d397a0f215b13bc24a06392fca8fa7c3ec378..c8bd5eb37a8029b965698d00fe1b2cc9a9dce24d 100644 (file)
@@ -753,7 +753,7 @@ static DICT *dict_db_open(const char *class, const char *path, int open_flags,
     if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
        msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
     db_base_buf = vstring_alloc(100);
-#if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
+#if DB_VERSION_MAJOR == 18 || DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
        (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
     if ((errno = db->open(db, 0, sane_basename(db_base_buf, db_path),
                          0, type, db_flags, 0644)) != 0)
index 2e1c953734eb3860df40cab315ea8185870af0f0..886d2a8b99e93d902133a5cc89c6f49dfe995650 100644 (file)
@@ -827,6 +827,9 @@ extern int initgroups(const char *, int);
 #define HAVE_POSIX_GETPW_R
 #endif
 #endif
+#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34)
+#define HAS_CLOSEFROM
+#endif
 
 #endif