auc: several improvements
authorDaniel Golle <daniel@makrotopia.org>
Wed, 10 Mar 2021 16:12:17 +0000 (16:12 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 15 Mar 2021 00:54:23 +0000 (00:54 +0000)
commitfb26b424e8efbc47f768d41b671702e420ce3c59
tree021dd3387a4b4b650f188cd2b2cd42af305a6d2b
parent6fa328d10935c8816d12925a5182565c55bb8628
auc: several improvements

 * include version_code in request
 * include versions of selected packages in request
 * add SHA256 verification via busybox sha256sum
 * sort attributes in policies alphabetically
 * move all API-specific string constants to precompiler macros
 * set correct MIME type for JSON post request (application/json)
 * output string error message if something goes wrong
 * auto-generate version string

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/auc/Makefile
utils/auc/src/auc.c