Waldemar Brodkorb 3 дней назад
Родитель
Сommit
c9b1567869
1 измененных файлов с 10 добавлено и 5 удалено
  1. 10 5
      package/dovecot/Makefile

+ 10 - 5
package/dovecot/Makefile

@@ -4,15 +4,17 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		dovecot
-PKG_VERSION:=		2.2.28
+PKG_VERSION:=		2.4.3
 PKG_RELEASE:=		1
-PKG_HASH:=		e0288f59e326ab87cb3881fdabadafe542f4dc7ab9996db13863a439ebbc1f25
+PKG_HASH:=		ff0be85228122f250627b19e67505fdb7fb2f72a702ef6bf35f27fce54c072e5
 PKG_DESCR:=		minimal and secure imap server
 PKG_SECTION:=		net/mail
 PKG_DEPENDS:=		libopenssl
+PKG_KDEPENDS:=		inotify-user
 PKG_BUILDDEP:=		openssl
+PKG_NEEDS:=		iconv
 PKG_URL:=		http://www.dovecot.org/
-PKG_SITES:=		http://www.dovecot.org/releases/2.2/
+PKG_SITES:=		http://www.dovecot.org/releases/2.4/
 
 DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tar.gz
 
@@ -21,6 +23,7 @@ include $(ADK_TOPDIR)/mk/package.mk
 $(eval $(call PKG_template,DOVECOT,dovecot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
 
 CONFIGURE_ENV+=		RPCGEN='' \
+			ac_cv_func_malloc_usable_size=no \
 			ignore_signed_size=1 \
 			signed_size_t=no \
 			gmtime_max_time_t=32 \
@@ -37,9 +40,11 @@ CONFIGURE_ENV+=		RPCGEN='' \
 			i_cv_signed_size_t=yes \
 			i_cv_c99_vsnprintf=yes \
 			i_cv_fd_passing=yes
-CONFIGURE_ARGS+=	--with-notify=none \
+CONFIGURE_ARGS+=	--with-notify=inotify \
+			--enable-hardening=no \
 			--without-gssapi \
 			--without-pam \
+			--with-lua=no \
 			--with-ioloop=epoll \
                 	--with-moduledir=/usr/lib/dovecot/modules \
 			--with-ssl=openssl
@@ -50,7 +55,7 @@ dovecot-install:
 	$(INSTALL_DIR) $(IDIR_DOVECOT)/usr/sbin
 	$(INSTALL_DIR) $(IDIR_DOVECOT)/usr/libexec/dovecot
 	$(INSTALL_DIR) $(IDIR_DOVECOT)/usr/lib/dovecot/modules
-	$(CP) $(WRKINST)/usr/share/doc/dovecot/example-config/* \
+	$(CP) $(WRKINST)/etc/dovecot/dovecot.conf \
 		$(IDIR_DOVECOT)/etc/dovecot
 	$(CP) $(WRKINST)/usr/lib/dovecot/*.so* \
 		$(IDIR_DOVECOT)/usr/lib/dovecot/