cPanelMigrations/cpeval2 — pull request #7 by cPanelChrisD (2014-10-02 17:14:56+00:00)
Title: Several fixes and additions

===

FIXED - cpeval2 was broken on (some? all?) FreeBSD systems due to a missing sub that's been missing for a long while, possibly. We don't come across too many of these, apparently. The missing sub was never caught at compile-time because the sub call was only being evaluated at run-time, and it was only in a FreeBSD code-path. I found a copy of the original function and simply pasted it back in, and stopped using a lazy call on the sub since we don't need to.

===

ADDED - Check in mode 1 for missing "scp" command which can cause transfers to fail (applies to both local and remote servers):

!!! WARNING !!!: 'scp' may be missing (an attempt to run 'scp' did not return 'usage:' string), which could cause remote transfers to fail!

Requested by:
Chris Borsheim

===

FIXED - Handle missing PHP on source or dest server. It is now reported as "Unknown" in mode 1 and mode 2.

Reported by:
Richard Asp

===

ADDED - Print CPU model and core-count information in mode 1 output with the other system info.

Requested by:
Kyle Pinkley

===