include $(TOPDIR)/rules.mk
PKG_NAME:=dovecot
-PKG_VERSION:=2.2.6
+PKG_VERSION:=2.2.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.dovecot.org/releases/2.2
-PKG_MD5SUM:=db65988ef2e6889dd8b49c132b21fc8f
+PKG_MD5SUM:=d2c7c83acc21f3dcab652868d40522e0
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
--- a/configure.ac
+++ b/configure.ac
-@@ -398,9 +398,9 @@ have_ioloop=no
+@@ -494,9 +494,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;
-@@ -559,7 +559,7 @@ AC_TRY_COMPILE([
+@@ -665,7 +665,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>
-@@ -568,6 +568,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
+@@ -674,6 +674,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
#if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
possibly broken posix_fallocate
#endif