View | Details | Raw Unified | Return to bug 183705 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-14 / +17 lines)
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"
(-)pkg-descr (-1 / +1 lines)
Lines 16-19 Link Here
16
     * Virtual mailbox support.
16
     * Virtual mailbox support.
17
     * Pop3 daemon.
17
     * Pop3 daemon.
18
18
19
WWW:	http://www.courier-mta.org/imap/
19
WWW: http://www.courier-mta.org/imap/
(-)pkg-plist (-1 / +9 lines)
Lines 28-33 Link Here
28
%%LIBEXECDIR%%/makedatprog
28
%%LIBEXECDIR%%/makedatprog
29
%%LIBEXECDIR%%/pop3d-ssl.rc
29
%%LIBEXECDIR%%/pop3d-ssl.rc
30
%%LIBEXECDIR%%/pop3d.rc
30
%%LIBEXECDIR%%/pop3d.rc
31
man/man1/couriertcpd.1.gz
32
man/man1/maildiracl.1.gz
33
man/man1/maildirkw.1.gz
34
man/man1/maildirmake.1.gz
35
man/man8/deliverquota.8.gz
36
man/man8/imapd.8.gz
37
man/man8/mkdhparams.8.gz
38
man/man8/mkimapdcert.8.gz
39
man/man8/mkpop3dcert.8.gz
31
sbin/imaplogin
40
sbin/imaplogin
32
sbin/mkdhparams
41
sbin/mkdhparams
33
sbin/mkimapdcert
42
sbin/mkimapdcert
Lines 54-60 Link Here
54
@dirrmtry var
63
@dirrmtry var
55
%%PORTDOCS%%@dirrm %%DOCSDIR%%
64
%%PORTDOCS%%@dirrm %%DOCSDIR%%
56
@dirrm share/courier-imap
65
@dirrm share/courier-imap
57
@dirrmtry %%LIBEXECDIR%%/authlib
58
@dirrm %%LIBEXECDIR%%
66
@dirrm %%LIBEXECDIR%%
59
@dirrm %%CONFDIR%%/shared
67
@dirrm %%CONFDIR%%/shared
60
@dirrm %%CONFDIR%%/shared.tmp
68
@dirrm %%CONFDIR%%/shared.tmp

Return to bug 183705