Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 07:27:34 GMT
From:      Alexey Markov <redrat@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179479: mail/p5-Mail-SpamAssassin: missed option definition for IPv6 support
Message-ID:  <201306110727.r5B7RYsS007960@oldred.freebsd.org>
Resent-Message-ID: <201306110730.r5B7U0Dr048072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179479
>Category:       ports
>Synopsis:       mail/p5-Mail-SpamAssassin: missed option definition for IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 11 07:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Markov
>Release:        8.3-RELEASE-p7
>Organization:
JSC Complitex
>Environment:
FreeBSD meson.complitex.ru 8.3-RELEASE-p7 FreeBSD 8.3-RELEASE-p7 #0: Thu Apr  4
14:19:45 MSK 2013 redrat@meson.complitex.ru:/arc/obj/arc/src/sys/MESON amd64
>Description:
For some reason there is no definition for option IPV6 in the Makefile, so dependence on net/p5-IO-Socket-INET6 is unconditional.
>How-To-Repeat:
cd /usr/ports/mail/p5-Mail-SpamAssassin and try to build port without IPV6 support.
>Fix:
Apply attached patch.

Patch attached with submission follows:

--- Makefile.orig	2013-06-07 01:50:41.000000000 +0400
+++ Makefile	2013-06-11 11:19:08.000000000 +0400
@@ -37,7 +37,7 @@
 		LOCALSTATEDIR="${DBDIR}/spamassassin"
 
 OPTIONS_DEFINE=	AS_ROOT SPAMC SACOMPILE DKIM SSL GNUPG MYSQL PGSQL RAZOR \
-		SPF_QUERY RELAY_COUNTRY DCC
+		SPF_QUERY RELAY_COUNTRY DCC IPV6
 OPTIONS_DEFAULT=	AS_ROOT SPAMC DKIM SSL GNUPG RAZOR
 AS_ROOT_DESC=		Run spamd as root (recommended)
 SPAMC_DESC=		Build spamd/spamc (not for amavisd)
@@ -49,6 +49,7 @@
 SPF_QUERY_DESC=		Add SPF query support
 RELAY_COUNTRY_DESC=	Relay country support
 DCC_DESC=		Add DCC support (see LICENSE)
+IPV6_DESC=		IPv6 sockets support
 
 SUB_FILES=	pkg-install
 SUB_LIST=	USER=${USERS} GROUP=${GROUPS} INSTALL="${INSTALL}"


>Release-Note:
>Audit-Trail:
>Unformatted:



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