New middleware call to provide licensing information
There is currently no way to see the licenses of all installed software on a FreeNAS system.
We need a new middleware call reporting license information on the currently installed operating system and packages.
Much of this information can be gathered with pkg query and the "%L" parameter. There needs to be some provision to manually add licenses for closed-source additions.
It should be possible to get a list of all licenses used by installed software, and then also to get the text of each of those licenses.
Ultimately, this information would all be shown in a UI window, like Firefox's Help->About Firefox->Licensing Information.