From zaa@ulstu.ru  Sun Mar 19 19:34:36 2006
Return-Path: <zaa@ulstu.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DDCF716A401;
	Sun, 19 Mar 2006 19:34:36 +0000 (UTC)
	(envelope-from zaa@ulstu.ru)
Received: from kernel.ulstu.ru (kernel.ulstu.ru [62.76.34.36])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3ECEA43D46;
	Sun, 19 Mar 2006 19:34:34 +0000 (GMT)
	(envelope-from zaa@ulstu.ru)
Received: from localhost (localhost [127.0.0.1])
	by kernel.ulstu.ru (ulstuMail) with ESMTP id DF3B64AC61;
	Sun, 19 Mar 2006 22:34:26 +0300 (MSK)
Received: from kernel.ulstu.ru ([127.0.0.1])
 by localhost (kernel.ulstu.ru [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 03833-04; Sun, 19 Mar 2006 22:34:24 +0300 (MSK)
Received: from orion.ulstu.ru (orion.ulstu.ru [62.76.34.33])
	by kernel.ulstu.ru (ulstuMail) with ESMTP id 2FC324AC1D;
	Sun, 19 Mar 2006 22:34:24 +0300 (MSK)
Received: by orion.ulstu.ru (Postfix, from userid 3909)
	id 4052D1697; Sun, 19 Mar 2006 22:34:24 +0300 (MSK)
Message-Id: <20060319193424.4052D1697@orion.ulstu.ru>
Date: Sun, 19 Mar 2006 22:34:24 +0300 (MSK)
From: Alexander Zhuravlev <zaa@zaa.pp.ru>
Reply-To: Alexander Zhuravlev <zaa@zaa.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ale@FreeBSD.org
Subject: [PATCH] update of archivers/pecl-zip to 1.2.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         94699
>Category:       ports
>Synopsis:       [PATCH] update of archivers/pecl-zip to 1.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 19 19:40:16 GMT 2006
>Closed-Date:    Sun Mar 19 20:09:03 GMT 2006
>Last-Modified:  Sun Mar 19 20:09:03 GMT 2006
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD orion.ulstu.ru 4.11-STABLE FreeBSD 4.11-STABLE #26: Mon Dec 26 23:56:33 MSK 2005 root@orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386


	
>Description:
	
	Patch contains update of pecl-zip to 1.2.1
	* 100% compatible with the old API
	* added zip creation support (write mode)
	* added OO interface
	* Stream support, getStream method returns a file handler
	- bundled libzip and drop zzlib usage (see http://www.nih.at/libzip/)

>How-To-Repeat:
	
>Fix:

	

--- pecl-zip.diff begins here ---
diff -ub pecl-zip.orig/Makefile pecl-zip/Makefile
--- pecl-zip.orig/Makefile	Mon Jul 19 11:24:30 2004
+++ pecl-zip/Makefile	Sun Mar 19 22:28:28 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zip
-PORTVERSION=	1.0
+PORTVERSION=	1.2.1
 CATEGORIES=	archivers pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -14,13 +14,11 @@
 DIST_SUBDIR=	PECL
 
 MAINTAINER=	ale@FreeBSD.org
-COMMENT=	A PECL extension to read zip files
-
-LIB_DEPENDS=	zzip.10:${PORTSDIR}/devel/zziplib
+COMMENT=	A PECL extension to create and read zip files
 
 USE_PHP=	yes
 USE_PHPEXT=	yes
 
-CONFIGURE_ARGS=	--with-zip=${LOCALBASE}
+CONFIGURE_ARGS=	--with-zip=${LOCALBASE} --with-zlib=/usr
 
 .include <bsd.port.mk>
diff -ub pecl-zip.orig/distinfo pecl-zip/distinfo
--- pecl-zip.orig/distinfo	Sun Jan 22 09:58:29 2006
+++ pecl-zip/distinfo	Sun Mar 19 22:16:45 2006
@@ -1,3 +1,2 @@
-MD5 (PECL/zip-1.0.tgz) = 255203b19e46c0512e6ab3780ba2d2e5
-SHA256 (PECL/zip-1.0.tgz) = 0375e17b012c04dc204e5d2a857882cd6d9fb9b3a09ea3d165ba3ce8c9e2533b
-SIZE (PECL/zip-1.0.tgz) = 4930
+MD5 (PECL/zip-1.2.1.tgz) = e8c87e8939dcdf98ad34b285aebe5600
+SIZE (PECL/zip-1.2.1.tgz) = 39291
diff -ub pecl-zip.orig/pkg-descr pecl-zip/pkg-descr
--- pecl-zip.orig/pkg-descr	Mon Jul 19 11:24:30 2004
+++ pecl-zip/pkg-descr	Sun Mar 19 22:17:42 2006
@@ -1,4 +1,4 @@
-Zip is an extension to read zip files.
+Zip is an extension to create and read zip files.
 
 WWW: http://pecl.php.net/package/zip/
 
--- pecl-zip.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 19 19:44:09 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94699 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Sun Mar 19 20:08:44 UTC 2006 
State-Changed-Why:  
Committed, thanks. 

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