Commit 8aca7f65 authored by Vanilla I. Shu's avatar Vanilla I. Shu
Browse files

www/php-solr: update to 2.9.3, also move to new php extension standard.

PR:		297611
parent 60abebb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5553,3 +5553,4 @@ biology/py-macs2||2026-08-11|Upstream end of life, depends on expired lang/cytho
www/lua-stream-nginx-module|www/nginx-module-lua-stream|2026-08-14|Renamed to follow the nginx-module-* naming scheme
devel/prjpeppercorn112||2026-08-15|No longer supported by devel/nextpnr
devel/py-yg.lockfile|devel/py-fasteners|2026-08-16|Has expired: Upstream inactive since 8+ years, please use devel/py-fasteners instead
www/pecl-solr|www/php-solr|2026-08-17|Converted to standard extension from pecl extension
+1 −1
Original line number Diff line number Diff line
@@ -1455,7 +1455,6 @@
    SUBDIR += pear-UDDI
    SUBDIR += pear-XML_GRDDL
    SUBDIR += pear-twig
    SUBDIR += pecl-solr
    SUBDIR += pecl-yaf
    SUBDIR += pecl-yar
    SUBDIR += peersuite
@@ -1465,6 +1464,7 @@
    SUBDIR += phalcon
    SUBDIR += php-google-api-php-client
    SUBDIR += php-http
    SUBDIR += php-solr
    SUBDIR += php82-opcache
    SUBDIR += php82-session
    SUBDIR += php82-tidy

www/pecl-solr/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1762715154
SHA256 (PECL/solr-2.8.1.tgz) = 1284d25f0314009abf7187d79e4bdb53a28ca63436c2c3dd8767fc4880810c91
SIZE (PECL/solr-2.8.1.tgz) = 627662
+0 −11
Original line number Diff line number Diff line
--- src/php_solr.h.orig	2025-11-11 22:20:54.799208000 +0800
+++ src/php_solr.h	2025-11-11 22:21:15.328071000 +0800
@@ -126,7 +126,7 @@
 #define solr_ce_Serializable zend_ce_serializable
 #define solr_ce_ArrayAccess  zend_ce_arrayaccess
 #define solr_ce_Iterator     zend_ce_iterator
-#define solr_ce_Exception    zend_exception_get_default()
+#define solr_ce_Exception    zend_ce_exception
 /* }}} */
 
 extern zend_object_handlers solr_object_handlers;
+8 −11
Original line number Diff line number Diff line
PORTNAME=	solr
PORTVERSION=	2.8.1
PORTREVISION=	1
PORTVERSION=	2.9.3
CATEGORIES=	www
PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}

MAINTAINER=	gaod@hychen.org
COMMENT=	PHP extension for Apache Solr
WWW=		https://pecl.php.net/package/solr
WWW=		https://github.com/php/pecl-search_engine-solr

LICENSE=	PHP301
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		gnome php:build,pecl pkgconfig
USES=		gnome php:ext pkgconfig
USE_GNOME=	libxml2
IGNORE_WITH_PHP=	86
USE_GITHUB=	yes
GH_ACCOUNT=	php
GH_PROJECT= 	pecl-search_engine-solr

CONFIGURE_ARGS=	LIBXML_CFLAGS=-I${LOCALBASE}/include/libxml2 \
		LIBXML_LIBS=-L${LOCALBASE}/include/libxml2

.include <bsd.port.pre.mk>

.if ${PHP_VER} >= 85
EXTRA_PATCHES=	${PATCHDIR}/extra-src__php_solr.h
.  endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
Loading