components/postfix/patches/02-solaris-db-type.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 20 Sep 2016 16:27:38 -0700
changeset 6938 64f04bb4c3c3
parent 4079 4aab0107366d
permissions -rw-r--r--
PSARC 2016/506 lazy-object-proxy - version 1.2.2 PSARC 2016/507 isort - version 4.2.5 22353452 update pylint to 1.6.4 22353645 upgrade astroid to 1.4.8 23093943 Upgrade logilab-common to version 1.2.2 24479271 logilab-common lists unnecessary dependency on pyorbit 24507743 Add lazy-object-proxy version 1.2.2 to userland 24508347 Add isort version 4.2.5 to userland

This patch originated in-house, to update the Solaris native DB type for
aliases from "dbm" (which was correct for 2.6 and earlier) to "hash" (which
has we have used since Solaris 7).  Upstream contribution is planned.

--- postfix-2.11.3/src/util/sys_defs.h.orig	2013-09-29 13:51:55.000000000 -0700
+++ postfix-2.11.3/src/util/sys_defs.h	2015-04-06 15:29:51.826173244 -0700
@@ -429,7 +429,7 @@
 #define DEF_MAILBOX_LOCK "fcntl, dotlock"
 #define HAS_FSYNC
 #define HAS_DBM
-#define NATIVE_DB_TYPE	"dbm"
+#define NATIVE_DB_TYPE	"hash"
 #define ALIAS_DB_MAP	DEF_DB_TYPE ":/etc/mail/aliases"
 #ifndef NO_NIS
 #define HAS_NIS