components/postfix/patches/02-solaris-db-type.patch
author Misaki Miyashita <Misaki.Miyashita@Oracle.COM>
Thu, 13 Oct 2016 14:47:30 -0700
changeset 7103 398c9d0ab0f3
parent 4079 4aab0107366d
permissions -rw-r--r--
24588300 OpenSSL FIPS work based on 1.0.2 for Oracle Solaris: Phase I 20800792 openssl-1.0.1-fips-140: using obsolete -xarch option
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4079
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
This patch originated in-house, to update the Solaris native DB type for
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
aliases from "dbm" (which was correct for 2.6 and earlier) to "hash" (which
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
has we have used since Solaris 7).  Upstream contribution is planned.
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
--- postfix-2.11.3/src/util/sys_defs.h.orig	2013-09-29 13:51:55.000000000 -0700
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
+++ postfix-2.11.3/src/util/sys_defs.h	2015-04-06 15:29:51.826173244 -0700
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
@@ -429,7 +429,7 @@
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
 #define DEF_MAILBOX_LOCK "fcntl, dotlock"
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
 #define HAS_FSYNC
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
 #define HAS_DBM
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
-#define NATIVE_DB_TYPE	"dbm"
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
+#define NATIVE_DB_TYPE	"hash"
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
 #define ALIAS_DB_MAP	DEF_DB_TYPE ":/etc/mail/aliases"
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
 #ifndef NO_NIS
4aab0107366d PSARC 2014/382 Postfix
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
 #define HAS_NIS