With these changes:
- Added 'sanitize-plist' action to xbps-pkgdb. It takes a plist
file as argument and writes another one "sanitized" by proplib.
Use it to sanitize the pkgindex plist file.
- Split xbps-pkgdb functions to be shared by other files.
- Split xbps-digest functions to be shared by other files.
- Rename the plist file to register/unregister installed pkgs to
regpkgdb.plist, and related stuff in shell scripts.
--HG--
extra : convert_revision : 37731b04c6b41aebac629dfa06106175b9b5e59c
That way it's easier to work in certain parts and easier to
catch errors. There's a performance penalty, but this can be
fixed later.
--HG--
extra : convert_revision : c0b0e63c873bb4c078ce332dd5182a72d57c3969