Update P4DCTL from internal Perforce tree.
Note that this change does not bring the internal Jam files and deletes the
existing builds, leaving that as a future task.
Move p4dctl's default configuration file (and the only one that is considered
safe to use) to '/etc/perforce/p4dctl.conf', and also move the directory that
gets included by default to '/etc/perforce/p4dctl.conf.d'.
Make p4dctl provide LANG and LC_ALL environment variables to child processes.
These both default to 'C'. They can be overridden in either global or
server-specific environment blocks, but given that 2014.2 relies on LANG, it's
better if that is set than missing.
Change syntax of p4dctl config files so as to more clearly differentiate
between 'settings' that p4dctl understands and environment variables to be set
for the child processes.
The old style syntax looked like this:
p4d main
{
Owner = perforce
Execute = /usr/local/bin/p4d
Where the only thing that differentiated the two was a convention on the use of
case. Anything p4dctl didn't understand would be set as an environment variable.
Now, we're separating the environment into a dedicated block, so p4dctl can
flag up early if it encounters settings it doesn't know about.
The new syntax looks like this:
p4d main
{
Owner = perforce
Execute = /usr/local/bin/p4d