View | Details | Raw Unified | Return to bug 142733
Collapse All | Expand All

(-)Makefile (-11 / +12 lines)
Lines 15-26 Link Here
15
		ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/
15
		ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/
16
MASTER_SITE_SUBDIR=	. old
16
MASTER_SITE_SUBDIR=	. old
17
PKGNAMESUFFIX=	-uw
17
PKGNAMESUFFIX=	-uw
18
DISTNAME=	imap-${PORTVERSION}
19
DISTFILES=	${DISTNAME}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}
20
18
21
MAINTAINER=	anders@FreeBSD.org
19
MAINTAINER=	anders@FreeBSD.org
22
COMMENT=	University of Washington IMAP4rev1/POP2/POP3 mail servers
20
COMMENT=	University of Washington IMAP4rev1/POP2/POP3 mail servers
23
21
22
LIB_DEPENDS=	c-client4.9:${PORTSDIR}/mail/cclient
23
24
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
25
SUB_FILES=	pkg-message
26
27
MAN1=		dmail.1 mailutil.1 tmail.1
28
MAN8=		ipopd.8 imapd.8
29
30
ALL_TARGET=	bsf
31
24
# This port must have the same SSL settings as mail/cclient, which it depends on
32
# This port must have the same SSL settings as mail/cclient, which it depends on
25
# To make MBX format the default mailbox format, change the settings of cclient
33
# To make MBX format the default mailbox format, change the settings of cclient
26
34
Lines 29-49 Link Here
29
		DRAC "Dynamically open MTA for relaying" off \
37
		DRAC "Dynamically open MTA for relaying" off \
30
		NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off
38
		NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off
31
39
32
.include <bsd.port.pre.mk>
40
.include <bsd.port.options.mk>
33
41
34
LIB_DEPENDS=	c-client4.9:${PORTSDIR}/mail/cclient
35
.if defined(WITH_DRAC)
42
.if defined(WITH_DRAC)
36
BUILD_DEPENDS=	${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
43
BUILD_DEPENDS=	${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
37
MAKE_ARGS+=	WITH_DRAC=yes
44
MAKE_ARGS+=	WITH_DRAC=yes
38
.endif
45
.endif
39
46
40
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
41
WRKSRC=		${WRKDIR}/${DISTNAME}
42
43
MAN1=		dmail.1 mailutil.1 tmail.1
44
MAN8=		ipopd.8 imapd.8
45
46
ALL_TARGET=	bsf
47
.if defined(WITHOUT_SSL)
47
.if defined(WITHOUT_SSL)
48
MAKE_ARGS+=	SSLTYPE=none SSLDIR=${OPENSSLBASE}
48
MAKE_ARGS+=	SSLTYPE=none SSLDIR=${OPENSSLBASE}
49
.else
49
.else
Lines 61-66 Link Here
61
.endif
61
.endif
62
# See src/imapd/Makefile for more information about these three options.
62
# See src/imapd/Makefile for more information about these three options.
63
63
64
.include <bsd.port.pre.mk>
64
pre-build:
65
pre-build:
65
	@${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION}
66
	@${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION}
66
.if !defined(WITHOUT_SSL)
67
.if !defined(WITHOUT_SSL)
(-)pkg-message (-28 lines)
Removed Link Here
1
The ipop2d, ipop3d, and imapd daemons should be invoked by your
2
/etc/inetd.conf file with lines such as:
3
4
pop2    stream  tcp     nowait  root    /usr/local/libexec/ipop2d   ipop2d
5
pop3    stream  tcp     nowait  root    /usr/local/libexec/ipop3d   ipop3d
6
imap4   stream  tcp     nowait  root    /usr/local/libexec/imapd    imapd
7
8
If PAM authentication support has been compiled in you will need to add
9
something like the following lines to /etc/pam.conf (PAM authentication is
10
default):
11
12
imap	auth	required	pam_unix.so
13
imap	account	required	pam_unix.so
14
imap	session	required	pam_unix.so
15
pop3	auth	required	pam_unix.so
16
pop3	account	required	pam_unix.so
17
pop3	session	required	pam_unix.so
18
19
The pam_unix module does not have session support, so we do not use it for
20
session management. Be sure to read up on pam.conf(5).
21
22
===>   NB: IMAP-UW now rejects non-encrypted logins by default. To change this
23
===>   behaviour, recompile and reinstall cclient and imap-uw ports with one of
24
===>   the following make variables defined:
25
26
WITHOUT_SSL - build without SSL/encryption support.
27
WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow
28
non-encrypted logins.
(-)files/pkg-message.in (+28 lines)
Added Link Here
1
The ipop2d, ipop3d, and imapd daemons should be invoked by your
2
/etc/inetd.conf file with lines such as:
3
4
pop2    stream  tcp     nowait  root    %%PREFIX%%/libexec/ipop2d   ipop2d
5
pop3    stream  tcp     nowait  root    %%PREFIX%%/libexec/ipop3d   ipop3d
6
imap4   stream  tcp     nowait  root    %%PREFIX%%/libexec/imapd    imapd
7
8
If PAM authentication support has been compiled in you will need to add
9
something like the following lines to /etc/pam.conf (PAM authentication is
10
default):
11
12
imap	auth	required	pam_unix.so
13
imap	account	required	pam_unix.so
14
imap	session	required	pam_unix.so
15
pop3	auth	required	pam_unix.so
16
pop3	account	required	pam_unix.so
17
pop3	session	required	pam_unix.so
18
19
The pam_unix module does not have session support, so we do not use it for
20
session management. Be sure to read up on pam.conf(5).
21
22
===>   NB: IMAP-UW now rejects non-encrypted logins by default. To change this
23
===>   behaviour, recompile and reinstall cclient and imap-uw ports with one of
24
===>   the following make variables defined:
25
26
WITHOUT_SSL - build without SSL/encryption support.
27
WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow
28
non-encrypted logins.

Return to bug 142733