New configuration file via confuse: xbps.conf.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-include ../config.mk
|
||||
|
||||
CONF_FILES = conf.plist repositories.plist
|
||||
CONF_FILES = xbps.conf
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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.
|
||||
If string begins with '/' it will be treated as full path,
|
||||
otherwise it will be treated as relative to the root-directory. -->
|
||||
<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>
|
||||
|
||||
<!-- Default timeout limit for connections, in seconds. -->
|
||||
<key>fetch-timeout-connection</key>
|
||||
<integer>30</integer>
|
||||
|
||||
<!-- Enable syslog messages, set the value to false to disable. -->
|
||||
<key>syslog-enabled</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array>
|
||||
<!--
|
||||
You can specify here your list of repositories, the first
|
||||
repository that contains a package will be used for most
|
||||
targets in xbps-bin(8) and xbps-repo(8), with the exception
|
||||
for updating on which all repositories will be looked at and
|
||||
the newest version will be choosen.
|
||||
|
||||
Optionally a non default HTTP port can also be specified such as:
|
||||
http://foo.local:8080/xbps-repo
|
||||
|
||||
The order matters, and the top-most matching a package pattern
|
||||
or name will be used.
|
||||
|
||||
By default we use the official "public" repositories. You can add
|
||||
your own repositories by specifying the path (without the trailing
|
||||
'/' character) to the directory where the index.plist file is stored.
|
||||
-->
|
||||
<string>http://xbps.nopcode.org/repos/current/x86_64</string>
|
||||
<string>http://xbps.nopcode.org/repos/current/noarch</string>
|
||||
</array>
|
||||
</plist>
|
||||
62
etc/xbps.conf
Normal file
62
etc/xbps.conf
Normal file
@@ -0,0 +1,62 @@
|
||||
# Configuration file for XBPS.
|
||||
# ============================
|
||||
#
|
||||
# Root directory.
|
||||
#rootdir = /
|
||||
#
|
||||
# Cache directory to store downloaded binary packages.
|
||||
# If string begins with '/' it will be treated as full path,
|
||||
# otherwise it will be treated as relative to the root-directory.
|
||||
#cachedir = var/cache/xbps
|
||||
#
|
||||
# Default global limit of cached connections when fetching files.
|
||||
#fetch-cache-connections = 10
|
||||
#
|
||||
# Default per-host limit of cached connections when fetching files.
|
||||
#fetch-cache-connections-per-host = 3
|
||||
#
|
||||
# Default timeout limit for connections, in seconds.
|
||||
#fetch-timeout-connection = 30
|
||||
#
|
||||
# Enable syslog messages, set the value to false or 0 to disable.
|
||||
#syslog = true
|
||||
|
||||
# Repositories.
|
||||
#
|
||||
# You can specify here your list of repositories, the first
|
||||
# repository that contains a package will be used for most
|
||||
# targets in xbps-bin(8) and xbps-repo(8), with the exception
|
||||
# for updating on which all repositories will be looked at and
|
||||
# the newest version will be choosen.
|
||||
#
|
||||
# Optionally a non default HTTP port can also be specified such as:
|
||||
# http://foo.local:8080/xbps-repo
|
||||
#
|
||||
# The order matters, and the top-most matching a package pattern
|
||||
# or name will be used.
|
||||
#
|
||||
# By default we use the official "public" repositories. You can add
|
||||
# your own repositories by specifying the path (without the trailing
|
||||
# '/' character) to the directory where the index.plist file is stored.
|
||||
#
|
||||
# Repositories not matching the host architecture are simply ignored.
|
||||
#
|
||||
repositories = {
|
||||
http://xbps.goodluckwith.us/binpkgs/i686,
|
||||
http://xbps.goodluckwith.us/binpkgs/noarch,
|
||||
http://xbps.goodluckwith.us/binpkgs/nonfree/i686,
|
||||
/mnt/xbps_builder/host/binpkgs/x86_64,
|
||||
/mnt/xbps_builder/host/binpkgs/noarch,
|
||||
/mnt/xbps_builder/host/binpkgs/nonfree/x86_64
|
||||
}
|
||||
|
||||
# Virtual packages.
|
||||
#
|
||||
# The following syntax is used:
|
||||
# virtual-package <realpkgname> { targets = <virtualpkgname-version> }
|
||||
#
|
||||
# If a package supports multiple virtual packages these can be
|
||||
# specified in the 'targets' option such as:
|
||||
#
|
||||
# virtual-package foo { targets = blah-0, baz-1, ... }
|
||||
#
|
||||
Reference in New Issue
Block a user