Cloud-init : use dependencies in Makefile

Signed-off-by: Calle Wilund <calle@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Cloud-init : generate httpserver.conf from YAML using YAML-cpp emit

More compatible, can handle arbitrary YAML-subnodes

Signed-off-by: Calle Wilund <calle@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Httpserver - allow specific CORS host(s) + use "Origin" header

Instead of just binary nothing or "*" (any), accept
a number of accepted hosts and match them against "Origin"
supplied by client.

"*" (or "true") will still accept anything.

Signed-off-by: Calle Wilund <calle@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
libc: Add gethostbyaddr

This is needed for MySQL.

Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
API: Return thread status in response

Signed-off-by: Daniel Zautner <daniel@fewbytes.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>