2015-10-28 14:07:09 +05:30
|
|
|
.Dd October 28, 2015
|
2015-05-16 13:15:35 +05:30
|
|
|
.Dt XBPS-RINDEX 1
|
2012-11-03 15:00:26 +05:30
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps-rindex
|
2013-10-07 13:53:14 +05:30
|
|
|
.Nd XBPS utility to manage local binary package repositories
|
2015-10-30 11:15:26 +05:30
|
|
|
.Sh SYNOPSIS
|
2012-11-03 15:00:26 +05:30
|
|
|
.Nm xbps-rindex
|
|
|
|
.Op OPTIONS
|
|
|
|
.Ar MODE
|
|
|
|
.Op ARGUMENTS
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2012-11-05 14:09:10 +05:30
|
|
|
utility creates, updates and removes obsolete binary packages stored
|
2012-11-03 15:00:26 +05:30
|
|
|
in local repositories.
|
|
|
|
.Sh OPTIONS
|
2014-11-06 15:24:52 +05:30
|
|
|
.Bl -tag -width November 6-x
|
|
|
|
.It Fl d, Fl -debug
|
|
|
|
Enables extra debugging shown to stderr.
|
2013-05-02 14:16:30 +05:30
|
|
|
.It Fl f -force
|
|
|
|
Forcefully register binary package into the local repository, overwriting existing entry.
|
2015-06-04 19:31:43 +05:30
|
|
|
Or forcefully create a package signature, even if there's an existing one already.
|
2013-05-02 14:16:30 +05:30
|
|
|
This flag is only useful with the
|
|
|
|
.Em add
|
2015-06-04 19:31:43 +05:30
|
|
|
or
|
|
|
|
.Em sign-pkg
|
|
|
|
modes.
|
2012-11-03 15:00:26 +05:30
|
|
|
.It Fl h -help
|
2015-10-30 11:15:26 +05:30
|
|
|
Show the help message.
|
2012-11-03 15:00:26 +05:30
|
|
|
.It Fl V -version
|
2015-10-30 11:15:26 +05:30
|
|
|
Show the version information.
|
2013-10-07 13:53:14 +05:30
|
|
|
.It Sy --signedby Ar string
|
|
|
|
This is required to sign a repository, a description of the person signing the repository, i.e name and email.
|
|
|
|
.It Sy --privkey Ar key
|
|
|
|
Path to the private RSA key to sign the repository. If unset, defaults to
|
|
|
|
.Sy ~/.ssh/id_rsa .
|
2014-09-30 15:06:08 +05:30
|
|
|
.El
|
2012-11-03 15:00:26 +05:30
|
|
|
.Sh MODE
|
2012-11-06 15:03:29 +05:30
|
|
|
.Bl -tag -width x
|
2014-11-29 12:57:33 +05:30
|
|
|
.It Sy -a, --add Ar /path/to/repository/binpkg.xbps ...
|
2013-10-07 13:53:14 +05:30
|
|
|
Registers the binary package into the local repository. The specified binary
|
|
|
|
package is only added to the index if its version is greater than the one
|
2014-11-29 12:57:33 +05:30
|
|
|
currently stored, use
|
|
|
|
.Ar -f
|
|
|
|
to forcefully register existing packages.
|
|
|
|
Multiple binary packages can be specified as arguments.
|
|
|
|
Absolute path to the local repository is expected.
|
|
|
|
.It Sy -c, --clean Ar /path/to/repository
|
2013-11-02 16:04:55 +05:30
|
|
|
Removes obsolete entries found in the local repository.
|
2014-11-29 12:57:33 +05:30
|
|
|
Absolute path to the local repository is expected.
|
|
|
|
.It Sy -r, --remove-obsoletes Ar /path/to/repository
|
2012-11-03 15:00:26 +05:30
|
|
|
Removes obsolete packages from
|
|
|
|
.Ar repository .
|
|
|
|
Packages that are not currently registered in repository's index will
|
2012-12-15 15:43:32 +05:30
|
|
|
be removed (out of date, invalid archives, etc).
|
2014-11-29 12:57:33 +05:30
|
|
|
Absolute path to the local repository is expected.
|
|
|
|
.It Sy -s, --sign Ar /path/to/repository
|
2015-06-04 19:31:43 +05:30
|
|
|
Initializes a signed repository with your specified RSA key.
|
|
|
|
Note this only adds some metadata to the repository archive to be able to sign packages.
|
|
|
|
If the
|
|
|
|
.Fl -privkey
|
2013-10-05 15:08:04 +05:30
|
|
|
argument not set, it defaults to
|
|
|
|
.Sy ~/.ssh/id_rsa .
|
2015-06-04 19:31:43 +05:30
|
|
|
.It Sy -S, --sign-pkg Ar /path/to/repository/binpkg.xbps ...
|
|
|
|
Signs a binary package archive with your specified RSA key. If
|
|
|
|
.Fl -privkey
|
|
|
|
argument not set, it defaults to
|
|
|
|
.Sy ~/.ssh/id_rsa .
|
|
|
|
If there's an existing signature, it won't be overwritten; use the
|
|
|
|
.Fl f
|
|
|
|
option to force the creation.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2013-02-20 16:12:06 +05:30
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width XBPS_TARGET_ARCH
|
2014-01-09 16:11:25 +05:30
|
|
|
.It Sy XBPS_ARCH
|
2013-02-20 16:12:06 +05:30
|
|
|
Overrides
|
|
|
|
.Xr uname 2
|
2014-01-09 16:11:25 +05:30
|
|
|
machine result with this value. Useful to install packages with a fake
|
2013-02-20 16:12:06 +05:30
|
|
|
architecture.
|
2014-01-09 16:11:25 +05:30
|
|
|
.It Sy XBPS_TARGET_ARCH
|
|
|
|
Sets the target architecture to this value. This variable differs from
|
|
|
|
.Sy XBPS_ARCH
|
|
|
|
in that it allows you to install packages partially, because
|
|
|
|
configuration phase is skipped (the target binaries might not be compatible with
|
|
|
|
the native architecture).
|
|
|
|
.It Sy XBPS_PASSPHRASE
|
|
|
|
If this is set, it will use this passphrase for the RSA private key when signing
|
|
|
|
a repository. Otherwise it will ask you to enter the passphrase on the terminal.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2012-11-03 15:00:26 +05:30
|
|
|
.Sh SEE ALSO
|
2015-05-16 13:15:35 +05:30
|
|
|
.Xr xbps-checkvers 1 ,
|
|
|
|
.Xr xbps-create 1 ,
|
|
|
|
.Xr xbps-dgraph 1 ,
|
2015-10-28 14:07:09 +05:30
|
|
|
.Xr xbps-fbulk 1 ,
|
2015-05-16 13:15:35 +05:30
|
|
|
.Xr xbps-install 1 ,
|
|
|
|
.Xr xbps-pkgdb 1 ,
|
|
|
|
.Xr xbps-query 1 ,
|
|
|
|
.Xr xbps-reconfigure 1 ,
|
|
|
|
.Xr xbps-remove 1 ,
|
|
|
|
.Xr xbps-uchroot 1 ,
|
|
|
|
.Xr xbps-uunshare 1 ,
|
|
|
|
.Xr xbps.d 5
|
2012-11-03 15:00:26 +05:30
|
|
|
.Sh AUTHORS
|
|
|
|
.An Juan Romero Pardines <xtraeme@gmail.com>
|
|
|
|
.Sh BUGS
|
|
|
|
Probably, but I try to make this not happen. Use it under your own
|
2015-10-28 14:33:41 +05:30
|
|
|
responsibility and enjoy your life.
|
2012-11-03 15:00:26 +05:30
|
|
|
.Pp
|
2015-10-30 11:15:26 +05:30
|
|
|
Report bugs at https://github.com/voidlinux/xbps/issues
|