summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam>2007-09-21 14:12:19 +0000
committerjlam <jlam>2007-09-21 14:12:19 +0000
commit2bc59716c85e56a46e727b9a64c55224dd6abbb6 (patch)
treef5c141baf5f3958e675aa4f102a93c9786a182f9 /mail
parent05865ae4a0d7929565d338c41326835d643d4e4c (diff)
downloadpkgsrc-2bc59716c85e56a46e727b9a64c55224dd6abbb6.tar.gz
Allow "inet6" as a package option for net/couriertcpd and
mail/courier-mta. Modify mail/courier-imap to build regardless of the platforms IPv6 support and update meta-pkg/courier to the latest versions of the Courier mail server suite. Bump the PKGREVISIONs of the following packages: mail/courier-mta --> 7 meta-pkgs/courier --> 3 net/couriertcpd --> 2 This fixes PR pkg/37013 by Aleksej Saushev.
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile11
-rw-r--r--mail/courier-mta/Makefile6
-rw-r--r--mail/courier-mta/options.mk17
3 files changed, 27 insertions, 7 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index acfd965dce7..54547ed8958 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2007/09/17 15:28:04 jlam Exp $
+# $NetBSD: Makefile,v 1.64 2007/09/21 14:12:19 jlam Exp $
DISTNAME= courier-imap-4.1.3
PKGREVISION= 1
@@ -36,6 +36,15 @@ CONFIGURE_ARGS+= --with-piddir=${VARBASE:Q}/run
CONFIGURE_ARGS+= --program-transform-name='s/\.rc$$//'
CONFIGURE_ENV+= OPENSSL=${TOOLS_OPENSSL:Q}
+# The rfc1035 and tcpd bits are built and installed by net/couriertcpd.
+# However, we still need to build in these directories because there
+# are some convenience libraries built and used by other parts of the
+# imap code. We configure without IPv6 support because those necessary
+# convenience libraries don't have any IPv6 code, and we want to avoid
+# breakage due to IPv6 mis-detection.
+#
+CONFIGURE_ARGS+= --without-ipv6
+
INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR:Q}
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
diff --git a/mail/courier-mta/Makefile b/mail/courier-mta/Makefile
index aab43e667e3..fb0ef37f5a1 100644
--- a/mail/courier-mta/Makefile
+++ b/mail/courier-mta/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2007/09/17 15:28:04 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2007/09/21 14:12:19 jlam Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/-mta-/}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
@@ -14,7 +14,7 @@ COMMENT= Courier mail transport agent
HOMEPAGE= http://www.courier-mta.org/
DEPENDS+= courier-maildir>=${COURIER_VERSION}:../../mail/courier-maildir
-DEPENDS+= couriertcpd>=${COURIER_VERSION}nb1:../../net/couriertcpd
+DEPENDS+= couriertcpd>=${COURIER_VERSION}nb2:../../net/couriertcpd
DEPENDS+= maildrop>=2.0.4:../../mail/maildrop
USE_TOOLS+= gmake openssl:run perl:run
diff --git a/mail/courier-mta/options.mk b/mail/courier-mta/options.mk
index 8cb430339e2..614ee8f2bde 100644
--- a/mail/courier-mta/options.mk
+++ b/mail/courier-mta/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.7 2007/09/07 14:11:20 jlam Exp $
+# $NetBSD: options.mk,v 1.8 2007/09/21 14:12:19 jlam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.courier-mta
PKG_SUPPORTED_OPTIONS= courier-dsn courier-esmtp courier-local \
- courier-uucp ldap
-PKG_SUGGESTED_OPTIONS= courier-dsn courier-esmtp courier-local
+ courier-uucp inet6 ldap
+PKG_SUGGESTED_OPTIONS= courier-dsn courier-esmtp courier-local inet6
.include "../../mk/bsd.options.mk"
@@ -111,6 +111,17 @@ CONF_FILES_PERMS+= ${EGDIR}/module.uucp \
PKG_FAIL_REASON+= "[courier/options.mk] No mail transports specified."
.endif
+
+######################################################################
+###
+### IPv6 support (used by Courier ESMTP client)
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --with-ipv6
+.else
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
######################################################################
###
### LDAP alias lookup support