It's now possible to set rootdir, cachedir, and fetch caches in the conf file.

This commit is contained in:
Juan RP
2011-06-04 17:08:44 +02:00
parent 48f689d8e6
commit 5a355ed6d9
2 changed files with 67 additions and 11 deletions

View File

@@ -2,6 +2,23 @@
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Default root directory, defaults to / -->
<key>root-directory</key>
<string>/</string>
<!-- Default cache directory to store downloaded binary packages -->
<key>cache-directory</key>
<string>/var/cache/xbps</string>
<!-- Default global limit of cached connections when fetching -->
<key>fetch-cache-connections</key>
<integer>10</integer>
<!-- Default per-host limit of cached connections when fetching -->
<key>fetch-cache-connections-per-host</key>
<integer>6</integer>
<!-- Repository list -->
<key>repositories</key>
<array>
<!-- You can specify here your list of repositories,
@@ -19,6 +36,8 @@
the path to the directory. -->
<string>http://xbps.nopcode.org/repos/stable</string>
</array>
<!-- Virtual packages -->
<key>package-virtual</key>
<array>
<!-- This dictionary sets that we _always_ want