Some revisions for square-bracket robustness, and also now
PKGINFO_LIST, etc., are generated automatically as needed.