2005-08-16 14:28:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2005/08/16 18:28:55 espie Exp $
|
2001-04-09 20:23:01 -04:00
|
|
|
|
2001-05-10 19:05:01 -04:00
|
|
|
COMMENT= "local mail delivery agent with filtering abilities"
|
2003-03-31 08:43:17 -05:00
|
|
|
COMMENT-utils= "userdb and quota tools for the Courier mail suite"
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
|
2004-12-06 18:06:01 -05:00
|
|
|
VERSION= 1.7.0
|
|
|
|
DISTNAME= maildrop-${VERSION}
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
2004-12-06 18:06:01 -05:00
|
|
|
HOMEPAGE= http://www.courier-mta.org/maildrop/
|
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
|
2003-03-31 08:43:17 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-12-06 18:06:01 -05:00
|
|
|
FLAVORS= ldap mysql
|
|
|
|
FLAVOR?=
|
|
|
|
|
2003-03-31 08:43:17 -05:00
|
|
|
MULTI_PACKAGES= -utils
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2005-08-16 14:28:55 -04:00
|
|
|
FULLPKGNAME-utils= courier-utils-${VERSION}p2
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-12-06 18:06:01 -05:00
|
|
|
LIB_DEPENDS= gdbm.3::databases/gdbm
|
2003-03-31 08:43:17 -05:00
|
|
|
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-03-31 08:43:17 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAKE_ENV= INCLUDES="-I${LOCALBASE}/include"
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc \
|
|
|
|
--enable-sendmail=/usr/sbin/sendmail \
|
|
|
|
--enable-maildrop-gid=bin \
|
2001-06-12 13:06:38 -04:00
|
|
|
--disable-tempdir --enable-restricted-trusted=1 \
|
2003-03-31 08:43:17 -05:00
|
|
|
--enable-syslog=1 --with-etcdir=${SYSCONFDIR} \
|
2005-03-26 13:31:45 -05:00
|
|
|
--with-db=gdbm --enable-userdb --enable-maildirquota
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
|
|
|
|
DOCFILES= README INSTALL UPGRADE README.postfix
|
|
|
|
|
2004-12-06 18:06:01 -05:00
|
|
|
.if ${FLAVOR:L:Mldap}
|
|
|
|
LIB_DEPENDS+= ldap,lber::databases/openldap
|
|
|
|
CONFIGURE_ARGS+= --enable-maildropldap \
|
|
|
|
--with-ldapconfig=${SYSCONFDIR}/maildropldap.config
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmysql}
|
|
|
|
LIB_DEPENDS+= mysqlclient::databases/mysql
|
|
|
|
CONFIGURE_ARGS+= --enable-maildropmysql
|
2005-01-02 05:44:03 -05:00
|
|
|
WANTLIB= crypto ssl z
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(PACKAGING) && $(SUBPACKAGE) == "-utils"
|
|
|
|
LIB_DEPENDS=
|
|
|
|
WANTLIB+= c
|
|
|
|
.else
|
|
|
|
WANTLIB+= c m stdc++
|
2004-12-06 18:06:01 -05:00
|
|
|
.endif
|
|
|
|
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/maildrop
|
|
|
|
.for i in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/maildrop
|
|
|
|
.endfor
|
2004-12-06 18:06:01 -05:00
|
|
|
.if ${FLAVOR:L:Mldap}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/maildrop
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/maildropldap.config ${PREFIX}/share/examples/maildrop
|
|
|
|
.endif
|
|
|
|
.if ${FLAVOR:L:Mmysql}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/maildrop
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/maildropmysql.config ${PREFIX}/share/examples/maildrop
|
|
|
|
.endif
|
import maildrop-1.2
This one has been pending for around two months because
it installs root suid files. The port strips these out
by default, and pkg/SECURITY has details on if they need
to be reenabled. qmail at least doesnt need it, others can
probably be configured to not.
(naddy@ and avsm@ discussed this)
--
maildrop is a replacement for your local mail delivery agent. It
reads a mail message from standard input, then delivers the message
to your mailbox. maildrop knows how to deliver mail to mbox-style
mailboxes, and maildirs.
maildrop will optionally read instructions from a file, which
describes how to filter incoming mail. Instructions can be provided
having mail delivered to alternate mailboxes, or forwarded somewhere
else. Unlike procmail, maildrop uses a structured filtering language.
maildrop is written in C++, and is significantly larger than procmail
in compiled form. However, it uses resources much more efficiently.
Unlike procmail, maildrop will not read a 10 megabyte mail message
into memory. Large messages are saved in a temporary file, and are
filtered from the temporary file.
2000-10-09 18:29:05 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|