]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.12-20140516
authorWietse Venema <wietse@porcupine.org>
Fri, 16 May 2014 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Mon, 19 May 2014 14:28:28 +0000 (10:28 -0400)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/pipe/pipe.c
postfix/src/util/dict_db.c

index 41b21d70f42c1c29aad4b06259a046e1032884f8..f9b9ef621708e3ce6af9d25b3f6d93c213fd1c7b 100644 (file)
@@ -19716,8 +19716,17 @@ Apologies for any names omitted.
        poorly reflected their purpose. "DEAD" is replaced with
        "FORBIDDEN" (no I/O allowed) and "BAD" is replaced with
        "THROTTLED" (anything that causes the queue manager to back
-       off from some destination). Files: smtp.h, smtp_coonnect.c,
+       off from some destination). Files: smtp.h, smtp_connect.c,
        smtp_proto.c, smtp_trouble.c.
 
        Cleanup: enable SMTP connection cache lookup by destination
        while a surge of mail is drying up. File: smtp_connect.c.
+
+20140512
+
+       Portability: Berkeley DB6 support. File: util/dict_db.c.
+
+20140515
+
+       Bugfix (introduced: 20140320): missing initialization.
+       Viktor Dukhovni. File pipe/pipe.c.
index 73c31170a3049e5104744fbd293bc53f7343e6a1..1531aca66e7ae382c2e28da6d15fada6aab9e855 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20140508"
+#define MAIL_RELEASE_DATE      "20140516"
 #define MAIL_VERSION_NUMBER    "2.12"
 
 #ifdef SNAPSHOT
index d63aca845a6077d7ef499749baf72562c187aabb..954fecfaf50d68a73b78aea126406fc977ec9d52 100644 (file)
@@ -1341,6 +1341,7 @@ int     main(int argc, char **argv)
 
     single_server_main(argc, argv, pipe_service,
                       MAIL_SERVER_TIME_TABLE, time_table,
+                      MAIL_SERVER_STR_TABLE, str_table,
                       MAIL_SERVER_PRE_INIT, pre_init,
                       MAIL_SERVER_POST_INIT, drop_privileges,
                       MAIL_SERVER_PRE_ACCEPT, pre_accept,
index 93ee48098fa4025db936a167abee13eb35d5a306..4a09939a55b582d4d8d90ba9793ac39c92d8dab8 100644 (file)
@@ -89,7 +89,7 @@
 #define DONT_CLOBBER                   DB_NOOVERWRITE
 #endif
 
-#if (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR < 6)
+#if (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR <= 6)
 #define DICT_DB_CURSOR(db, curs)       (db)->cursor((db), NULL, (curs))
 #else
 #define DICT_DB_CURSOR(db, curs)       (db)->cursor((db), NULL, (curs), 0)
@@ -693,7 +693,8 @@ static DICT *dict_db_open(const char *class, const char *path, int open_flags,
        msg_fatal("set DB cache size %d: %m", dict_db_cache_size);
     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);
-#if DB_VERSION_MAJOR == 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
+#if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
+       (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
     if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)
        FREE_RETURN(dict_surrogate(class, path, open_flags, dict_flags,
                                   "open database %s: %m", db_path));