Prereq: "3.6.4" diff -ur --new-file /var/tmp/postfix-3.6.4/src/global/mail_version.h ./src/global/mail_version.h --- /var/tmp/postfix-3.6.4/src/global/mail_version.h 2022-01-14 17:58:14.000000000 -0500 +++ ./src/global/mail_version.h 2022-02-05 18:24:30.000000000 -0500 @@ -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 diff -ur --new-file /var/tmp/postfix-3.6.4/HISTORY ./HISTORY --- /var/tmp/postfix-3.6.4/HISTORY 2022-01-14 16:21:16.000000000 -0500 +++ ./HISTORY 2022-02-04 15:59:47.000000000 -0500 @@ -25725,3 +25725,13 @@ 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. diff -ur --new-file /var/tmp/postfix-3.6.4/src/util/dict_db.c ./src/util/dict_db.c --- /var/tmp/postfix-3.6.4/src/util/dict_db.c 2018-11-06 17:25:54.000000000 -0500 +++ ./src/util/dict_db.c 2022-02-04 15:55:06.000000000 -0500 @@ -753,7 +753,7 @@ 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) diff -ur --new-file /var/tmp/postfix-3.6.4/src/util/sys_defs.h ./src/util/sys_defs.h --- /var/tmp/postfix-3.6.4/src/util/sys_defs.h 2020-05-21 09:34:23.000000000 -0400 +++ ./src/util/sys_defs.h 2022-01-30 18:20:24.000000000 -0500 @@ -827,6 +827,9 @@ #define HAVE_POSIX_GETPW_R #endif #endif +#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34) +#define HAS_CLOSEFROM +#endif #endif