summaryrefslogtreecommitdiff
path: root/package/postfix/patches/patch-src_util_sys_defs_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/postfix/patches/patch-src_util_sys_defs_h')
-rw-r--r--package/postfix/patches/patch-src_util_sys_defs_h20
1 files changed, 9 insertions, 11 deletions
diff --git a/package/postfix/patches/patch-src_util_sys_defs_h b/package/postfix/patches/patch-src_util_sys_defs_h
index 253463f83..ecc7fc219 100644
--- a/package/postfix/patches/patch-src_util_sys_defs_h
+++ b/package/postfix/patches/patch-src_util_sys_defs_h
@@ -1,15 +1,13 @@
---- postfix-2.8.7.orig/src/util/sys_defs.h 2011-11-03 00:46:22.000000000 +0100
-+++ postfix-2.8.7/src/util/sys_defs.h 2011-12-04 11:50:06.187711393 +0100
-@@ -721,10 +721,8 @@ extern int initgroups(const char *, int)
- #define INTERNAL_LOCK MYFLOCK_STYLE_FLOCK
+--- postfix-2.10.2.orig/src/util/sys_defs.h 2012-09-25 01:53:56.000000000 +0200
++++ postfix-2.10.2/src/util/sys_defs.h 2013-10-10 16:30:37.000000000 +0200
+@@ -753,8 +753,8 @@ extern int initgroups(const char *, int)
#define DEF_MAILBOX_LOCK "fcntl, dotlock" /* RedHat >= 4.x */
#define HAS_FSYNC
--#define HAS_DB
+ #define HAS_DB
-#define DEF_DB_TYPE "hash"
-#define ALIAS_DB_MAP "hash:/etc/aliases"
--#define HAS_NIS
-+#define DEF_DB_TYPE "cdb"
-+#define ALIAS_DB_MAP "cdb:/etc/postfix/aliases"
- #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
- #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
- #define FIONREAD_IN_TERMIOS_H
++#define DEF_DB_TYPE "cdb"
++#define ALIAS_DB_MAP "cdb:/etc/postfix/aliases"
+ #ifndef NO_NIS
+ #define HAS_NIS
+ #endif