pkgsrc/mail/courier-mta/Makefile.common
jlam 9da73ea84e Update mail/courier-mta to version 0.58.0. Changes from version 0.57.1
include:

+ Add full DESTDIR support.

+ Don't create empty, unused directories under
  ${PREFIX}/share/examples/courier.

+ Teach mkesmtpdcert generate certificates and keys using the either
  GNUTLS or OpenSSL tools.

* Fix a memory stomp in local delivery agent.

* Get rid of the hard 30 minute timeout in sendmail(8).

* Rewrite input processing for submit(8) process to use non-blocking
  I/O to read standard input. When the message source is local (or
  dsn), get rid of the hard 30 minute timeout, and poll stdin with a
  5 minute poll() timeout, at which point the timestamps on all open
  control and data files are pinged, to keep courierd from purging
  them based on their old timestamp.  Continue to use a hard timeout
  for all non-local mail.
2008-02-19 18:45:23 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile.common,v 1.9 2008/02/19 18:45:23 jlam Exp $
COURIER_VERSION= 0.58.0
#LICENSE= gnu-gpl-v3
.include "../../mk/bsd.prefs.mk"
DATADIR= ${PREFIX}/share/courier
DOCDIR= ${PREFIX}/share/doc/courier
EGDIR= ${PREFIX}/share/examples/courier
LIBEXECDIR= ${PREFIX}/libexec/courier
COURIER_STATEDIR= ${VARBASE}/courier
PKG_SYSCONFSUBDIR= courier
PKG_SYSCONFDIR_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
COURIER_FILE_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0644
COURIER_DIR_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
COURIER_SCRIPT_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
PKG_GROUPS_VARS+= COURIER_GROUP
PKG_USERS_VARS+= COURIER_USER
FILES_SUBST+= COURIER_STATEDIR=${COURIER_STATEDIR:Q}
.include "../../security/courier-authlib/Makefile.common"
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${COURIER_STATEDIR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --disable-root-check
CONFIGURE_ARGS+= --enable-unicode
CONFIGURE_ARGS+= --enable-utf7-folder-encoding
CONFIGURE_ARGS+= --with-trashquota
USE_DB185= yes
CONFIGURE_ARGS+= --with-db=db
.include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ENV+= SYSCONFTOOL_PERL=${PERL5:Q}
.include "../../devel/pcre/buildlink3.mk"