pkgsrc/mail/maildrop/Makefile
jlam 7501287343 Update mail/maildrop to 1.8.1. Changes from version 1.8.0 include:
* Exit with TEMPFAIL if temporary error indication from authlib.
    * More descriptive error messages when permissions check fails.
    * Documentation fixes.
2005-08-11 00:03:42 +00:00

52 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2005/08/11 00:03:42 jlam Exp $
DISTNAME= maildrop-1.8.1
PKGBASE= ${DISTNAME:C/-[^-]*$//}
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jlam@NetBSD.org
COMMENT= Courier mail delivery agent with filtering abilities
HOMEPAGE= http://www.courier-mta.org/maildrop/
DEPENDS+= courier-maildir>=0.51.0:../../mail/courier-maildir
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
PKG_SUPPORTED_OPTIONS= authlib
PKG_SUGGESTED_OPTIONS= authlib
.include "../../mail/courier-maildir/Makefile.common"
.include "../../security/courier-authlib/Makefile.common"
# These are the users that may invoke maildrop with the "-d user"
# argument (mailbox delivery mode).
#
MAILDROP_TRUSTED_USERS?= ${ROOT_USER} ${COURIER_USER} qmaild
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-maildirquota
CONFIGURE_ARGS+= --enable-maildrop-uid=${ROOT_USER}
CONFIGURE_ARGS+= --enable-maildrop-gid=${COURIER_GROUP}
CONFIGURE_ARGS+= --enable-trusted-users='${MAILDROP_TRUSTED_USERS}'
CONFIGURE_ARGS+= --enable-trusted-groups='${COURIER_GROUP}'
CONFIGURE_ARGS+= --enable-syslog=1
.if !empty(PKG_OPTIONS:Mauthlib)
CONFIGURE_ARGS+= --enable-authlib
. include "../../security/courier-authlib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-authlib
.endif
SPECIAL_PERMS= bin/maildrop ${ROOT_USER} ${COURIER_GROUP} 4711
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.postfix ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/maildroptips.txt ${DOCDIR}
.include "../../mk/bsd.pkg.mk"