Time/hard classes not updated properly in new exec loop
(cherry picked from commit b34bbab04819da18c27bd90636ab69d8d0ae9376)
Pre-release version bump
Post-release version bump
Fix regression introduced by fix to time classes.

All weekdays and 5-minute interval classes were always set due to copy-
paste errors in code contributed in 669bc57d2ed024f81ac5a737f9ef1d1d13dd3d97
(cherry picked from commit 21c61fe7093499262ebf7fa2d8032c22d4966fa2)
Pre-release version bump
Post-release version bump
masterfiles/promises: fix English typo
(cherry picked from commit e94ad54a6e73bea4c22e0b422d1e3ca0217f2bff)
mon_network: fix segfault when trimming network socket data

The `sp` pointer would continue beyond the start of the buffer, thus
overwriting the 'addresses' value.
(cherry picked from commit 6f749f7968d9ef83e339a30378403e92149b1b80)
lastseen: initialize variable, don't propagate garbled digest

When calling Address2Hostkey(address, result) the result would only
be set if the address is known in the lastseen database. However,
some code did not check the return value of the fn() and still used
the result as if it were valid.

Now, just initialize the result to an empty string anyway.
(cherry picked from commit 71e739220ab50755c8c647a92176e575472488b9)

Conflicts:

	src/lastseen.c
cf-agent: fix serializing of "background" promises

When promises are marked as "background", we check that no more than
'max_children' have been spawned. If not, we have to execute them
serially.
With 'background == 1' this would never happen, thus skipping the
promise.
(cherry picked from commit c2fae32b2ee5db8d247d18ab74a57ca838a2ec6e)
server: fix close of "policy_server.dat" after poking it

In KeepHardClasses() we attempt to fopen("policy_server.dat") just
to prove it's readable.

We have to close it, too. We are not in C++, guys..
(cherry picked from commit a4a4442277702fb0b4b05ea3197bfe2b9814752a)
Document first changes
Do not continue if invalid socket family is received. This resulted in cf-serverd exiting with "Fatal Error" in sockaddr_ntop. Redmine #1880
(cherry picked from commit b1ca746ff9b4dded2ea56da27c6d3b0a8b1e3fb1)
Initialize sockaddr and socklen_t before passing them to getsockname. Uninitialized socklen(addrlen) resulted in unpredicatible values getting into sockaddr. Redmine #1880
This was observed in Ubuntu 64 bit systems while testing call-collect functionality.

From getsockname manpage:
"The addrlen argument should be initialized to indicate the  amount of  space  (in  bytes)  pointed  to  by addr."
(cherry picked from commit c23605f2b06f3c808502961cd53aaba66ef7a0b0)
Cleanup: print error if getsockname fails
(cherry picked from commit 1f6b97d9152ce4ea7be4f1bf93b80d1b40a66724)
Improved error message when libxml2 support is not compiled (Issue 1799)
(cherry picked from commit 70b8a64f28ed37f0189d548312a0a440aea30bde)
update quickstart guide, remove mentions of nova
(cherry picked from commit 22416060364c7f8f7ed7a61018ac3dbf96de5254)
add info about three packages (hub x 2 + client)for enterprise
(cherry picked from commit 4c3b2fdd9668e6fcd7b6572c9a984e63bcb139d0)
Fix build for netbsd + remove unnecessary #if define in SelectBSDMatch
(cherry picked from commit 230728b94fbf0eb5ad26aed9e07be6539ebb7f7b)

Conflicts:

	src/files_select.c
Silence compiler warning.

Variable was unused.
(cherry picked from commit da8ea6811fe2575eca62ceb2691728df8ad04691)