include $(TOPDIR)/rules.mk
PKG_NAME:=dovecot
-PKG_VERSION:=2.2.8
+PKG_VERSION:=2.2.12
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.dovecot.org/releases/2.2
-PKG_MD5SUM:=c1594f7ffa470b6134a94c59fd85bbe8
+PKG_MD5SUM:=25395269fa2e0525e2d144d71d0450eb
PKG_BUILD_DEPENDS:=libiconv
--- a/configure.ac
+++ b/configure.ac
-@@ -494,9 +494,9 @@ have_ioloop=no
+@@ -504,9 +504,9 @@ have_ioloop=no
if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then
AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[
int main()
{
return epoll_create(5) < 1;
-@@ -665,7 +665,7 @@ fi
+@@ -675,7 +675,7 @@ fi
dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it.
dnl * It may also be broken in AIX.
AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
-@@ -674,6 +674,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
+@@ -684,6 +684,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
#if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
possibly broken posix_fallocate
#endif