Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 07:10:15 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405217 - head/mail/emailrelay
Message-ID:  <201601040710.u047AFXp083132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Mon Jan  4 07:10:15 2016
New Revision: 405217
URL: https://svnweb.freebsd.org/changeset/ports/405217

Log:
  - Make IPV6 optional
  
  On system without any IPv6 addresses emailrelay fails to start with messages:
  # service emailrelay start
  emailrelay: error: cannot bind the listening port: :::25
  emailrelay: exception: cannot bind the listening port: :::25
  /usr/local/etc/rc.d/emailrelay: WARNING: failed to start emailrelay
  
  PR:		204126
  Submitted by:	Dmitry Afanasiev
  Approved by:	maintainer timeout

Modified:
  head/mail/emailrelay/Makefile

Modified: head/mail/emailrelay/Makefile
==============================================================================
--- head/mail/emailrelay/Makefile	Mon Jan  4 07:03:16 2016	(r405216)
+++ head/mail/emailrelay/Makefile	Mon Jan  4 07:10:15 2016	(r405217)
@@ -3,6 +3,7 @@
 
 PORTNAME=	emailrelay
 PORTVERSION=	1.9
+PORTREVISION=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	SF
 EXTRACT_SUFX=	-src.tar.gz
@@ -16,10 +17,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		autoreconf pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	e_spooldir=${PREFIX}/var/spool/emailrelay
-CONFIGURE_ARGS=	--without-pam --enable-ipv6
+CONFIGURE_ARGS=	--without-pam
 USE_RC_SUBR=	${PORTNAME}
 
-OPTIONS_DEFINE=		DOCS DOXYGEN GUI OPENSSL
+OPTIONS_DEFINE=		DOCS DOXYGEN GUI OPENSSL IPV6
 OPTIONS_DEFAULT=	OPENSSL
 OPTIONS_SUB=		yes
 
@@ -33,6 +34,8 @@ GUI_USE=		QT4=gui,moc
 OPENSSL_CONFIGURE_WITH=	openssl
 OPENSSL_USE=		OPENSSL=yes
 
+IPV6_CONFIGURE_ENABLE=	ipv6
+
 post-install:
 	${MV} ${STAGEDIR}${PREFIX}/etc/emailrelay.auth.template \
 		${STAGEDIR}${PREFIX}/etc/emailrelay.auth.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601040710.u047AFXp083132>