Todo #3734
Remove PHP static pear modules from repo and use ports
100%
Description
The current XML_RPC code from PEAR in /etc/inc/xmlrpc_client.inc and /etc/inc/xmlrpc_server.inc is a bit behind. XML_RPC from PEAR ( http://pear.php.net/package/XML_RPC ) has been replaced by XML_RPC2 ( http://pear.php.net/package/XML_RPC2 ), however it comes with some extra dependencies and potentially other required changes so it may not quite be a drop-in replacement.
Associated revisions
Fix path to require pear-Crypt_CHAP installed file. Ticket #3734
Ticket #3734: Replace etc/inc/IPv6.inc by pear-Net_IPv6 port
Ticket #3734: Retire PEAR.inc and use PEAR.php from ports
Ticket #3734: Convert notify_via_smtp() to use pear-Mail
Ticket #3734: Retire smtp.inc, sasl.inc and *sasl_client.inc in favor of pear-Mail port
Ticket #3734:
- Added timeout parameter for SMTP configuration
- Removed STARTTLS option, it's enabled automatically by pear-Mail when
server supports it
Ticket #3734: Convert growl related code to use pear-Net_Growl port
Ticket #3734: Retire growl.class
Ticket: #3734: Convert rc.filter_synchronize to use pear-XML_RPC2
Ticket #3734: Convert remaining xmlrpc_client.inc consumers to use XML_RPC2
Ticket #3734: Convert xmlrpc.php to use XML/RPC2/Server.php
Ticket #3734: Pass username on all xmlrpc calls
Ticket #3734: Remove xmlrpc.inc, xmlrpc_client.inc and xmlrpc_server.inc
Ticket #3734: Add function to convert IPv6 address <-> binary
- ip6_to_bin() and bin_to_ip6() are copies obtained from pear-Net_IPv6
since the version available in the class is protected and we don't
want to add more patches to thirdy part software. If upstream accept
to change them to public we can retire them
- bin_to_compressed_ip6 is just a short way to conver binary direct to
a compressed IPv6 address
Reported at: https://forum.pfsense.org/index.php?topic=117601.0
History
#1
Updated by Jim Thompson about 6 years ago
- Assignee set to Renato Botelho
#2
Updated by Renato Botelho about 5 years ago
We have more PEAR components inside src, IMO the right way is to kill these copies and install them from FreeBSD ports.
Here is what we have on /etc/inc:
radius.inc (net/pear-Auth_RADIUS) REMOVED - xmlrpc_client.inc / xmlrpc_server.inc (net/pear-XML_RPC or net/pear-XML_RPC2) REMOVED - growl.class (pear-Net_Growl) REMOVED - PEAR.inc (devel/pear) REMOVED - CHAP.inc (security/pear-Crypt_CHAP) REMOVED - IPv6.inc (net/pear-Net_IPv6) REMOVED - smtp.inc (http://www.phpclasses.org/package/14-PHP-Sends-e-mail-messages-via-SMTP-protocol.html) REMOVED - *_sasl_client.inc / sasl.inc (http://www.phpclasses.org/package/1888-PHP-Single-API-for-standard-authentication-mechanisms.html)
#3
Updated by Renato Botelho about 5 years ago
- Target version changed from 2.3 to 2.4.0
Push it to next version so we can do it right, removing all static files and using packages provided from FreeBSD-ports
#4
Updated by Renato Botelho over 4 years ago
- Subject changed from Update PEAR XML_RPC Client/Server to Remove PHP static pear modules from repo and use ports
#5
Updated by Renato Botelho over 4 years ago
CHAP.inc removed in 6989a7c
#6
Updated by Renato Botelho over 4 years ago
- % Done changed from 0 to 80
#7
Updated by Renato Botelho over 4 years ago
- % Done changed from 80 to 90
#8
Updated by Renato Botelho about 4 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
Moving radius.inc change to a new ticket (#7024)
Add pear directory to PHP include_path. Ticket #3734