Commit Graph

7 Commits

Author SHA1 Message Date
Juan RP
48b2f033da A bit of reorganization in C/shell code.
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
2008-12-19 04:18:49 +01:00
Juan RP
ff4f1346c2 stow_funcs.sh: don't error with metapkgs while removing.
--HG--
extra : convert_revision : 04d1f2fe6e9bc962f62b93f9b4bd6d566c759e07
2008-12-18 09:50:19 +01:00
Juan RP
6626a77bd7 Use -w rather than -O for write permission.
--HG--
extra : convert_revision : 20cbb0fff9d9e2fb21a174c606db84bfc9ffba76
2008-12-18 08:17:46 +01:00
Juan RP
ef2601f4eb Add pkg metadata into /var/cache/xbps/metadata and not /xbps-metadata.
With this change it's possible to use a binary package just by unpacking
it into the destination directory.

--HG--
extra : convert_revision : 5f025a5e5d7593555fa55d08d5652c26736a139e
2008-12-17 08:27:28 +01:00
Juan RP
710a7b8509 Move pkg metadata to /var/cache/xbps/$pkgname.
--HG--
extra : convert_revision : 70e1199e8f7e577e0c8fc20bb8643fe6fca31bc7
2008-12-16 10:22:24 +01:00
Juan RP
a31a003a63 Create binpkgs for meta-template packages.
--HG--
extra : convert_revision : fdf26fe45ee1b5ecb2d32a7e72e2b83c8ee02f5a
2008-12-13 08:44:51 +01:00
Juan RP
26f703e47f Split funcs from xbps.sh into its own files.
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
2008-12-13 05:23:16 +01:00