blob: cad377d98a7d7b408d304a3a99b8afd185e95f2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dovecot
PKG_VERSION:= 2.2.19
PKG_RELEASE:= 1
PKG_HASH:= 759e1e3f9d907cdaabad1f5fbacc793ca191d234c084bec3bba42966952a4e9f
PKG_DESCR:= minimal and secure imap server
PKG_SECTION:= net/mail
PKG_URL:= http://www.dovecot.org/
PKG_SITES:= http://www.dovecot.org/releases/2.2/
PKG_CHOICES_DOVECOT:= WITH_LIBRESSL WITH_OPENSSL
PKGCD_WITH_LIBRESSL:= use libressl for crypto
PKGCB_WITH_LIBRESSL:= libressl
PKGCS_WITH_LIBRESSL:= libressl
PKGCD_WITH_OPENSSL:= use openssl for crypto
PKGCB_WITH_OPENSSL:= openssl
PKGCS_WITH_OPENSSL:= libopenssl
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
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='' \
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=yes
CONFIGURE_ARGS+= --with-notify=none \
--without-gssapi \
--without-pam \
--with-ioloop=epoll \
--with-moduledir=/usr/lib/dovecot/modules \
--with-ssl=openssl
dovecot-install:
$(INSTALL_DIR) $(IDIR_DOVECOT)/etc/dovecot
$(INSTALL_DIR) $(IDIR_DOVECOT)/usr/bin
$(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/* \
$(IDIR_DOVECOT)/etc/dovecot
$(CP) $(WRKINST)/usr/lib/dovecot/*.so* \
$(IDIR_DOVECOT)/usr/lib/dovecot/
$(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/sbin
$(INSTALL_BIN) $(WRKINST)/usr/bin/* \
$(IDIR_DOVECOT)/usr/bin
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|