2009-10-28 21:02:22 +05:30
|
|
|
XBPS-REPO(8)
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
xbps-repo - XBPS command for binary package repositories
|
|
|
|
|
|
|
|
|
2009-12-18 17:49:33 +05:30
|
|
|
SYNOPSIS
|
2009-10-28 21:02:22 +05:30
|
|
|
--------
|
|
|
|
*xbps-repo* ['options'] 'target' ['arguments']
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2009-12-02 11:49:45 +05:30
|
|
|
The xbps-repo(8) command is used to handle local or remote binary
|
2009-10-28 21:02:22 +05:30
|
|
|
package repositories in the *XBPS binary package system*.
|
|
|
|
You can use it to create a package index for a local repository,
|
|
|
|
add or remove local and remote repositories, search for packages
|
|
|
|
and show information about a binary package in repository pool.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2009-11-28 08:26:16 +05:30
|
|
|
*-c* 'cachedir'::
|
|
|
|
Sets the 'cache' directory to store downloaded binary packages
|
|
|
|
from remote repositories.
|
|
|
|
By default it's set to '/var/cache/xbps' and it's always relative
|
|
|
|
to the 'root' directory. So if you use a 'rootdir' of '/blah',
|
|
|
|
it will become '/blah/cachedir'.
|
|
|
|
|
2009-10-28 21:02:22 +05:30
|
|
|
*-r* 'rootdir'::
|
|
|
|
Sets the 'root' directory. By default the root directory is
|
|
|
|
set to '/'. Please note that the database directory is always
|
|
|
|
set to '/var/db/xbps' independently of 'rootdir'. So if you
|
|
|
|
use a 'rootdir' of '/blah', metadata stuff will go into
|
|
|
|
'/blah/var/db/xbps'.
|
|
|
|
|
|
|
|
*-V*::
|
|
|
|
Shows the current XBPS release version (library and code).
|
|
|
|
|
|
|
|
|
|
|
|
TARGETS
|
|
|
|
-------
|
|
|
|
Please note that all targets are *case insensitive*.
|
|
|
|
|
|
|
|
*add* 'URI'::
|
|
|
|
Adds a repository as specified in 'URI' to the repository pool.
|
|
|
|
Local (by specifying a *directory*) and remote (by specifiying an
|
|
|
|
*HTTP/HTTPS/FTP URL*) repositories can be specified.
|
|
|
|
|
|
|
|
*genindex* '/path/to/local/repo'::
|
|
|
|
Generates a package index for a local repository as specified in
|
2009-11-18 11:04:39 +05:30
|
|
|
its argument. It will look for archives with *.xbps* extension
|
|
|
|
and will only add it into the index if version is newer than the one
|
2009-11-26 07:59:01 +05:30
|
|
|
available in the index. If a newer package is available, the
|
|
|
|
for old package file will be removed automatically.
|
2009-10-28 21:02:22 +05:30
|
|
|
|
|
|
|
*list*::
|
|
|
|
Lists all currently registered repositories in repository pool.
|
|
|
|
|
|
|
|
*remove* 'URI'::
|
|
|
|
Removes a repository from repository pool as specified by the
|
|
|
|
'URI' argument. You have to use the same 'URI' that was used
|
|
|
|
in the *add* target.
|
|
|
|
|
|
|
|
*search* 'pattern'::
|
|
|
|
Search for packages containing the shell 'pattern' (see fnmatch(3)) in
|
2009-11-26 07:59:01 +05:30
|
|
|
its *pkgname* or *description* values in repository pool.
|
2009-10-28 21:02:22 +05:30
|
|
|
|
|
|
|
*show 'pkgname'*::
|
|
|
|
Shows information about binary package 'pkgname'. This will print
|
|
|
|
the size it takes in filesystem, description, maintainer, architecture
|
2009-11-26 07:59:01 +05:30
|
|
|
and other information. The first repository in the pool wins. *NOTE:
|
2009-11-28 07:51:29 +05:30
|
|
|
if a remote repository is the winner and binary package is not available
|
|
|
|
in cachedir, it will fetch remotely and __on-the-fly__ the info*.
|
2009-10-28 21:02:22 +05:30
|
|
|
|
2009-11-24 16:17:04 +05:30
|
|
|
*show-deps 'pkgname'*::
|
|
|
|
Shows run time dependencies for binary package 'pkgname'. The first
|
|
|
|
repository in the pool wins.
|
|
|
|
|
2009-11-25 07:45:56 +05:30
|
|
|
*show-files 'pkgname'*::
|
|
|
|
Shows the file list for a binary package 'pkgname' by searching it
|
2009-11-28 07:51:29 +05:30
|
|
|
in repository pool. The first repository in the pool wins. *NOTE:
|
|
|
|
if a remote repository is the winner and binary package is not
|
|
|
|
available in `cachedir`, it will fetch remotely and __on-the-fly__
|
|
|
|
the info*.
|
2009-11-25 07:45:56 +05:30
|
|
|
|
2009-11-23 09:53:16 +05:30
|
|
|
*sync*::
|
|
|
|
Syncs the package index file for all registered remote repositories.
|
|
|
|
The new file will be fetched if local and remote size/mtime do not match.
|
2009-10-31 16:27:40 +05:30
|
|
|
|
2009-11-28 08:26:16 +05:30
|
|
|
FILES
|
|
|
|
-----
|
|
|
|
*/var/db/xbps/repositories.plist*:: Registered repository list.
|
|
|
|
+
|
|
|
|
|
|
|
|
*/var/db/xbps/<remoterepodir>/pkg-index.plist*:: Remote repository package index file.
|
|
|
|
+
|
|
|
|
|
|
|
|
*/var/cache/xbps*:: xbps _cache_ directory for downloaded binary packages.
|
|
|
|
+
|
2009-10-28 21:02:22 +05:30
|
|
|
|
|
|
|
BUGS
|
|
|
|
----
|
|
|
|
Probably, but I try to make this not happen. Use it under your own
|
|
|
|
responsability and enjoy your life.
|
|
|
|
|
|
|
|
Report bugs in '<https://bugs.launchpad.net/xbps>'.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2009-11-26 08:02:56 +05:30
|
|
|
link:xbps-bin.8.html[xbps-bin(8)], link:xbps-src.8.html[xbps-src(8)]
|
2009-10-28 21:02:22 +05:30
|
|
|
|
|
|
|
XBPS utilities: '<https://launchpad.net/xbps>'
|
|
|
|
|
|
|
|
To build binary packages, the xbps-src(8) shell script is the command
|
|
|
|
designed for this task. This must be retrieved from a GIT repository,
|
2009-11-17 22:13:09 +05:30
|
|
|
available at '<http://repo.or.cz/w/xbps.git>'.
|
2009-10-28 21:02:22 +05:30
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
The *XBPS binary package system* has been designed and implemented by
|
|
|
|
Juan Romero Pardines <xtraeme@gmail.com>.
|