| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include ${TOPDIR}/rules.mkPKG_NAME:=		dovecotPKG_VERSION:=		2.0.5PKG_RELEASE:=		1PKG_MD5SUM:=		7168c5bf40fdd38cceb99114547699b8PKG_DESCR:=		A minimal and secure imap serverPKG_SECTION:=		mailPKG_URL:=		http://www.dovecot.org/PKG_SITES:=		http://www.dovecot.org/releases/2.0/PKG_CHOICES:=		WITH_OPENSSL WITH_GNUTLSPKGCD_WITH_OPENSSL:=	use OpenSSL for cryptoPKGCS_WITH_OPENSSL:=	libopensslPKGCB_WITH_OPENSSL:=	opensslPKGCD_WITH_GNUTLS:=	use GnuTLS for cryptoPKGCS_WITH_GNUTLS:=	libgnutlsPKGCB_WITH_GNUTLS:=	gnutlsinclude ${TOPDIR}/mk/package.mk$(eval $(call PKG_template,DOVECOT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))CONFIGURE_ENV+=		RPCGEN='' \			ignore_signed_size=1 \			signed_size_t=no \			gmtime_max_time_t=32 \			fd_passing=yes \			lib_cv_va_copy=yes \			lib_cv___va_copy=yes \			lib_cv_va_val_copy=yes \			mmap_plays_with_write=yes \			i_cv_gmtime_max_time_t=31 \			i_cv_posix_fallocate_works=no \			i_cv_epoll_works=yes \			i_cv_signed_time_t=yes \			i_cv_mmap_plays_with_write=yes \			i_cv_signed_size_t=yes \			i_cv_c99_vsnprintf=yes \			i_cv_fd_passing=yesCONFIGURE_ARGS+=	--with-notify=none \			--without-gssapi \			--without-pam \			--with-ioloop=epoll \                	--with-moduledir=/usr/lib/dovecot/modulesifeq (${ADK_PACKAGE_DOVECOT_WITH_GNUTLS},y)CONFIGURE_ARGS+=	--with-ssl=gnutlsendififeq (${ADK_PACKAGE_DOVECOT_WITH_OPENSSL},y)CONFIGURE_ARGS+=	--with-ssl=opensslendifpost-install:	${INSTALL_DIR} ${IDIR_DOVECOT}/etc	${INSTALL_DIR} ${IDIR_DOVECOT}/usr/sbin	${INSTALL_DIR} ${IDIR_DOVECOT}/usr/libexec/dovecot	${INSTALL_DIR} ${IDIR_DOVECOT}/usr/lib/dovecot/modules	${INSTALL_DATA} ./files/dovecot.conf ${IDIR_DOVECOT}/etc	$(CP) ${WRKINST}/usr/lib/dovecot/modules/*.so \		${IDIR_DOVECOT}/usr/lib/dovecot/modules/	$(CP) ${WRKINST}/usr/libexec/dovecot/* \		${IDIR_DOVECOT}/usr/libexec/dovecot/	$(INSTALL_BIN) ${WRKINST}/usr/sbin/dovecot* \		${IDIR_DOVECOT}/usr/sbininclude ${TOPDIR}/mk/pkg-bottom.mk
 |