Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= courier-imap |
4 |
PORTNAME= courier-imap |
5 |
PORTVERSION= 4.15 |
5 |
PORTVERSION= 4.15 |
|
|
6 |
PORTREVISION= 1 |
6 |
PORTEPOCH= 2 |
7 |
PORTEPOCH= 2 |
7 |
CATEGORIES= mail ipv6 |
8 |
CATEGORIES= mail ipv6 |
8 |
MASTER_SITES= SF/courier/imap/${PORTVERSION} |
9 |
MASTER_SITES= SF/courier/imap/${PORTVERSION} |
Lines 26-40
Link Here
|
26 |
MAKE_ENV:= ${CONFIGURE_ENV} |
27 |
MAKE_ENV:= ${CONFIGURE_ENV} |
27 |
|
28 |
|
28 |
# |
29 |
# |
29 |
NO_STAGE= yes |
|
|
30 |
# options available: |
30 |
# options available: |
31 |
# |
31 |
# |
32 |
# WITH_SYSLOG_FACILITY: The syslogfacility to use |
32 |
# WITH_SYSLOG_FACILITY: The syslogfacility to use |
33 |
# |
33 |
# |
34 |
|
34 |
|
35 |
OPTIONS_DEFINE= FAM TRASHQUOTA GDBM IPV6 |
35 |
OPTIONS_DEFINE= FAM TRASHQUOTA GDBM IPV6 GNUTLS |
36 |
FAM_DESC= Fam support for IDLE command |
36 |
FAM_DESC= Fam support for IDLE command |
37 |
TRASHQUOTA_DESC= Include deleted mails in the quota |
37 |
TRASHQUOTA_DESC= Include deleted mails in the quota |
|
|
38 |
GNUTLS_DESC= Use GnuTLS instead of OpenSSL (Enables SNI) |
38 |
FAM_USES= fam |
39 |
FAM_USES= fam |
39 |
|
40 |
|
40 |
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) |
41 |
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) |
Lines 57-62
Link Here
|
57 |
--with-locking-method=fcntl \ |
58 |
--with-locking-method=fcntl \ |
58 |
COURIERAUTHCONFIG=${PREFIX}/bin/courierauthconfig |
59 |
COURIERAUTHCONFIG=${PREFIX}/bin/courierauthconfig |
59 |
|
60 |
|
|
|
61 |
.include <bsd.port.options.mk> |
62 |
|
63 |
.if ${PORT_OPTIONS:MGNUTLS} |
64 |
CONFIGURE_ARGS+=--with-gnutls |
65 |
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls |
66 |
USES+= pkgconfig |
67 |
.endif |
68 |
|
60 |
.include <bsd.port.pre.mk> |
69 |
.include <bsd.port.pre.mk> |
61 |
|
70 |
|
62 |
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) |
71 |
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) |
Lines 70-76
Link Here
|
70 |
.if ${PORT_OPTIONS:MAUTH_USERDB} |
79 |
.if ${PORT_OPTIONS:MAUTH_USERDB} |
71 |
.if ${PORT_OPTIONS:MGDBM} |
80 |
.if ${PORT_OPTIONS:MGDBM} |
72 |
CONFIGURE_ARGS+=--with-db=gdbm --with-userdb=${USERDB} |
81 |
CONFIGURE_ARGS+=--with-db=gdbm --with-userdb=${USERDB} |
73 |
LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm |
82 |
LIB_DEPENDS+= libgdbm.so.4:${PORTSDIR}/databases/gdbm |
74 |
.else |
83 |
.else |
75 |
CONFIGURE_ARGS+=--with-db=db --with-userdb=${USERDB} |
84 |
CONFIGURE_ARGS+=--with-db=db --with-userdb=${USERDB} |
76 |
.endif |
85 |
.endif |
Lines 89-99
Link Here
|
89 |
LDFLAGS+= -L${LOCALBASE}/lib |
98 |
LDFLAGS+= -L${LOCALBASE}/lib |
90 |
.endif |
99 |
.endif |
91 |
|
100 |
|
92 |
MAN1= couriertcpd.1 maildiracl.1 maildirkw.1 \ |
|
|
93 |
maildirmake.1 |
94 |
|
95 |
MAN8= deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8 mkdhparams.8 |
96 |
|
97 |
EXTRA_DOCS= AUTHORS INSTALL NEWS \ |
101 |
EXTRA_DOCS= AUTHORS INSTALL NEWS \ |
98 |
libs/imap/ChangeLog \ |
102 |
libs/imap/ChangeLog \ |
99 |
libs/imap/README \ |
103 |
libs/imap/README \ |
Lines 121-136
Link Here
|
121 |
|
125 |
|
122 |
post-install: |
126 |
post-install: |
123 |
.for i in imapd pop3d |
127 |
.for i in imapd pop3d |
124 |
${INSTALL_DATA} ${WRKSRC}/libs/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist |
128 |
${INSTALL_DATA} ${WRKSRC}/libs/imap/${i}.cnf ${STAGEDIR}${CONFDIR}/${i}.cnf.dist |
125 |
.endfor |
129 |
.endfor |
126 |
.if ${PORT_OPTIONS:MDOCS} |
130 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
127 |
@${MKDIR} ${DOCSDIR} |
|
|
128 |
.for a in ${EXTRA_DOCS} |
131 |
.for a in ${EXTRA_DOCS} |
129 |
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR} |
132 |
${INSTALL_DATA} ${WRKSRC}/${a} ${STAGEDIR}${DOCSDIR} |
130 |
.endfor |
133 |
.endfor |
131 |
.endif |
|
|
132 |
|
134 |
|
133 |
cd ${WRKSRC} && ( ${GMAKE} install-configure ; cd - ) |
135 |
cd ${WRKSRC} && ( ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} \ |
|
|
136 |
install-configure ; cd - ) |
134 |
|
137 |
|
135 |
@${ECHO_MSG} "In case you use authpam, you should put the following lines" |
138 |
@${ECHO_MSG} "In case you use authpam, you should put the following lines" |
136 |
@${ECHO_MSG} "in your /etc/pam.d/imap" |
139 |
@${ECHO_MSG} "in your /etc/pam.d/imap" |