Make promise logging context follow stack frames
Added an option for configure '--with-logdir=>directory>'. When not specified it is the same as 'WORKDIR'.
This came up when building the debian package. We need to change the location of the logfiles.  For testing we can override it with
an environment variable 'CFENGINE_TEST_OVERRIDE_LOGDIR' and also defined 'sys.logdir', eg:

body common control
{
    bundlesequence => { test };
}

bundle agent test
{
    reports:
            any::
                "$(sys.workdir)";
                "$(sys.logdir)";
}
Correct spelling in a few places
Merge pull request #1005 from bahamat/master

Correct spelling in a few places
Also change logidr --with-workdir is specified
Merge pull request #1004 from basvandervlies/loggdir_configurable

Added an option for configure '--with-logdir=>directory>'.
contrib/solaris-smf: information on how to integrate with Solaris SMF
Added an option for configure '--with-piddir=>directory>'. When not specified it is the same as 'WORKDIR'.
This came up when building the debian package. We need to change the location of the pid files.  For testing we can override it with
an environment variable 'CFENGINE_TEST_OVERRIDE_PIDDIR' and also defined 'sys.piddir', eg:

body common control
{
bundlesequence => { test };
}

bundle agent test
{
reports:
        any::
            "$(sys.workdir)";
            "$(sys.piddir)";
}
Fix strftime unit test.

The test tests/acceptance/01_vars/02_functions/strftime.cf would fail
builds on Sundays. The policy specified Sunday as 7 but strftime specifies
Sunday as 0.

From strftime(3):

     %w    is replaced by the weekday (Sunday as the first day of the week)
           as a decimal number (0-6).
Merge pull request #1010 from bahamat/master

Fix strftime unit test.
Merge pull request #1007 from tzz/tzz/bahamat/feature-contrib-solaris-smf

contrib/solaris-smf: information on how to integrate with Solaris SMF
Merge pull request #1009 from basvandervlies/pidir.configurable

Added an option for configure '--with-piddir=>directory>'.
Merge pull request #1012 from kacfengine/master

Fix stack corruption when calling VerifyEnvironmentsPromise().
Merge pull request #1014 from kacfengine/master

Fix compile error when not using libvirt.
Add some high-level bullets to change log for 3.6
Add user promise type
Rename 'container' -> 'data'
Clean up work/log/pid dir implementations and fix Windows build.