Update to 2.5.0

- While I'm here:
  - Add LICENSE_FILE
  - Remove outdated patch for PHP 5

Changes:	http://pecl.php.net/package-changelog.php?package=solr
PR:		239211
Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-07-15 17:45:32 +00:00
parent 8b3e37cd8a
commit bd423a32f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506693
4 changed files with 5 additions and 27 deletions

View File

@ -2,19 +2,19 @@
# $FreeBSD$
PORTNAME= solr
PORTVERSION= 2.4.0
PORTVERSION= 2.5.0
CATEGORIES= www
MAINTAINER= gaod@hychen.org
COMMENT= PHP extension for Apache Solr
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libxml2.so:textproc/libxml2
USES= php:pecl
USE_PHP= json:build
IGNORE_WITH_PHP= 72 73
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1491395894
SHA256 (PECL/solr-2.4.0.tgz) = 22865dafb76fc5839e84a5bd423bb37d5062883e5dfc4d064b43129ac9f2752c
SIZE (PECL/solr-2.4.0.tgz) = 256316
TIMESTAMP = 1563204472
SHA256 (PECL/solr-2.5.0.tgz) = f34c6159515bf229a6f72aab374c40d8dfc9c51d74f0d11fe30a611cbdb5c546
SIZE (PECL/solr-2.5.0.tgz) = 721839

View File

@ -1,11 +0,0 @@
--- 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)
- PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, SOLR_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/$PHP_LIBDIR, SOLR_SHARED_LIBADD)
if test "$PHP_LIBXML" = "no"; then
AC_MSG_ERROR([Solr extension requires LIBXML extension, add --enable-libxml])

View File

@ -1,11 +0,0 @@
--- 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
};
/* }}} */