diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-07-22 16:46:36 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-08-06 15:43:50 -0400 |
commit | 7288637bcfdc483aaf0bd480a95ac135bb11be3a (patch) | |
tree | cf8166bd7cdb0d68967d3236a83d2251ebdca086 /meta-networking | |
parent | 6aa74f9fca42acab8096dd0259f1cc87eb625a7f (diff) | |
download | meta-openembedded-7288637bcfdc483aaf0bd480a95ac135bb11be3a.tar.gz |
dovecot: upgrade 2.2.10 -> 2.2.18
Dropped building-rquota_xdr.c-depend-on-rquota.h.patch,since 2.2.18 fixed the problem.
Update 0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch,since
the file configure.ac has been changed.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch | 57 | ||||
-rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/building-rquota_xdr.c-depend-on-rquota.h.patch | 28 | ||||
-rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.2.18.bb (renamed from meta-networking/recipes-support/dovecot/dovecot_2.2.10.bb) | 7 |
3 files changed, 19 insertions, 73 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch index 6f5c279be..f86235076 100644 --- a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch +++ b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch | |||
@@ -1,21 +1,23 @@ | |||
1 | From 483f120603ada8db680085e3f462396da937e036 Mon Sep 17 00:00:00 2001 | 1 | From 07150f3a27681e034f18ab2ed2b68914c1e10af6 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> |
3 | Date: Wed, 8 Jan 2014 09:30:36 +0100 | 3 | Date: Sat, 18 Jul 2015 05:03:57 +0900 |
4 | Subject: [PATCH] configure.ac: convert AC_TRY_RUN to AC_TRY_LINK statements | 4 | Subject: [PATCH] configure.ac: convert AC_TRY_RUN to AC_TRY_LINK statements |
5 | 5 | ||
6 | This is not completely safe, but it's the least invasive fix. | 6 | This is not completely safe, but it's the least invasive fix. |
7 | 7 | ||
8 | Upstream-Status: pending | ||
9 | |||
8 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 10 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
9 | Upstream-status: Inappropriate | 11 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> |
10 | --- | 12 | --- |
11 | configure.ac | 23 +++++++---------------- | 13 | configure.ac | 15 +++++---------- |
12 | 1 file changed, 7 insertions(+), 16 deletions(-) | 14 | 1 file changed, 5 insertions(+), 10 deletions(-) |
13 | 15 | ||
14 | diff --git a/configure.ac b/configure.ac | 16 | diff --git a/configure.ac b/configure.ac |
15 | index 95984bb..dff1f87 100644 | 17 | index 3b32614..94ec002 100644 |
16 | --- a/configure.ac | 18 | --- a/configure.ac |
17 | +++ b/configure.ac | 19 | +++ b/configure.ac |
18 | @@ -499,13 +499,10 @@ have_ioloop=no | 20 | @@ -519,13 +519,10 @@ have_ioloop=no |
19 | 21 | ||
20 | if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then | 22 | if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then |
21 | AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[ | 23 | AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[ |
@@ -27,39 +29,12 @@ index 95984bb..dff1f87 100644 | |||
27 | - { | 29 | - { |
28 | - return epoll_create(5) < 1; | 30 | - return epoll_create(5) < 1; |
29 | - } | 31 | - } |
30 | + ], [ | ||
31 | + epoll_create(5) < 1; | ||
32 | ], [ | ||
33 | i_cv_epoll_works=yes | ||
34 | ], [ | ||
35 | @@ -551,15 +548,13 @@ have_notify=none | ||
36 | if test "$notify" = "" || test "$notify" = "inotify" ; then | ||
37 | dnl * inotify? | ||
38 | AC_CACHE_CHECK([whether we can use inotify],i_cv_inotify_works,[ | ||
39 | - AC_TRY_RUN([ | ||
40 | + AC_TRY_LINK([ | ||
41 | #define _GNU_SOURCE | ||
42 | #include <sys/ioctl.h> | ||
43 | #include <fcntl.h> | ||
44 | #include <sys/inotify.h> | ||
45 | #include <stdio.h> | ||
46 | - | ||
47 | - int main() | ||
48 | - { | ||
49 | + ], [ | 32 | + ], [ |
50 | int wd, fd; | 33 | + epoll_create(5) < 1; |
51 | char * fn = "/tmp"; | ||
52 | |||
53 | @@ -581,8 +576,6 @@ if test "$notify" = "" || test "$notify" = "inotify" ; then | ||
54 | inotify_rm_watch (fd, wd); | ||
55 | |||
56 | close (fd); | ||
57 | - return 0; | ||
58 | - } | ||
59 | ], [ | 34 | ], [ |
60 | i_cv_inotify_works=yes | 35 | i_cv_epoll_works=yes |
61 | ], [ | 36 | ], [ |
62 | @@ -670,7 +663,7 @@ fi | 37 | @@ -653,7 +650,7 @@ fi |
63 | dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. | 38 | dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. |
64 | dnl * It may also be broken in AIX. | 39 | dnl * It may also be broken in AIX. |
65 | AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ | 40 | AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ |
@@ -68,16 +43,16 @@ index 95984bb..dff1f87 100644 | |||
68 | #define _XOPEN_SOURCE 600 | 43 | #define _XOPEN_SOURCE 600 |
69 | #include <stdio.h> | 44 | #include <stdio.h> |
70 | #include <stdlib.h> | 45 | #include <stdlib.h> |
71 | @@ -679,7 +672,7 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ | 46 | @@ -662,7 +659,7 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ |
72 | #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) | 47 | #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) |
73 | possibly broken posix_fallocate | 48 | possibly broken posix_fallocate |
74 | #endif | 49 | #endif |
75 | - int main() { | 50 | - int main() { |
76 | + ], [ | 51 | + ], [ |
77 | int fd = creat("conftest.temp", 0600); | 52 | int fd = creat("conftest.temp", 0600); |
78 | int ret; | 53 | int ret; |
79 | if (fd == -1) { | 54 | if (fd == -1) { |
80 | @@ -688,8 +681,6 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ | 55 | @@ -671,8 +668,6 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ |
81 | } | 56 | } |
82 | ret = posix_fallocate(fd, 1024, 1024) < 0 ? 1 : 0; | 57 | ret = posix_fallocate(fd, 1024, 1024) < 0 ? 1 : 0; |
83 | unlink("conftest.temp"); | 58 | unlink("conftest.temp"); |
diff --git a/meta-networking/recipes-support/dovecot/dovecot/building-rquota_xdr.c-depend-on-rquota.h.patch b/meta-networking/recipes-support/dovecot/dovecot/building-rquota_xdr.c-depend-on-rquota.h.patch deleted file mode 100644 index 11d9d8c0d..000000000 --- a/meta-networking/recipes-support/dovecot/dovecot/building-rquota_xdr.c-depend-on-rquota.h.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | [PATCH] building rquota_xdr.c depends on rquota.h | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | rquota.h is generated automatically, and building rquota_xdr.c | ||
6 | needs rquota.h, so add the dependency on rquota.h for rquota_xdr.c | ||
7 | |||
8 | Signed-off-by: rongqing li <rli2@yow-blade4.wrs.com> | ||
9 | --- | ||
10 | src/plugins/quota/Makefile.am | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/plugins/quota/Makefile.am b/src/plugins/quota/Makefile.am | ||
14 | index 8a6988d..3626d79 100644 | ||
15 | --- a/src/plugins/quota/Makefile.am | ||
16 | +++ b/src/plugins/quota/Makefile.am | ||
17 | @@ -70,7 +70,7 @@ RQUOTA_XDR = rquota_xdr.c | ||
18 | RQUOTA_XDR_LO = rquota_xdr.lo | ||
19 | #RQUOTA_X = /usr/include/rpcsvc/rquota.x | ||
20 | RQUOTA_X = $(srcdir)/rquota.x | ||
21 | -rquota_xdr.c: Makefile $(RQUOTA_X) | ||
22 | +rquota_xdr.c: Makefile $(RQUOTA_X) rquota.h | ||
23 | if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \ | ||
24 | cp $(RQUOTA_X) $(top_builddir)/src/plugins/quota/; \ | ||
25 | fi; \ | ||
26 | -- | ||
27 | 1.8.2.1 | ||
28 | |||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.10.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.18.bb index 4b2f6c025..9b5f53613 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.2.10.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.18.bb | |||
@@ -6,14 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a981379bd0f1c362f8d1d21515e5b30b" | |||
6 | 6 | ||
7 | SRC_URI = "http://dovecot.org/releases/2.2/dovecot-${PV}.tar.gz \ | 7 | SRC_URI = "http://dovecot.org/releases/2.2/dovecot-${PV}.tar.gz \ |
8 | file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \ | 8 | file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \ |
9 | file://building-rquota_xdr.c-depend-on-rquota.h.patch \ | ||
10 | file://dovecot.service \ | 9 | file://dovecot.service \ |
11 | file://dovecot.socket" | 10 | file://dovecot.socket" |
12 | 11 | ||
13 | SRC_URI[md5sum] = "037e9c9e07d9dbff54dcff09f280fc8c" | 12 | SRC_URI[md5sum] = "1e42eb3b69544c447ad882d7858f3630" |
14 | SRC_URI[sha256sum] = "75592483d40dc4f76cc3b41af40caa4be80478946a699d46846d5d03e4d2e09b" | 13 | SRC_URI[sha256sum] = "b6d8468cea47f1227f47b80618f7fb872e2b2e9d3302adc107a005dd083865bb" |
15 | 14 | ||
16 | DEPENDS = "openssl xz zlib bzip2 libcap" | 15 | DEPENDS = "openssl xz zlib bzip2 libcap icu" |
17 | 16 | ||
18 | inherit autotools pkgconfig systemd useradd | 17 | inherit autotools pkgconfig systemd useradd |
19 | 18 | ||