avsm 348af0e995 - update to courier-imap-1.3.5
- setup CONFIGURE_ENV more carefully
- /etc/userdb -> ${SYSCONFDIR}/userdb - this doesn't go in /etc/courier-imap
 since the userdb can be shared across several applications
- finally cave in, and activate the workarounds for bugs in IMAP clients.
This actually breaks RFC2060, but allows NS4/Mozilla/StarOffice brain-dead
clients to work with courier-imap.

--
Add support for the IMAP IDLE extensions
Block out clients that constantly send garbage
2001-02-28 04:55:03 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2001/02/28 04:55:03 avsm Exp $
DISTNAME= courier-imap-1.3.5
CATEGORIES= mail
NEED_VERSION= 1.351
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= http://www.inter7.com/courierimap/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= pop3
FLAVOR?=
SEPARATE_BUILD= concurrent
COURIERCONF= ${SYSCONFDIR}/courier-imap
SUBST_VARS= COURIERCONF
EXAMPLE_DIR= ${PREFIX}/share/examples/courier-imap
CONFIGURE_STYLE= gnu old
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --disable-root-check --datadir=${PREFIX}/sbin \
--with-userdb=${SYSCONFDIR}/userdb --with-authuserdb \
--without-authmysql --without-authldap \
--sysconfdir=${COURIERCONF} \
--enable-workarounds-for-imap-client-bugs
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/courier-imap
.for i in pop3d-ssl imapd-ssl pop3d imapd
${INSTALL_DATA} ${WRKINST}${COURIERCONF}/${i}.dist ${EXAMPLE_DIR}/${i}
.endfor
.for i in imapd pop3d
${INSTALL_DATA} ${WRKINST}${COURIERCONF}/${i}.cnf ${EXAMPLE_DIR}
.endfor
.include <bsd.port.mk>