Bug 181432 - [PATCH] net/pecl-yaz: update to 1.1.6 to make it compatible with PHP 5.4
Summary: [PATCH] net/pecl-yaz: update to 1.1.6 to make it compatible with PHP 5.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 15:50 UTC by Frank Wall
Modified: 2013-11-04 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (975 bytes, patch)
2013-08-20 15:50 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2013-08-20 14:55:22 UTC
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       [PATCH] net/pecl-yaz: update to 1.1.6 to make it 
>> compatible with PHP 5.4
>> Arrival-Date:   Tue Aug 20 14:50:00 UTC 2013

I just realized that there is no maintainer for net/pecl-yaz... so 
please add me (fw@moov.de) as new maintainer for this port.


Thanks
- Frank
Comment 1 Frank Wall 2013-08-20 15:50:00 UTC
- update to version 1.1.6
- remove restriction to PHP 5.3, because it is compatible with 5.4

CHANGELOG:

1.1.6 Fix Bug #64773: error define in php_yaz.c.
1.1.5 Avoid type conversion for ZVALs (yaz_range). Use zend_parse_parameters with proper types.
1.1.4 Avoid deprecated pval_destructor.
1.1.3 Allow sru_verson to be set via yaz_connect. Fixed bad memory reference in yaz_es_result
1.1.2 Updates for PHP 5.4
1.1.1 Avoid deprecated Zend API. Fixes for Windows compilation
1.1.0 Update for YAZ version 4

Fix: --- net/pecl-yaz/Makefile.orig  2013-05-29 15:49:06.000000000 +0200
+++ net/pecl-yaz/Makefile       2013-08-20 15:27:40.000000000 +0200
@@ -1,9 +1,8 @@
 # Created by: Alex Dupre <ale@FreeBSD.org>
-# $FreeBSD: net/pecl-yaz/Makefile 319369 2013-05-29 13:49:06Z crees $
+# $FreeBSD$
 
 PORTNAME=      yaz
-PORTVERSION=   1.0.14
-PORTREVISION=  4
+PORTVERSION=   1.1.6
 CATEGORIES=    net pear
 MASTER_SITES=  http://pecl.php.net/get/
 PKGNAMEPREFIX= pecl-
@@ -17,8 +16,6 @@
 
 USE_PHP=       yes
 USE_PHPEXT=    yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
 
 CONFIGURE_ARGS=        --with-yaz=${LOCALBASE}
 
--- net/pecl-yaz/distinfo.orig  2012-07-14 16:29:18.000000000 +0200
+++ net/pecl-yaz/distinfo       2013-08-20 15:28:52.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (PECL/yaz-1.0.14.tgz) = a38d608160d6c95063b061589a1e4e0a2fe4d08026648b7550ab3796456af62e
-SIZE (PECL/yaz-1.0.14.tgz) = 16601
+SHA256 (PECL/yaz-1.1.6.tgz) = dd9b919ba3b2a09a9c77c847407f106512fe75979cc0689ebccef08c80719eee
+SIZE (PECL/yaz-1.1.6.tgz) = 16464


Patch attached with submission follows:
How-To-Repeat: -
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-20 15:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:11:16 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2013-11-04 20:25:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-11-04 21:33:08 UTC
Author: antoine
Date: Mon Nov  4 21:33:00 2013
New Revision: 332787
URL: http://svnweb.freebsd.org/changeset/ports/332787

Log:
  - Update to 1.1.6, which is compatible with php 5.4
  - Add LICENSE
  - Convert to STAGEDIR
  - Pass maintainership to submitter
  
  PR:		ports/181432
  Submitted by:	Frank Wall

Modified:
  head/net/pecl-yaz/Makefile
  head/net/pecl-yaz/distinfo

Modified: head/net/pecl-yaz/Makefile
==============================================================================
--- head/net/pecl-yaz/Makefile	Mon Nov  4 21:15:51 2013	(r332786)
+++ head/net/pecl-yaz/Makefile	Mon Nov  4 21:33:00 2013	(r332787)
@@ -2,32 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	yaz
-PORTVERSION=	1.0.14
-PORTREVISION=	5
+PORTVERSION=	1.1.6
 CATEGORIES=	net pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
 EXTRACT_SUFX=	.tgz
 DIST_SUBDIR=	PECL
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A PECL extension that implements a Z39.50 client
+MAINTAINER=	fw@moov.de
+COMMENT=	PECL extension that implements a Z39.50 client
 
-LIB_DEPENDS=	yaz:${PORTSDIR}/net/yaz
+LICENSE=	PHP301
+
+LIB_DEPENDS=	libyaz.so:${PORTSDIR}/net/yaz
 
 USE_PHP=	yes
 USE_PHPEXT=	yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
 
 CONFIGURE_ARGS=	--with-yaz=${LOCALBASE}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-pre-configure:
-	@if [ `${PKG_INFO} 'yaz>=4.1.6' > /dev/null 2>&1` ]; then \
-		${REINPLACE_CMD} -e 's|YAZVERSION|YAZ_VERSION|g' \
-				${WRKSRC}/configure; fi
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net/pecl-yaz/distinfo
==============================================================================
--- head/net/pecl-yaz/distinfo	Mon Nov  4 21:15:51 2013	(r332786)
+++ head/net/pecl-yaz/distinfo	Mon Nov  4 21:33:00 2013	(r332787)
@@ -1,2 +1,2 @@
-SHA256 (PECL/yaz-1.0.14.tgz) = a38d608160d6c95063b061589a1e4e0a2fe4d08026648b7550ab3796456af62e
-SIZE (PECL/yaz-1.0.14.tgz) = 16601
+SHA256 (PECL/yaz-1.1.6.tgz) = dd9b919ba3b2a09a9c77c847407f106512fe75979cc0689ebccef08c80719eee
+SIZE (PECL/yaz-1.1.6.tgz) = 16464
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2013-11-04 21:34:45 UTC
State Changed
From-To: open->closed

Port updated, thanks!