Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 07:12:00 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420502 - in head/www/pecl-solr: . files
Message-ID:  <201608200712.u7K7C09P028935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Aug 20 07:12:00 2016
New Revision: 420502
URL: https://svnweb.freebsd.org/changeset/ports/420502

Log:
  www/pecl-solr: 1.1.1 -> 2.4.0
  
  - now supports php7
  - added license
  - petted portlint
  
  PR:		211383
  Changes:	http://pecl.php.net/package-changelog.php?package=solr&release=2.4.0
  Submitted by:	Daniel Ylitalo <daniel@blodan.se>
  Approved by:	gaod@hychen.org (maintainer timeout)

Added:
  head/www/pecl-solr/files/patch-src_php5_php__solr.c   (contents, props changed)
  head/www/pecl-solr/files/patch-src_php7_php__solr.c   (contents, props changed)
Deleted:
  head/www/pecl-solr/files/patch-php_solr.c
Modified:
  head/www/pecl-solr/Makefile
  head/www/pecl-solr/distinfo
  head/www/pecl-solr/files/patch-config.m4

Modified: head/www/pecl-solr/Makefile
==============================================================================
--- head/www/pecl-solr/Makefile	Sat Aug 20 06:04:56 2016	(r420501)
+++ head/www/pecl-solr/Makefile	Sat Aug 20 07:12:00 2016	(r420502)
@@ -2,23 +2,22 @@
 # $FreeBSD$
 
 PORTNAME=	solr
-PORTVERSION=	1.1.1
-PORTREVISION=	1
+PORTVERSION=	2.4.0
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	gaod@hychen.org
-COMMENT=	The Apache Solr PHP extension
+COMMENT=	PHP extension for Apache Solr
 
-BROKEN_powerpc64=	Does not build
+LICENSE=	PHP301
 
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libxml2.so:textproc/libxml2
 
-USES=		php:ext
+BROKEN_powerpc64=	Does not build
+
+USES=		php:ext tar:tgz
 USE_PHP=	json:build
-IGNORE_WITH_PHP=	70
 
 .include <bsd.port.mk>

Modified: head/www/pecl-solr/distinfo
==============================================================================
--- head/www/pecl-solr/distinfo	Sat Aug 20 06:04:56 2016	(r420501)
+++ head/www/pecl-solr/distinfo	Sat Aug 20 07:12:00 2016	(r420502)
@@ -1,2 +1,3 @@
-SHA256 (solr-1.1.1.tgz) = 2acc9026bdac5adf46e42e7faf95272f1bcd2c5ba447f7259efb03499749a138
-SIZE (solr-1.1.1.tgz) = 111188
+TIMESTAMP = 1469542740
+SHA256 (solr-2.4.0.tgz) = 22865dafb76fc5839e84a5bd423bb37d5062883e5dfc4d064b43129ac9f2752c
+SIZE (solr-2.4.0.tgz) = 256316

Modified: head/www/pecl-solr/files/patch-config.m4
==============================================================================
--- head/www/pecl-solr/files/patch-config.m4	Sat Aug 20 06:04:56 2016	(r420501)
+++ head/www/pecl-solr/files/patch-config.m4	Sat Aug 20 07:12:00 2016	(r420502)
@@ -1,6 +1,6 @@
---- config.m4.orig	2014-06-22 18:58:51.253187297 +0800
-+++ config.m4	2014-06-22 19:01:04.313188083 +0800
-@@ -82,7 +82,7 @@
+--- config.m4.orig	2016-03-30 13:42:31 UTC
++++ config.m4
+@@ -81,7 +81,7 @@ if test "$PHP_SOLR" != "no"; then
      
      PHP_ADD_INCLUDE($CURL_DIR/include)
      PHP_EVAL_LIBLINE($CURL_LIBS, SOLR_SHARED_LIBADD)

Added: head/www/pecl-solr/files/patch-src_php5_php__solr.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-solr/files/patch-src_php5_php__solr.c	Sat Aug 20 07:12:00 2016	(r420502)
@@ -0,0 +1,11 @@
+--- src/php5/php_solr.c.orig	2016-03-30 13:42:30 UTC
++++ src/php5/php_solr.c
+@@ -1030,8 +1030,6 @@ static zend_function_entry solr_utils_me
+ 
+ /* {{{ solr_module_deps  */
+ static zend_module_dep solr_module_deps[] = {
+-    ZEND_MOD_REQUIRED(PHP_LIBXML_EXTENSION_NAME)
+-    ZEND_MOD_REQUIRED(PHP_JSON_EXTENSION_NAME)
+     ZEND_MOD_END
+ };
+ /* }}} */

Added: head/www/pecl-solr/files/patch-src_php7_php__solr.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-solr/files/patch-src_php7_php__solr.c	Sat Aug 20 07:12:00 2016	(r420502)
@@ -0,0 +1,11 @@
+--- src/php7/php_solr.c.orig	2016-03-30 13:42:31 UTC
++++ src/php7/php_solr.c
+@@ -1029,8 +1029,6 @@ static zend_function_entry solr_utils_me
+ 
+ /* {{{ solr_module_deps  */
+ static zend_module_dep solr_module_deps[] = {
+-    ZEND_MOD_REQUIRED(PHP_LIBXML_EXTENSION_NAME)
+-    ZEND_MOD_REQUIRED(PHP_JSON_EXTENSION_NAME)
+     ZEND_MOD_END
+ };
+ /* }}} */



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