Project

General

Profile

Todo #3734

Remove PHP static pear modules from repo and use ports

Added by Jim Pingle over 3 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Category:
XmlRPC
Target version:
Start date:
07/03/2014
Due date:
% Done:

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

Revision ea0e22ee
Added by Renato Botelho over 1 year ago

Add pear directory to PHP include_path. Ticket #3734

Revision 1bdfe40a
Added by Renato Botelho over 1 year ago

Fix path to require pear-Crypt_CHAP installed file. Ticket #3734

Revision 470fddb1
Added by Renato Botelho over 1 year ago

Ticket #3734: Replace etc/inc/IPv6.inc by pear-Net_IPv6 port

Revision 238603f5
Added by Renato Botelho over 1 year ago

Ticket #3734: Retire PEAR.inc and use PEAR.php from ports

Revision d4c5ada9
Added by Renato Botelho over 1 year ago

Ticket #3734: Convert notify_via_smtp() to use pear-Mail

Revision 626ff13a
Added by Renato Botelho over 1 year ago

Ticket #3734: Retire smtp.inc, sasl.inc and *sasl_client.inc in favor of pear-Mail port

Revision c8c46e5a
Added by Renato Botelho over 1 year ago

Ticket #3734:

- Added timeout parameter for SMTP configuration
- Removed STARTTLS option, it's enabled automatically by pear-Mail when
server supports it

Revision e7cf30eb
Added by Renato Botelho over 1 year ago

Ticket #3734: Convert growl related code to use pear-Net_Growl port

Revision 07c208ff
Added by Renato Botelho over 1 year ago

Ticket #3734: Retire growl.class

Revision ffd2056a
Added by Renato Botelho over 1 year ago

Ticket: #3734: Convert rc.filter_synchronize to use pear-XML_RPC2

Revision 200728c9
Added by Renato Botelho over 1 year ago

Ticket #3734: Convert remaining xmlrpc_client.inc consumers to use XML_RPC2

Revision f81e7cc4
Added by Renato Botelho over 1 year ago

Ticket #3734: Convert xmlrpc.php to use XML/RPC2/Server.php

Revision 2355a762
Added by Renato Botelho over 1 year ago

Ticket #3734: Pass username on all xmlrpc calls

Revision 357b5e93
Added by Renato Botelho over 1 year ago

Ticket #3734: Remove xmlrpc.inc, xmlrpc_client.inc and xmlrpc_server.inc

Revision de645734
Added by Renato Botelho about 1 year ago

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 almost 3 years ago

  • Assignee set to Renato Botelho

#2 Updated by Renato Botelho almost 2 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 almost 2 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 1 year 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 1 year ago

CHAP.inc removed in 6989a7c

#6 Updated by Renato Botelho over 1 year ago

  • % Done changed from 0 to 80

#7 Updated by Renato Botelho over 1 year ago

  • % Done changed from 80 to 90

#8 Updated by Renato Botelho 11 months ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Moving radius.inc change to a new ticket (#7024)

Also available in: Atom PDF