aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-08-03 20:47:05 +0800
committermat <mat@FreeBSD.org>2016-08-03 20:47:05 +0800
commit431402e6f41b0ead2340cd5b739afd97a7750d92 (patch)
tree0ef0e6e265bc625030daf067c3dd5dc211eab79b /www
parent46d1315f83f80cd05d0b92861b777385d3983a73 (diff)
downloadfreebsd-ports-gnome-431402e6f41b0ead2340cd5b739afd97a7750d92.tar.gz
freebsd-ports-gnome-431402e6f41b0ead2340cd5b739afd97a7750d92.tar.zst
freebsd-ports-gnome-431402e6f41b0ead2340cd5b739afd97a7750d92.zip
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
Diffstat (limited to 'www')
-rw-r--r--www/pecl-APC/Makefile2
-rw-r--r--www/pecl-amfext/Makefile2
-rw-r--r--www/pecl-http/Makefile1
-rw-r--r--www/pecl-http1/Makefile1
-rw-r--r--www/pecl-http2/Makefile1
-rw-r--r--www/pecl-solr/Makefile1
-rw-r--r--www/pecl-sphinx/Makefile1
-rw-r--r--www/pecl-swish/Makefile1
-rw-r--r--www/pecl-twig/Makefile1
-rw-r--r--www/pecl-yaf/Makefile1
-rw-r--r--www/pecl-yar/Makefile1
-rw-r--r--www/phalcon/Makefile1
-rw-r--r--www/php-screw/Makefile6
-rw-r--r--www/php-screw/files/pkg-message.in3
-rw-r--r--www/php-templates/Makefile3
-rw-r--r--www/php-templates/files/pkg-message.in3
-rw-r--r--www/php55-opcache/Makefile2
-rw-r--r--www/php55-session/Makefile1
-rw-r--r--www/php55-tidy/Makefile1
-rw-r--r--www/php56-opcache/Makefile2
-rw-r--r--www/php56-session/Makefile1
-rw-r--r--www/php56-tidy/Makefile1
-rw-r--r--www/php70-opcache/Makefile2
-rw-r--r--www/php70-session/Makefile1
-rw-r--r--www/php70-tidy/Makefile1
25 files changed, 32 insertions, 9 deletions
diff --git a/www/pecl-APC/Makefile b/www/pecl-APC/Makefile
index b9160a41fa73..85fa7c97ef0c 100644
--- a/www/pecl-APC/Makefile
+++ b/www/pecl-APC/Makefile
@@ -3,7 +3,7 @@
PORTNAME= APC
PORTVERSION= 3.1.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
#MASTER_SITES= http://pecl.php.net/get/
MASTER_SITES= LOCAL/sunpoet
diff --git a/www/pecl-amfext/Makefile b/www/pecl-amfext/Makefile
index 2a3ea163b9d4..d71da85414bd 100644
--- a/www/pecl-amfext/Makefile
+++ b/www/pecl-amfext/Makefile
@@ -3,7 +3,7 @@
PORTNAME= amfext
PORTVERSION= 0.9.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile
index b0d1573f1fa2..2ac6be36237c 100644
--- a/www/pecl-http/Makefile
+++ b/www/pecl-http/Makefile
@@ -3,6 +3,7 @@
PORTNAME= http
PORTVERSION= 3.0.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-http1/Makefile b/www/pecl-http1/Makefile
index 2f94f8507cf2..ef0ebd757420 100644
--- a/www/pecl-http1/Makefile
+++ b/www/pecl-http1/Makefile
@@ -3,6 +3,7 @@
PORTNAME= http
PORTVERSION= 1.7.6
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-http2/Makefile b/www/pecl-http2/Makefile
index f19c0dbb8a2f..692c5b51a009 100644
--- a/www/pecl-http2/Makefile
+++ b/www/pecl-http2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= http
PORTVERSION= 2.5.6
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-solr/Makefile b/www/pecl-solr/Makefile
index 3b7a03a0c4df..f36bd1a6c24d 100644
--- a/www/pecl-solr/Makefile
+++ b/www/pecl-solr/Makefile
@@ -3,6 +3,7 @@
PORTNAME= solr
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-sphinx/Makefile b/www/pecl-sphinx/Makefile
index 03a3b22b9840..ad49bda93cb9 100644
--- a/www/pecl-sphinx/Makefile
+++ b/www/pecl-sphinx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sphinx
DISTVERSION= 1.3.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-swish/Makefile b/www/pecl-swish/Makefile
index 1e143c9553e7..893384a09b46 100644
--- a/www/pecl-swish/Makefile
+++ b/www/pecl-swish/Makefile
@@ -3,6 +3,7 @@
PORTNAME= swish
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= www pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-twig/Makefile b/www/pecl-twig/Makefile
index 5372eab2680e..5c3de06ee83a 100644
--- a/www/pecl-twig/Makefile
+++ b/www/pecl-twig/Makefile
@@ -3,6 +3,7 @@
PORTNAME= twig
PORTVERSION= 1.24.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pear.twig-project.org/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile
index 446e6a070b44..57f48c088dbc 100644
--- a/www/pecl-yaf/Makefile
+++ b/www/pecl-yaf/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yaf
PORTVERSION= 2.3.5
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile
index 111054ac1af7..767af72200ab 100644
--- a/www/pecl-yar/Makefile
+++ b/www/pecl-yar/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yar
PORTVERSION= 1.2.5
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile
index 709432e7c255..7720c194f7e6 100644
--- a/www/phalcon/Makefile
+++ b/www/phalcon/Makefile
@@ -3,6 +3,7 @@
PORTNAME= phalcon
PORTVERSION= 2.0.13
+PORTREVISION= 1
DISTVERSIONPREFIX= ${PORTNAME}-v
CATEGORIES= www
diff --git a/www/php-screw/Makefile b/www/php-screw/Makefile
index 1fa740c15dfa..7e784622a92b 100644
--- a/www/php-screw/Makefile
+++ b/www/php-screw/Makefile
@@ -40,9 +40,11 @@ do-build:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
- @${INSTALL_DATA} ${WRKSRC}/modules/php_screw.so \
+ @${INSTALL_LIB} ${WRKSRC}/modules/php_screw.so \
${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
@${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
+ @${ECHO_CMD} "extension="${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so" > \
+ ${STAGEDIR}${PREFIX}/etc/php/ext-30-screw.ini
.include <bsd.port.mk>
diff --git a/www/php-screw/files/pkg-message.in b/www/php-screw/files/pkg-message.in
index d55d343ff0e3..9da44833d26e 100644
--- a/www/php-screw/files/pkg-message.in
+++ b/www/php-screw/files/pkg-message.in
@@ -2,7 +2,8 @@
You have installed the php-screw package.
-Edit %%LOCALBASE%%/etc/php.ini and add:
+The following line has been added to %%PREFIX%%/etc/php/ext-30-screw.ini,
+so that the extension is automatically enabled:
extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/php_screw.so"
diff --git a/www/php-templates/Makefile b/www/php-templates/Makefile
index 15b43ae345a2..f517ee6c0366 100644
--- a/www/php-templates/Makefile
+++ b/www/php-templates/Makefile
@@ -31,5 +31,8 @@ do-install:
${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}-doc/* ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
+ @${ECHO_CMD} "extension="${PREFIX}/lib/php/${PHP_EXT_DIR}/templates.so" > \
+ ${STAGEDIR}${PREFIX}/etc/php/ext-20-templates.ini
.include <bsd.port.mk>
diff --git a/www/php-templates/files/pkg-message.in b/www/php-templates/files/pkg-message.in
index 22b6e4c63123..5564701a3f5f 100644
--- a/www/php-templates/files/pkg-message.in
+++ b/www/php-templates/files/pkg-message.in
@@ -2,7 +2,8 @@
You have installed the php-templates package.
-Edit %%LOCALBASE%%/etc/php.ini and add:
+The following line has been added to %%PREFIX%%/etc/php/ext-20-templates.ini,
+so that the extension is automatically enabled:
extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/templates.so"
diff --git a/www/php55-opcache/Makefile b/www/php55-opcache/Makefile
index 753ea6ed9d4c..3babb3c7b0b4 100644
--- a/www/php55-opcache/Makefile
+++ b/www/php55-opcache/Makefile
@@ -1,7 +1,7 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php55
diff --git a/www/php55-session/Makefile b/www/php55-session/Makefile
index 84d171bd42a9..7ac4188d1273 100644
--- a/www/php55-session/Makefile
+++ b/www/php55-session/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php55
diff --git a/www/php55-tidy/Makefile b/www/php55-tidy/Makefile
index d78c094b19ce..4289e2ecbf6c 100644
--- a/www/php55-tidy/Makefile
+++ b/www/php55-tidy/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php55
diff --git a/www/php56-opcache/Makefile b/www/php56-opcache/Makefile
index 99b55c2bf18c..8184881949ac 100644
--- a/www/php56-opcache/Makefile
+++ b/www/php56-opcache/Makefile
@@ -1,7 +1,7 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php56
diff --git a/www/php56-session/Makefile b/www/php56-session/Makefile
index a8c4fc1105fc..d4e611efb9a3 100644
--- a/www/php56-session/Makefile
+++ b/www/php56-session/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php56
diff --git a/www/php56-tidy/Makefile b/www/php56-tidy/Makefile
index 872746370284..80babeb69959 100644
--- a/www/php56-tidy/Makefile
+++ b/www/php56-tidy/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php56
diff --git a/www/php70-opcache/Makefile b/www/php70-opcache/Makefile
index d72107618e45..322c1dc921a2 100644
--- a/www/php70-opcache/Makefile
+++ b/www/php70-opcache/Makefile
@@ -1,7 +1,7 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php70
diff --git a/www/php70-session/Makefile b/www/php70-session/Makefile
index 6b20fd0eda6c..d445ec8d63c2 100644
--- a/www/php70-session/Makefile
+++ b/www/php70-session/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php70
diff --git a/www/php70-tidy/Makefile b/www/php70-tidy/Makefile
index 40f6250f1d08..3a4b20798c03 100644
--- a/www/php70-tidy/Makefile
+++ b/www/php70-tidy/Makefile
@@ -1,6 +1,7 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
+PORTREVISION= 1
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php70