python3: update to 3.11.10
[openadk.git] / package / dovecot / Makefile
blobb5eb26ef18a442beaada677c3083dfdb39813c10
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= dovecot
7 PKG_VERSION:= 2.2.28
8 PKG_RELEASE:= 1
9 PKG_HASH:= e0288f59e326ab87cb3881fdabadafe542f4dc7ab9996db13863a439ebbc1f25
10 PKG_DESCR:= minimal and secure imap server
11 PKG_SECTION:= net/mail
12 PKG_DEPENDS:= libressl
13 PKG_BUILDDEP:= libressl
14 PKG_URL:= http://www.dovecot.org/
15 PKG_SITES:= http://www.dovecot.org/releases/2.2/
17 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,DOVECOT,dovecot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
23 CONFIGURE_ENV+= RPCGEN='' \
24 ignore_signed_size=1 \
25 signed_size_t=no \
26 gmtime_max_time_t=32 \
27 fd_passing=yes \
28 lib_cv_va_copy=yes \
29 lib_cv___va_copy=yes \
30 lib_cv_va_val_copy=yes \
31 mmap_plays_with_write=yes \
32 i_cv_gmtime_max_time_t=31 \
33 i_cv_posix_fallocate_works=no \
34 i_cv_epoll_works=yes \
35 i_cv_signed_time_t=yes \
36 i_cv_mmap_plays_with_write=yes \
37 i_cv_signed_size_t=yes \
38 i_cv_c99_vsnprintf=yes \
39 i_cv_fd_passing=yes
40 CONFIGURE_ARGS+= --with-notify=none \
41 --without-gssapi \
42 --without-pam \
43 --with-ioloop=epoll \
44 --with-moduledir=/usr/lib/dovecot/modules \
45 --with-ssl=openssl
47 dovecot-install:
48 $(INSTALL_DIR) $(IDIR_DOVECOT)/etc/dovecot
49 $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/bin
50 $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/sbin
51 $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/libexec/dovecot
52 $(INSTALL_DIR) $(IDIR_DOVECOT)/usr/lib/dovecot/modules
53 $(CP) $(WRKINST)/usr/share/doc/dovecot/example-config/* \
54 $(IDIR_DOVECOT)/etc/dovecot
55 $(CP) $(WRKINST)/usr/lib/dovecot/*.so* \
56 $(IDIR_DOVECOT)/usr/lib/dovecot/
57 $(CP) $(WRKINST)/usr/lib/dovecot/modules/*.so \
58 $(IDIR_DOVECOT)/usr/lib/dovecot/modules/
59 $(CP) $(WRKINST)/usr/libexec/dovecot/* \
60 $(IDIR_DOVECOT)/usr/libexec/dovecot/
61 $(INSTALL_BIN) $(WRKINST)/usr/sbin/dovecot* \
62 $(IDIR_DOVECOT)/usr/sbin
63 $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
64 $(IDIR_DOVECOT)/usr/bin
66 include $(ADK_TOPDIR)/mk/pkg-bottom.mk