Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
The "path" field in the manifest has been renamed to "repopath", but the manifest parser was not updated, rendering it incapable of reading manifests generated by a recent version of pkg. Add an entry for "repopath" to the manifest_key list so we can parse both old and new manifests.
Dag-Erling Smørgrav committed 11 years ago
commit 1032362647d625e5dca865c25a2c797c79b547e8
parent 03edffb
1 file changed +1 -0
modified libpkg/pkg_manifest.c
@@ -98,6 +98,7 @@ static struct manifest_key {
	{ "option_descriptions", PKG_OPTION_DESCRIPTIONS, UCL_OBJECT, pkg_obj},
	{ "origin",              PKG_ORIGIN,              UCL_STRING, pkg_string},
	{ "path",                PKG_REPOPATH,            UCL_STRING, pkg_string},
+
	{ "repopath",            PKG_REPOPATH,            UCL_STRING, pkg_string},
	{ "pkgsize",             PKG_PKGSIZE,             UCL_INT,    pkg_int},
	{ "prefix",              PKG_PREFIX,              UCL_STRING, pkg_string},
	{ "provides",            PKG_PROVIDES,            UCL_ARRAY,  pkg_array},