components/postfix/patches/02-solaris-db-type.patch
branchs11-update
changeset 4174 8faf7a4cc4e7
equal deleted inserted replaced
4173:8d9bea4f92c7 4174:8faf7a4cc4e7
       
     1 This patch originated in-house, to update the Solaris native DB type for
       
     2 aliases from "dbm" (which was correct for 2.6 and earlier) to "hash" (which
       
     3 has we have used since Solaris 7).  Upstream contribution is planned.
       
     4 
       
     5 --- postfix-2.11.3/src/util/sys_defs.h.orig	2013-09-29 13:51:55.000000000 -0700
       
     6 +++ postfix-2.11.3/src/util/sys_defs.h	2015-04-06 15:29:51.826173244 -0700
       
     7 @@ -429,7 +429,7 @@
       
     8  #define DEF_MAILBOX_LOCK "fcntl, dotlock"
       
     9  #define HAS_FSYNC
       
    10  #define HAS_DBM
       
    11 -#define NATIVE_DB_TYPE	"dbm"
       
    12 +#define NATIVE_DB_TYPE	"hash"
       
    13  #define ALIAS_DB_MAP	DEF_DB_TYPE ":/etc/mail/aliases"
       
    14  #ifndef NO_NIS
       
    15  #define HAS_NIS