diff options
author | Nick Sayer <nsayer@FreeBSD.org> | 2001-04-04 21:52:19 +0000 |
---|---|---|
committer | Nick Sayer <nsayer@FreeBSD.org> | 2001-04-04 21:52:19 +0000 |
commit | d90ce4ba61e8d18435818224a8d477674752cb94 (patch) | |
tree | 0eb8eb5e7a8f256018f374e0e7ee4e2472891b4f /mail/imap-uw | |
parent | b0d35cb232a3e4fbed3627068b6a2576555eacff (diff) | |
download | ports-d90ce4ba61e8d18435818224a8d477674752cb94.tar.gz ports-d90ce4ba61e8d18435818224a8d477674752cb94.zip |
Notes
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 38 | ||||
-rw-r--r-- | mail/imap-uw/distinfo | 2 | ||||
-rw-r--r-- | mail/imap-uw/pkg-message | 9 |
3 files changed, 11 insertions, 38 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index d18e3e59ce66..8135a1dc42eb 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -6,7 +6,7 @@ # PORTNAME= imap -PORTVERSION= 0104031813 +PORTVERSION= 2000c CATEGORIES= mail MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/ \ @@ -14,8 +14,8 @@ MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ ftp://ftp.uni-halle.de/pub/mail/pine/%SUBDIR%/ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= -uw -DISTNAME= imap-2001.BETA.SNAP-${PORTVERSION} -DISTFILES= ${DISTNAME}.tar.Z imap-utils.tar.Z +DISTFILES= ${DISTNAME}.tar.Z \ + imap-utils.tar.Z MAINTAINER= petef@databits.net @@ -23,16 +23,9 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient .if defined(WITH_DRAC) BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac .endif -.if defined(WITH_SSL) -USE_OPENSSL= yes -.endif MAN8= ipopd.8 imapd.8 -.if defined(WITH_SSL) -ALL_TARGET= bsf SSLTYPE=unix -.else ALL_TARGET= bsf -.endif .include <bsd.port.pre.mk> @@ -56,9 +49,8 @@ do-install: ${INSTALL_MAN} \ ${WRKSRC}/src/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8 -post-install: - @${CAT} ${PKGMESSAGE} .if defined(WITH_DRAC) +post-install: @${ECHO} "================================================================================" @${ECHO} "To have DRAC working, you must create ${PREFIX}/etc/dracd.host, containing" @${ECHO} "the hostname of the DRAC server:" @@ -66,26 +58,8 @@ post-install: @${ECHO} "localhost" @${ECHO} "================================================================================" .endif -.if defined(WITH_SSL) - @${ECHO} "To create and install a new SSL certificate for imapd and ipop3d, type \"make" - @${ECHO} "cert\"." - @${ECHO} - @${ECHO} "Example inetd config for the SSL services:" - @${ECHO} - @${ECHO} "pop3s stream tcp nowait root /usr/local/libexec/ipop3d ipop3d" - @${ECHO} "imaps stream tcp nowait root /usr/local/libexec/imapd imapd" - @${ECHO} - @${ECHO} "Remember to recompile and reinstall your cclient port with SSL support too, if" - @${ECHO} "you had it installed without SSL support." - @${ECHO} - @${ECHO} "================================================================================" -.endif -cert: - @${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/certs - @openssl req -new -x509 -days 365 -nodes -config ${FILESDIR}/imap-uw.cnf -out ${PREFIX}/certs/imapd.pem -keyout ${PREFIX}/certs/imapd.pem - @openssl x509 -subject -dates -fingerprint -noout -in ${PREFIX}/certs/imapd.pem - @${CHMOD} 700 ${PREFIX}/certs/imapd.pem - @${LN} -s ${PREFIX}/certs/imapd.pem ${PREFIX}/certs/ipop3d.pem +post-install: + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/mail/imap-uw/distinfo b/mail/imap-uw/distinfo index e60e98d340ba..3437048116be 100644 --- a/mail/imap-uw/distinfo +++ b/mail/imap-uw/distinfo @@ -1,2 +1,2 @@ -MD5 (imap-2001.BETA.SNAP-0104031813.tar.Z) = 327a8494019c07880072a855eb24060f +MD5 (imap-2000c.tar.Z) = 90bdc0670812234a0589286798575980 MD5 (imap-utils.tar.Z) = a6453029f201b32e9ed761e662c47b0f diff --git a/mail/imap-uw/pkg-message b/mail/imap-uw/pkg-message index ab37cbb21a5a..a2687d0f55da 100644 --- a/mail/imap-uw/pkg-message +++ b/mail/imap-uw/pkg-message @@ -5,11 +5,10 @@ pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d imap4 stream tcp nowait root /usr/local/libexec/imapd imapd -If PAM authentication support has been compiled in you may need to add -something like the following lines to /etc/pam.conf (PAM authentication is -default): +If PAM authentication support has been compiled in you may need to add the +following lines to /etc/pam.conf: imap auth required pam_unix.so try_first_pass imap account required pam_unix.so try_first_pass -pop3 auth required pam_unix.so try_first_pass -pop3 account required pam_unix.so try_first_pass +pop auth required pam_unix.so try_first_pass +pop account required pam_unix.so try_first_pass |