From simon@comsys.ntu-kpi.kiev.ua  Wed Jun  6 09:17:13 2012
Return-Path: <simon@comsys.ntu-kpi.kiev.ua>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7D220106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jun 2012 09:17:13 +0000 (UTC)
	(envelope-from simon@comsys.ntu-kpi.kiev.ua)
Received: from comsys.kpi.ua (comsys.kpi.ua [77.47.192.42])
	by mx1.freebsd.org (Postfix) with ESMTP id 2EB968FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jun 2012 09:17:12 +0000 (UTC)
Received: from pm513-1.comsys.kpi.ua ([10.18.52.101] helo=pm513-1.comsys.ntu-kpi.kiev.ua)
	by comsys.kpi.ua with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63)
	(envelope-from <simon@comsys.ntu-kpi.kiev.ua>)
	id 1ScCMa-0005cj-18
	for FreeBSD-gnats-submit@freebsd.org; Wed, 06 Jun 2012 12:17:12 +0300
Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001)
	id 6778A1CC21; Wed,  6 Jun 2012 12:17:11 +0300 (EEST)
Message-Id: <20120606091710.GA30288@pm513-1.comsys.ntu-kpi.kiev.ua>
Date: Wed, 6 Jun 2012 12:17:11 +0300
From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To: FreeBSD-gnats-submit@freebsd.org
Subject: databases/ipa_sdb new options framework support

>Number:         168751
>Category:       ports
>Synopsis:       databases/ipa_sdb new options framework support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 06 09:20:10 UTC 2012
>Closed-Date:    Fri Jun 08 21:15:30 UTC 2012
>Last-Modified:  Fri Jun  8 21:20:09 UTC 2012
>Originator:     Andrey Simonenko
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
>Description:

Please update database/ipa_sdb to support new options framework.

>How-To-Repeat:
>Fix:
diff -ruN ipa_sdb.orig/Makefile ipa_sdb/Makefile
--- ipa_sdb.orig/Makefile	2011-02-14 11:36:59.000000000 +0200
+++ ipa_sdb/Makefile	2012-06-06 12:09:13.000000000 +0300
@@ -19,26 +19,29 @@
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
-OPTIONS=	AUTORULES "Enable dynamic rules support" on \
-		RULES "Enable static rules support" on \
-		LIMITS "Enable limits support" on \
-		THRESHOLDS "Enable thresholds support" on
+NO_OPTITONS_SORT=	yes
+OPTIONS_DEFINE=		AUTORULES RULES LIMITS THRESHOLDS
+OPTIONS_DEFAULT=	AUTORULES RULES LIMITS THRESHOLDS
+AUTORULES_DESC=		Enable dynamic rules support
+RULES_DESC=		Enable static rules support
+LIMITS_DESC=		Enable limits support
+THRESHOLDS_DESC=	Enable thresholds support
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_AUTORULES)
+.if empty(PORT_OPTIONS:MAUTORULES)
 CONFIGURE_ARGS+=	--disable-autorules
 .endif
 
-.if defined(WITHOUT_RULES)
+.if empty(PORT_OPTIONS:MRULES)
 CONFIGURE_ARGS+=	--disable-rules
 .endif
 
-.if defined(WITHOUT_LIMITS)
+.if empty(PORT_OPTIONS:MLIMITS)
 CONFIGURE_ARGS+=	--disable-limits
 .endif
 
-.if defined(WITHOUT_THRESHOLDS)
+.if empty(PORT_OPTIONS:MTHRESHOLDS)
 CONFIGURE_ARGS+=	--disable-thresholds
 .endif
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Wed Jun 6 17:07:21 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

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

From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= <mickael.maillot@gmail.com>
To: bug-followup@FreeBSD.org, simon@comsys.ntu-kpi.kiev.ua
Cc:  
Subject: Re: ports/168751: databases/ipa_sdb new options framework support
Date: Thu, 7 Jun 2012 13:58:49 +0200

 warning: NO_OPTITONS_SORT => NO_OPTIONS_SORT

From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To: Mickael Maillot <mickael.maillot@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/168751: databases/ipa_sdb new options framework support
Date: Thu, 7 Jun 2012 15:13:14 +0300

 On Thu, Jun 07, 2012 at 01:58:49PM +0200, Mickael Maillot wrote:
 > warning: NO_OPTITONS_SORT => NO_OPTIONS_SORT
 
 Thanks.
 
 Corrected NO_OPTIONS_SORT variable name:
 
 diff -ruN ipa_sdb.orig/Makefile ipa_sdb/Makefile
 --- ipa_sdb.orig/Makefile	2011-02-14 11:36:59.000000000 +0200
 +++ ipa_sdb/Makefile	2012-06-07 15:11:51.000000000 +0300
 @@ -19,26 +19,29 @@
  USE_LDCONFIG=	yes
  GNU_CONFIGURE=	yes
  
 -OPTIONS=	AUTORULES "Enable dynamic rules support" on \
 -		RULES "Enable static rules support" on \
 -		LIMITS "Enable limits support" on \
 -		THRESHOLDS "Enable thresholds support" on
 +NO_OPTIONS_SORT=	yes
 +OPTIONS_DEFINE=		AUTORULES RULES LIMITS THRESHOLDS
 +OPTIONS_DEFAULT=	AUTORULES RULES LIMITS THRESHOLDS
 +AUTORULES_DESC=		Enable dynamic rules support
 +RULES_DESC=		Enable static rules support
 +LIMITS_DESC=		Enable limits support
 +THRESHOLDS_DESC=	Enable thresholds support
  
  .include <bsd.port.options.mk>
  
 -.if defined(WITHOUT_AUTORULES)
 +.if empty(PORT_OPTIONS:MAUTORULES)
  CONFIGURE_ARGS+=	--disable-autorules
  .endif
  
 -.if defined(WITHOUT_RULES)
 +.if empty(PORT_OPTIONS:MRULES)
  CONFIGURE_ARGS+=	--disable-rules
  .endif
  
 -.if defined(WITHOUT_LIMITS)
 +.if empty(PORT_OPTIONS:MLIMITS)
  CONFIGURE_ARGS+=	--disable-limits
  .endif
  
 -.if defined(WITHOUT_THRESHOLDS)
 +.if empty(PORT_OPTIONS:MTHRESHOLDS)
  CONFIGURE_ARGS+=	--disable-thresholds
  .endif
  
State-Changed-From-To: open->closed 
State-Changed-By: sylvio 
State-Changed-When: Fri Jun 8 21:15:28 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168751: commit references a PR
Date: Fri,  8 Jun 2012 21:15:18 +0000 (UTC)

 sylvio      2012-06-08 21:15:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/ipa_sdb    Makefile 
   Log:
   - Update to support new options framework.
   
   PR:             ports/168751
   Submitted by:   Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
   
   Revision  Changes    Path
   1.5       +11 -8     ports/databases/ipa_sdb/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
