From nobody@FreeBSD.org  Wed Nov 21 22:58:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BF000148
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 22:58:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A75BE8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 22:58:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qALMw0XA029838
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2012 22:58:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qALMw0Ov029837;
	Wed, 21 Nov 2012 22:58:00 GMT
	(envelope-from nobody)
Message-Id: <201211212258.qALMw0Ov029837@red.freebsd.org>
Date: Wed, 21 Nov 2012 22:58:00 GMT
From: Chris Petrik <c.petrik.sosa@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] archivers/libpar2 optionsng
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: toxic@doobie.com

>Number:         173810
>Category:       ports
>Synopsis:       [PATCH] archivers/libpar2 optionsng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bapt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 23:00:00 UTC 2012
>Closed-Date:    Fri Nov 23 12:44:21 UTC 2012
>Last-Modified:  Fri Nov 23 12:44:21 UTC 2012
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Options NG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: libpar2/Makefile
===================================================================
--- libpar2/Makefile    (revision 305486)
+++ libpar2/Makefile    (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   libpar2
-# Date created:                                16 Aug 2008
-# Whom:                                        Jeff Burchell <toxic@doobie.com>
-#
+# Created by: Jeff Burchell <toxic@doobie.com>
 # $FreeBSD$
-#

 PORTNAME=      libpar2
 PORTVERSION=   0.2
@@ -23,11 +19,14 @@

 USE_LDCONFIG=  yes

-OPTIONS=       ENABLECANCEL "Enable graceful cancellation of repairs" On
+OPTIONS_DEFINE=        ENABLECANCEL
+OPTIONS_DEFAULT=       ENABLECANCEL

+ENABLECANCEL_DESC=     Enable graceful cancellation of repairs
+
 .include <bsd.port.pre.mk>

-.if defined(WITH_ENABLECANCEL)
+.if ${PORT_OPTIONS:MENABLECANCEL}
 EXTRA_PATCHES+=        ${FILESDIR}/xpatch-addcancel-par2repairer.cpp
 .endif


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Nov 21 23:00:19 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: toxic@doobie.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/173810: [PATCH] archivers/libpar2 optionsng
Date: Wed, 21 Nov 2012 23:00:18 UT

 Maintainer of archivers/libpar2,
 
 Please note that PR ports/173810 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173810
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Jeff Burchell <toxic@doobie.com>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/173810: [PATCH] archivers/libpar2 optionsng
Date: Thu, 22 Nov 2012 12:06:36 -0800

 I approve this patch.
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Fri Nov 23 09:33:16 UTC 2012 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173810 
Responsible-Changed-From-To: freebsd-ports-bugs->bapt 
Responsible-Changed-By: bapt 
Responsible-Changed-When: Fri Nov 23 12:40:52 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173810 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Fri Nov 23 12:44:20 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173810 
>Unformatted:
