diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2021-03-28 23:48:44 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2021-03-28 23:48:44 +0000 |
commit | dfc4a14830dff3ca215112ecf448ff4671c3caf8 (patch) | |
tree | 77a3932f75448b04776c4227e681dccc7be7e473 | |
parent | 0eb25f802bf0aef0da210bba79aa42c6f9f604ae (diff) | |
download | ports-dfc4a14830dff3ca215112ecf448ff4671c3caf8.tar.gz ports-dfc4a14830dff3ca215112ecf448ff4671c3caf8.zip |
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@lifeofadishwasher.com>
Reviewed by: tz, ale
Approved by: tz, ale
Differential Revision: https://reviews.freebsd.org/D29264
Notes
Notes:
svn path=/head/; revision=569420
-rw-r--r-- | Mk/Uses/php.mk | 10 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/pecl-xmlrpc/Makefile | 26 | ||||
-rw-r--r-- | net/pecl-xmlrpc/distinfo | 3 | ||||
-rw-r--r-- | net/pecl-xmlrpc/pkg-descr | 6 |
5 files changed, 43 insertions, 3 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 293454216712..72e9977651db 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -377,10 +377,10 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ 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 diff --git a/net/Makefile b/net/Makefile index 1f66cd3a560b..855b91170b34 100644 --- a/net/Makefile +++ b/net/Makefile @@ -958,6 +958,7 @@ SUBDIR += pecl-radius SUBDIR += pecl-rdkafka SUBDIR += pecl-smbclient + SUBDIR += pecl-xmlrpc SUBDIR += pecl-zmq SUBDIR += pen SUBDIR += pfinger diff --git a/net/pecl-xmlrpc/Makefile b/net/pecl-xmlrpc/Makefile new file mode 100644 index 000000000000..862e556202c0 --- /dev/null +++ b/net/pecl-xmlrpc/Makefile @@ -0,0 +1,26 @@ +# Created by: Derek Schrock <dereks@lifeofadishwasher.com> +# $FreeBSD$ + +PORTNAME= xmlrpc +PORTVERSION= 1.0.0 +DISTVERSIONSUFFIX= RC2 +CATEGORIES= net pear + +MAINTAINER= dereks@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> diff --git a/net/pecl-xmlrpc/distinfo b/net/pecl-xmlrpc/distinfo new file mode 100644 index 000000000000..ad0d41454518 --- /dev/null +++ b/net/pecl-xmlrpc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1615160455 +SHA256 (PECL/xmlrpc-1.0.0RC2.tgz) = 9800a5f627c24e2f6acf61f816a54c66e9fdffbfabc598ffc0f0f1165d3ef041 +SIZE (PECL/xmlrpc-1.0.0RC2.tgz) = 79410 diff --git a/net/pecl-xmlrpc/pkg-descr b/net/pecl-xmlrpc/pkg-descr new file mode 100644 index 000000000000..ce62c36fa4c4 --- /dev/null +++ b/net/pecl-xmlrpc/pkg-descr @@ -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 |