Bug 254285 - net/pecl-xmlrpc: New(ish) port net/pecl-xmlrpc
Summary: net/pecl-xmlrpc: New(ish) port net/pecl-xmlrpc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Torsten Zuehlsdorff
URL: https://pecl.php.net/package/xmlrpc
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-14 19:27 UTC by Derek Schrock
Modified: 2021-03-28 23:52 UTC (History)
1 user (show)

See Also:


Attachments
New(ish) port net/pecl-xmlrpc (4.05 KB, patch)
2021-03-14 19:27 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2021-03-14 19:27:26 UTC
Created attachment 223264 [details]
New(ish) port net/pecl-xmlrpc

Bring back net/php7X-xmlrpc from the new pecl xmlrpc package [1].

xmlrpc extension was removed from php 7.4 [2] then later brougth back
as the pecl xmlrpc package.  A direct copy from the php 7.4 source.

Place xmlrpc back in to Mk/Uses/php.mk _USE_PHP_ALL.  Add logic to select
the proper xmlrpc php extension port base off version.

portlint -A: ok. looks fine.
testport: ok. 12amd64.
unittest: ok. 35 tests. 2 skipped. 16 failed. 17 passed.


Running the same 'make test' vs net/php74-xmlrpc you see the same test results: 35 tests. 2 skipped. 16 failed. 17 passed.  I believe these are issues with the upstream tests and nothing new.

Using poudriere testport with a j-p-z-make.conf with DEFAULT_VERSIONS=php=80 and a port that uses USES_PHP=xmlrpc (www/tt-rss) net/pecl-xmlrpc is properly pulled in vs when not setting DEFAULT_VERSIONS php74 version is used.
Comment 1 commit-hook freebsd_committer 2021-03-28 23:49:26 UTC
A commit references this bug:

Author: tz
Date: Sun Mar 28 23:48:46 UTC 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@lifeofadishwasher.com>
  Reviewed by:	tz, ale
  Approved by:	tz, ale
  Differential Revision:	https://reviews.freebsd.org/D29264

Changes:
  head/Mk/Uses/php.mk
  head/net/Makefile
  head/net/pecl-xmlrpc/
  head/net/pecl-xmlrpc/Makefile
  head/net/pecl-xmlrpc/distinfo
  head/net/pecl-xmlrpc/pkg-descr
Comment 2 Torsten Zuehlsdorff freebsd_committer 2021-03-28 23:52:18 UTC
Its committed now! Thank you! :)