svn commit: r569420 - in head: Mk/Uses net net/pecl-xmlrpc
Torsten Zuehlsdorff
tz at FreeBSD.org
Sun Mar 28 23:48:46 UTC 2021
Author: tz
Date: Sun Mar 28 23:48:44 2021
New Revision: 569420
URL: https://svnweb.freebsd.org/changeset/ports/569420
Log:
New port: net/pecl-xmlrpc
These functions can be used to write XML-RPC servers and clients.
You can find more information about XML-RPC at http://www.xmlrpc.com/,
and more documentation on this extension and its functions at
http://xmlrpc-epi.sourceforge.net/.
WWW: https://pecl.php.net/package/xmlrpc
PR: 254285, 250648
Submitted by: Derek Schrock <dereks at lifeofadishwasher.com>
Reviewed by: tz, ale
Approved by: tz, ale
Differential Revision: https://reviews.freebsd.org/D29264
Added:
head/net/pecl-xmlrpc/
head/net/pecl-xmlrpc/Makefile (contents, props changed)
head/net/pecl-xmlrpc/distinfo (contents, props changed)
head/net/pecl-xmlrpc/pkg-descr (contents, props changed)
Modified:
head/Mk/Uses/php.mk
head/net/Makefile
Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk Sun Mar 28 23:48:12 2021 (r569419)
+++ head/Mk/Uses/php.mk Sun Mar 28 23:48:44 2021 (r569420)
@@ -377,10 +377,10 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl db
pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \
pspell radius readline redis session shmop simplexml snmp soap\
sockets spl sqlite3 sysvmsg sysvsem sysvshm \
- tidy tokenizer xml xmlreader xmlwriter xsl zip zlib
+ tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib
# version specific components
-_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode sodium xmlrpc wddx
-_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf sodium xmlrpc
+_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode sodium wddx
+_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf sodium
_USE_PHP_VER80= ${_USE_PHP_ALL} ffi sodium
bcmath_DEPENDS= math/php${PHP_VER}-bcmath
@@ -452,7 +452,11 @@ tokenizer_DEPENDS= devel/php${PHP_VER}-tokenizer
wddx_DEPENDS= textproc/php${PHP_VER}-wddx
xml_DEPENDS= textproc/php${PHP_VER}-xml
xmlreader_DEPENDS= textproc/php${PHP_VER}-xmlreader
+.if ${PHP_VER} >= 80
+xmlrpc_DEPENDS= net/pecl-xmlrpc@${PHP_FLAVOR}
+.else
xmlrpc_DEPENDS= net/php${PHP_VER}-xmlrpc
+.endif
xmlwriter_DEPENDS= textproc/php${PHP_VER}-xmlwriter
xsl_DEPENDS= textproc/php${PHP_VER}-xsl
zip_DEPENDS= archivers/php${PHP_VER}-zip
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Sun Mar 28 23:48:12 2021 (r569419)
+++ head/net/Makefile Sun Mar 28 23:48:44 2021 (r569420)
@@ -958,6 +958,7 @@
SUBDIR += pecl-radius
SUBDIR += pecl-rdkafka
SUBDIR += pecl-smbclient
+ SUBDIR += pecl-xmlrpc
SUBDIR += pecl-zmq
SUBDIR += pen
SUBDIR += pfinger
Added: head/net/pecl-xmlrpc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pecl-xmlrpc/Makefile Sun Mar 28 23:48:44 2021 (r569420)
@@ -0,0 +1,26 @@
+# Created by: Derek Schrock <dereks at lifeofadishwasher.com>
+# $FreeBSD$
+
+PORTNAME= xmlrpc
+PORTVERSION= 1.0.0
+DISTVERSIONSUFFIX= RC2
+CATEGORIES= net pear
+
+MAINTAINER= dereks at lifeofadishwasher.com
+COMMENT= PHP extension for XML-RPC servers and clients
+
+LICENSE= PHP301
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+IGNORE_WITH_PHP= 73 74
+
+USES= iconv:translit gnome php:pecl pkgconfig
+USE_PHP= xml:build
+USE_GNOME= libxml2
+
+CONFIGURE_ARGS+= --with-iconv-dir=${LOCALBASE}
+
+TEST_TARGET= test
+TEST_ENV= NO_INTERACTION=yes
+
+.include <bsd.port.mk>
Added: head/net/pecl-xmlrpc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pecl-xmlrpc/distinfo Sun Mar 28 23:48:44 2021 (r569420)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615160455
+SHA256 (PECL/xmlrpc-1.0.0RC2.tgz) = 9800a5f627c24e2f6acf61f816a54c66e9fdffbfabc598ffc0f0f1165d3ef041
+SIZE (PECL/xmlrpc-1.0.0RC2.tgz) = 79410
Added: head/net/pecl-xmlrpc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pecl-xmlrpc/pkg-descr Sun Mar 28 23:48:44 2021 (r569420)
@@ -0,0 +1,6 @@
+These functions can be used to write XML-RPC servers and clients.
+You can find more information about XML-RPC at http://www.xmlrpc.com/,
+and more documentation on this extension and its functions at
+http://xmlrpc-epi.sourceforge.net/.
+
+WWW: https://pecl.php.net/package/xmlrpc
More information about the svn-ports-all
mailing list