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)
Fri, Dec 6, 3:52 PM
Unknown Object (File)
Sun, Dec 1, 3:57 AM
Unknown Object (File)
Fri, Nov 29, 7:21 AM
Unknown Object (File)
Mon, Nov 25, 12:42 AM
Unknown Object (File)
Sun, Nov 24, 5:18 AM
Unknown Object (File)
Sat, Nov 23, 7:22 AM
Unknown Object (File)
Sat, Nov 23, 1:06 AM
Unknown Object (File)
Fri, Nov 22, 5:00 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.