From 716545a1f8399afc03e5be3aa82588ad66155954 Mon Sep 17 00:00:00 2001 From: jakob Date: Mon, 24 Jun 2002 08:31:33 +0000 Subject: [PATCH] add noplain flavour, disabled plaintext passwords except when using TLS --- mail/imap-uw/Makefile | 15 +++++++++++---- mail/imap-uw/pkg/DESCR | 10 +++++++--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 36bfd92a017..cd187a3f003 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.24 2002/01/10 09:00:42 jakob Exp $ +# $OpenBSD: Makefile,v 1.25 2002/06/24 08:31:33 jakob Exp $ COMMENT= University of Washington IMAP4rev1/POP2/POP3 mail servers VERSION= 2001.315 DISTNAME= pine4.44 PKGNAME= imap-uw-${VERSION} +PKGNAME-ipop= ipop-uw-${VERSION} CATEGORIES= mail NEED_VERSION= 1.491 @@ -21,11 +22,17 @@ PERMIT_DISTFILES_CDROM= no PERMIT_DISTFILES_FTP= yes WRKDIST= ${WRKDIR}/${DISTNAME}/imap - ALL_TARGET= bso +MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" EXTRAAUTHENTICATORS="gss" -MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SSLTYPE="unix" \ - EXTRAAUTHENTICATORS="gss" +FLAVORS= noplain +FLAVOR?= + +.if ${FLAVOR:L:Mnoplain} +MAKE_FLAGS+= SSLTYPE="nopwd" +.else +MAKE_FLAGS+= SSLTYPE="unix" +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec diff --git a/mail/imap-uw/pkg/DESCR b/mail/imap-uw/pkg/DESCR index ffbb629b6cf..222551e7da2 100644 --- a/mail/imap-uw/pkg/DESCR +++ b/mail/imap-uw/pkg/DESCR @@ -1,9 +1,13 @@ This is the IMAP4rev1 server from the University of Washington. Included are backwards-compatible (almost) POP2 and POP3 servers. - ipop2d POP2 daemon - ipop3d POP3 daemon - imapd IMAP4rev1 daemon + ipop2d POP2 daemon + ipop3d POP3 daemon + imapd IMAP4rev1 daemon + +Flavors + + noplain Disable plaintext passwords except when using TLS WWW: ${HOMEPAGE}