diff options
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r-- | mail/imap-uw/Makefile | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index d18e3e5..8135a1d 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> |