Page MenuHomeFreeBSD

net/pecl-xmlrpc: New(ish) port net/pecl-xmlrpc
ClosedPublic

Authored by dereks_lifeofadishwasher.com on Mar 14 2021, 7:27 PM.
Tags
None
Referenced Files
F103121092: D29264.id85742.diff
Thu, Nov 21, 7:08 AM
F103120768: D29264.id86465.diff
Thu, Nov 21, 7:03 AM
F103082274: D29264.id86465.diff
Wed, Nov 20, 5:19 PM
Unknown Object (File)
Wed, Nov 20, 11:56 AM
Unknown Object (File)
Fri, Nov 8, 10:02 AM
Unknown Object (File)
Wed, Nov 6, 8:45 PM
Unknown Object (File)
Wed, Nov 6, 6:40 PM
Unknown Object (File)
Oct 17 2024, 2:45 PM
Subscribers

Details

Summary

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.

Test Plan
  • poudriere testport
  • make test on both new port and net/php74-xmlrpc compare results
  • Build a port that uses USES_PHP=xmlrpc with DEFAULT_VERSIONS and default php version 7.4 to confirm the proper port is added to the DEPENDS.

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.

TEST_ENV= added compared to net/php74-xmlrpc because php unittest appears to be interactive and ask for user input to send data upstream. I'm wondering if this should be default in ports frameworks when running php units with run-tests.php

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254285

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have not tested it in detail, but at a first glance, it looks good. :) Good work!

I have added ale to the tester list. We need his approval for the php.mk part. :)

Besides this, I will happily commit it after testing. :)

Looks good!

@ale: what do you think?

No objections from me

This revision was not accepted when it landed; it landed in state Needs Review.Mar 28 2021, 11:49 PM
Closed by commit rP569420: New port: net/pecl-xmlrpc (authored by tz). · Explain Why
This revision was automatically updated to reflect the committed changes.