genindex: added "filename-sha256" obj in pkgdict.

--HG--
extra : convert_revision : d443575b681c408bb357027fcc46f1e19022bd87
This commit is contained in:
Juan RP
2008-12-19 21:44:00 +01:00
parent 6a16f41237
commit 045e10c94e
2 changed files with 11 additions and 2 deletions

View File

@@ -17,7 +17,10 @@ a remote location specified with "location-remote".
The package dictionary will be the same than the one available in
package's metadata directory "/var/cache/xbps/$pkgname/props.plist",
but some additional objects are added to provide enough info for
the repository itself.
the repository itself:
- filename: name (and path) for the binary package.
- filename-sha256: SHA256 hash of the binary package.
Here's how the package index plist file shall look like in a repository:
@@ -39,6 +42,8 @@ Here's how the package index plist file shall look like in a repository:
<string>1.5.17</string>
<key>filename</key>
<string>klibc-1.5.17.x86_64.xbps</string>
<key>filename-sha256</key>
<string>7b0de0521983037107cc33f2b1514126432f86ac2be1ef9b9dc51a1e959ea777</string>
<key>architecture</key>
<string>x86_64</string>
<key>installed_size</key>