From tom@tomjudge.com  Wed Dec  8 14:32:02 2010
Return-Path: <tom@tomjudge.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A4C75106564A;
	Wed,  8 Dec 2010 14:32:02 +0000 (UTC)
	(envelope-from tom@tomjudge.com)
Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100])
	by mx1.freebsd.org (Postfix) with ESMTP id 6804C8FC08;
	Wed,  8 Dec 2010 14:32:02 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 6BF4BDCB3C;
	Wed,  8 Dec 2010 14:32:01 +0000 (GMT)
Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1])
	by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 85fRrtd2fPBx; Wed,  8 Dec 2010 14:31:58 +0000 (GMT)
Received: from tinderbox.home.tomjudge.com (unknown [192.168.200.5])
	by tomjudge.vm.bytemark.co.uk (Postfix) with SMTP id 61B93DCB3B;
	Wed,  8 Dec 2010 14:31:57 +0000 (GMT)
Received: by tinderbox.home.tomjudge.com (sSMTP sendmail emulation); Wed, 08 Dec 2010 14:34:05 +0000
Message-Id: <20101208143157.61B93DCB3B@tomjudge.vm.bytemark.co.uk>
Date: Wed, 08 Dec 2010 14:34:05 +0000
From: "Tom Judge" <tom@tomjudge.com>
Reply-To: Tom Judge <tom@tomjudge.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jpaetzel@FreeBSD.org
Subject: [patch] archivers/pecl-rar - Cleanup/Fixes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         152923
>Category:       ports
>Synopsis:       [patch] archivers/pecl-rar - Cleanup/Fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 08 14:40:08 UTC 2010
>Closed-Date:    Mon Dec 20 06:24:43 UTC 2010
>Last-Modified:  Mon Dec 20 06:30:24 UTC 2010
>Originator:     Tom Judge
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD tinderbox.home.tomjudge.com 8.1-STABLE FreeBSD 8.1-STABLE #0 r213720: Tue Oct 12 14:02:02 UTC 2010 tj@tinderbox.home.tomjudge.com:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
The attached patch fixes the following issues with archivers/pecl-rar:

* The module requires the SPL extension to be installed.

* The module requires the php extenstions in the build env so add USE_PHP_BUILD

* The module is not compatiable with php 4 so add IGNORE_WITH_PHP=4

* Remove the MD5 line from distinfo.

Tinderbox logs:

PHP 5.2:
http://tinderbox.home.tomjudge.com/tb/logs/8.1-PECL-5.2-amd64/pecl-rar-2.0.0.log

PHP 5.3:
http://tinderbox.home.tomjudge.com/tb/logs/8.1-PECL-5.3-amd64/pecl-rar-2.0.0.log

>How-To-Repeat:
>Fix:

--- archivers-pecl-rar.txt begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/pecl-rar/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	25 Apr 2010 09:17:52 -0000	1.7
+++ Makefile	8 Dec 2010 14:23:27 -0000
@@ -16,8 +16,10 @@
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	A PECL extension to create and read rar files
 
-USE_PHP=	yes
+USE_PHP=	spl
 USE_PHPEXT=	yes
+USE_PHP_BUILD=	yes
+IGNORE_WITH_PHP=4
 
 CONFIGURE_ARGS=	--enable-rar
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/archivers/pecl-rar/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	25 Apr 2010 09:17:52 -0000	1.4
+++ distinfo	7 Dec 2010 16:53:20 -0000
@@ -1,3 +1,2 @@
-MD5 (PECL/rar-2.0.0.tgz) = 2bbd2fbcd7a08089e40191bb96181736
 SHA256 (PECL/rar-2.0.0.tgz) = 6db55cf52e0fb6c77ea25fb4636320a4ef11c9317e5e5088cfbe2b4b7a0eb6cc
 SIZE (PECL/rar-2.0.0.tgz) = 189885
--- archivers-pecl-rar.txt ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Dec 8 14:40:16 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Tom Judge <tom@tomjudge.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/152923: [patch] archivers/pecl-rar - Cleanup/Fixes
Date: Wed, 08 Dec 2010 11:09:16 -0600

 This is a multi-part message in MIME format.
 --------------030309040209020706090100
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 New patch to include LICENSE line.
 
 This PR depends on ports/152927.
 
 
 
 -- 
 TJU13-ARIN
 
 --------------030309040209020706090100
 Content-Type: text/plain;
  name="archivers-pecl-rar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="archivers-pecl-rar.txt"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/archivers/pecl-rar/Makefile,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile
 --- Makefile	25 Apr 2010 09:17:52 -0000	1.7
 +++ Makefile	8 Dec 2010 17:03:08 -0000
 @@ -16,8 +16,12 @@
  MAINTAINER=	miwi@FreeBSD.org
  COMMENT=	A PECL extension to create and read rar files
  
 -USE_PHP=	yes
 +LICENSE=	PHP301
 +
 +USE_PHP=	spl
  USE_PHPEXT=	yes
 +USE_PHP_BUILD=	yes
 +IGNORE_WITH_PHP=4
  
  CONFIGURE_ARGS=	--enable-rar
  
 Index: distinfo
 ===================================================================
 RCS file: /home/ncvs/ports/archivers/pecl-rar/distinfo,v
 retrieving revision 1.4
 diff -u -r1.4 distinfo
 --- distinfo	25 Apr 2010 09:17:52 -0000	1.4
 +++ distinfo	7 Dec 2010 16:53:20 -0000
 @@ -1,3 +1,2 @@
 -MD5 (PECL/rar-2.0.0.tgz) = 2bbd2fbcd7a08089e40191bb96181736
  SHA256 (PECL/rar-2.0.0.tgz) = 6db55cf52e0fb6c77ea25fb4636320a4ef11c9317e5e5088cfbe2b4b7a0eb6cc
  SIZE (PECL/rar-2.0.0.tgz) = 189885
 
 --------------030309040209020706090100--
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Dec 20 06:24:42 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152923: commit references a PR
Date: Mon, 20 Dec 2010 06:24:53 +0000 (UTC)

 miwi        2010-12-20 06:24:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/pecl-rar   Makefile distinfo 
   Log:
   * The module requires the SPL extension to be installed.
   * The module requires the php extenstions in the build env so add USE_PHP_BUILD
   * The module is not compatiable with php 4 so add IGNORE_WITH_PHP=4
   * Remove the MD5 line from distinfo.
   
   PR:             152923
   Submitted by:   "Tom Judge" <tom@tomjudge.com>
   
   Revision  Changes    Path
   1.8       +5 -1      ports/archivers/pecl-rar/Makefile
   1.5       +0 -1      ports/archivers/pecl-rar/distinfo
 _______________________________________________
 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:
