2017-04-20 15:50:42 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.15 2017/04/20 13:50:42 jperkin Exp $
|
2010-11-10 11:40:15 +01:00
|
|
|
#
|
|
|
|
# used by mail/courier-imap/Makefile
|
|
|
|
# used by mail/courier-maildir/Makefile
|
|
|
|
# used by mail/maildrop/Makefile
|
|
|
|
# used by mail/sqwebmail/Makefile
|
|
|
|
# used by net/couriertcpd/Makefile
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
|
Changes 0.68.1:
* rfc2045mkboundary.c was broken in 0.68
Changes 0.68:
* rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate
the hostname portion of the boundary to 30 chars.
* courier/doc/courier.sgml: Remove descriptions of some configuration
files that were moved to the courier-authlib package a while ago.
They don't belong here any more.
* courier/submit.C: Use the authenticated address, instead of the
return address, for domain-based virtual configuration.
* courier/libs/cfilename.c (config_has_vhost): Checks whether
vhost.[ip] exists.
* courier/module.esmtp/courieresmtpd.c (main): Only set a message's
virtual host if vhost.[ip] exists.
* courier/module.esmtp/esmtpclient.c (get_sourceaddr): Make sure the
input buffer is null-terminated.
* courier/submit.C (getrcpts): If there's no vhost setting from the
sender's IP address (this includes local mail!) if vhost.domain exists,
use [domain] as the virtual host.
* Remove config_search(), which simply called config_localfilename().
Change all current callers to call config_localfilename().
* courier/libs/cfilename.c (config_set_local_vhost): saves a string
that gets appended as a suffix, by config_localfilename(), and if that
filename exists, that's returned as the filename, otherwise it's the
original string without the suffix. config_get_local_vhost() returns
the suffix string.
to config_set_local_vhost().
* courier/libs/comsubmitclient.c (submit_fork): If
config_get_local_vhost(), add a -vhost parameter to submit().
* courier/submit.C (cppmain): -vhost sets config_set_local_vhost().
* courier/submit2.C (closectl): New COMCTLFILE_VHOST parameter in the
config file, taken from the vhost setting.
* courier/libs/comctlfile.c (ctlfile_setvhost): If COMCTLFILE_VHOST is
set, call ctlfile_setvhost(), return an indication if the vhost has
changed. Absence of a COMCTLFILE_VHOST treated as a discrete "(null)"
setting.
* courier/module.esmtp/esmtpclient.c (esmtpchild): If ctlfile_setvhost()
then disconnect the current socket, if one is open.
* courier/module.esmtp/esmtpclient.c (get_sourceaddr): The IP address
specified in ipout or ip6out overrides SOURCE_ADDRESS and
SOURCE_ADDRESS_IPV6 environment variable.
* courier/module.local/localmail.c (main): Call ctlfile_setvhost().
* courier/module.uucp/uucp.c (uux): Call ctlfile_setvhost().
* courier/module.dsn/dsn.c (main): Call ctlfile_setvhost().
* liblock/mail.c (dotlock_exists): Quell a compiler warning.
* courier/courierd.dist.in SOURCE_ADDRESS: Add a note that this setting
is deprecated.
2012-06-09 13:45:38 +02:00
|
|
|
COURIER_VERSION= 0.68.1
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
|
|
|
|
.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
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_GROUPS_VARS+= COURIER_GROUP
|
|
|
|
PKG_USERS_VARS+= COURIER_USER
|
|
|
|
|
2010-11-05 15:05:24 +01:00
|
|
|
FILES_SUBST+= COURIER_STATEDIR=${COURIER_STATEDIR}
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
|
|
|
|
.include "../../security/courier-authlib/Makefile.common"
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2010-11-05 15:05:24 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${COURIER_STATEDIR}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
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}
|
|
|
|
|
2017-04-20 15:50:42 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|