From nobody@FreeBSD.org  Tue Jun 11 07:27:35 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id C73ADE37
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Jun 2013 07:27:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id B9C0F10C0
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Jun 2013 07:27:35 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5B7RYb5007961
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Jun 2013 07:27:34 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5B7RYsS007960;
	Tue, 11 Jun 2013 07:27:34 GMT
	(envelope-from nobody)
Message-Id: <201306110727.r5B7RYsS007960@oldred.freebsd.org>
Date: Tue, 11 Jun 2013 07:27:34 GMT
From: Alexey Markov <redrat@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/p5-Mail-SpamAssassin: missed option definition for IPv6 support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179479
>Category:       ports
>Synopsis:       mail/p5-Mail-SpamAssassin: missed option definition for IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 11 07:30:00 UTC 2013
>Closed-Date:    Tue Oct 01 05:22:19 UTC 2013
>Last-Modified:  Tue Oct  1 05:30:00 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 11 07:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179479 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Tue Oct 1 05:21:50 UTC 2013 
State-Changed-Why:  
- Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179479 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179479: commit references a PR
Date: Tue,  1 Oct 2013 05:20:43 +0000 (UTC)

 Author: beech
 Date: Tue Oct  1 05:20:36 2013
 New Revision: 328912
 URL: http://svnweb.freebsd.org/changeset/ports/328912
 
 Log:
   - Add option definition for IPv6 support
   
   PR:		ports/179479
   Submitted by:	Alexey Markov <redrat@mail.ru>
 
 Modified:
   head/mail/p5-Mail-SpamAssassin/Makefile
 
 Modified: head/mail/p5-Mail-SpamAssassin/Makefile
 ==============================================================================
 --- head/mail/p5-Mail-SpamAssassin/Makefile	Tue Oct  1 05:10:19 2013	(r328911)
 +++ head/mail/p5-Mail-SpamAssassin/Makefile	Tue Oct  1 05:20:36 2013	(r328912)
 @@ -38,7 +38,7 @@ CONFIGURE_ARGS=	SYSCONFDIR="${PREFIX}/et
  		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)
 @@ -50,6 +50,7 @@ RAZOR_DESC=		Add Vipul's Razor support
  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}"
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
