summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-06-19 16:58:03 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-07-16 11:14:40 -0400
commit13335849c35fb61660248d6b4c0d8da4031f3635 (patch)
tree64f1b20cb99d5c6b75133bc93a741728961103e8 /meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch
parent8e642c32bb59e4b93f514174bb8203d9aee93d2e (diff)
downloadmeta-openembedded-13335849c35fb61660248d6b4c0d8da4031f3635.tar.gz
postfix: upgrade from 2.11.1 to 3.0.1
1.Remove postfix-add-db6-support.patch which is not needed, since it is backported from upstream. 2.update install.patch and makedefs.patch that context changes. 3.Install smtp-sink which listens on the named host (or address) and port. It takes SMTP messages from the network and throws them away. Ref: http://www.postfix.org/smtp-sink.1.html Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch')
-rw-r--r--meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch b/meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch
deleted file mode 100644
index e3e28c8430..0000000000
--- a/meta-networking/recipes-daemons/postfix/files/postfix-add-db6-support.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Subject: [PATCH] add db6 support db6
2
3Upstream-Status: Backport
4
5Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
6---
7 src/util/dict_db.c | 3 ++-
8 1 files changed, 2 insertions(+), 1 deletions(-)
9
10diff --git a/src/util/dict_db.c b/src/util/dict_db.c
11index 93ee480..f1ae66b 100644
12--- a/src/util/dict_db.c
13+++ b/src/util/dict_db.c
14@@ -693,7 +693,8 @@ static DICT *dict_db_open(const char *class, const char *path, int open_flags,
15 msg_fatal("set DB cache size %d: %m", dict_db_cache_size);
16 if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
17 msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
18-#if DB_VERSION_MAJOR == 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
19+#if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
20+ (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
21 if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)
22 FREE_RETURN(dict_surrogate(class, path, open_flags, dict_flags,
23 "open database %s: %m", db_path));
24--
251.7.1
26