Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
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 03edffbdef301d220b56085eda7778eb80fbc8b8
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},