Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 2010 14:34:05 +0000
From:      "Tom Judge" <tom@tomjudge.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jpaetzel@FreeBSD.org
Subject:   ports/152923: [patch] archivers/pecl-rar - Cleanup/Fixes
Message-ID:  <20101208143157.61B93DCB3B@tomjudge.vm.bytemark.co.uk>
Resent-Message-ID: <201012081440.oB8Ee8mK046428@freefall.freebsd.org>

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

>Number:         152923
>Category:       ports
>Synopsis:       [patch] archivers/pecl-rar - Cleanup/Fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 08 14:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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