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
Unknown Object (File)
Sun, Mar 31, 7:23 PM
Unknown Object (File)
Thu, Mar 28, 8:34 AM
Unknown Object (File)
Mar 5 2024, 9:41 AM
Unknown Object (File)
Mar 5 2024, 9:41 AM
Unknown Object (File)
Mar 5 2024, 9:41 AM
Unknown Object (File)
Mar 4 2024, 4:38 PM
Unknown Object (File)
Jan 18 2024, 10:33 AM
Unknown Object (File)
Jan 16 2024, 7:26 AM
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.