rename xbps-packages to void-packages
This commit is contained in:
parent
09bf6646d1
commit
2fe65dccec
2
NEWS
2
NEWS
@ -15,6 +15,8 @@ xbps-0.41 (???):
|
|||||||
the next update xbps-install will automatically replace the broken release by
|
the next update xbps-install will automatically replace the broken release by
|
||||||
the new downgraded release.
|
the new downgraded release.
|
||||||
|
|
||||||
|
* replace xbps-package directory by the new void-packages, by Enno Boland.
|
||||||
|
|
||||||
xbps-0.40 (2014-09-18):
|
xbps-0.40 (2014-09-18):
|
||||||
|
|
||||||
* xbps-install(8): handle xbps_transaction_prepare() returning ENOSPC, to
|
* xbps-install(8): handle xbps_transaction_prepare() returning ENOSPC, to
|
||||||
|
@ -187,8 +187,8 @@ show_usage(const char *prog)
|
|||||||
" -h,--help Show this helpful help-message for help.\n"
|
" -h,--help Show this helpful help-message for help.\n"
|
||||||
" -C,--config=FILENAME Set (or override) the `xbps.conf' (which may\n"
|
" -C,--config=FILENAME Set (or override) the `xbps.conf' (which may\n"
|
||||||
" have automatically been detected).\n"
|
" have automatically been detected).\n"
|
||||||
" -D,--distdir=DIRECTORY Set (or override) the path to xbps-packages\n"
|
" -D,--distdir=DIRECTORY Set (or override) the path to void-packages\n"
|
||||||
" (defaults to ~/xbps-packages).\n"
|
" (defaults to ~/void-packages).\n"
|
||||||
" -d,--debug Enable debug output to stderr.\n"
|
" -d,--debug Enable debug output to stderr.\n"
|
||||||
" -i,--installed Check for outdated packages in rootdir, rather\n"
|
" -i,--installed Check for outdated packages in rootdir, rather\n"
|
||||||
" than in the XBPS repositories.\n"
|
" than in the XBPS repositories.\n"
|
||||||
@ -650,10 +650,10 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* If --distdir not set default to ~/xbps-packages.
|
* If --distdir not set default to ~/void-packages.
|
||||||
*/
|
*/
|
||||||
if (rcv.distdir == NULL) {
|
if (rcv.distdir == NULL) {
|
||||||
distdir = xbps_xasprintf("%s/xbps-packages", getenv("HOME"));
|
distdir = xbps_xasprintf("%s/void-packages", getenv("HOME"));
|
||||||
rcv_set_distdir(&rcv, distdir);
|
rcv_set_distdir(&rcv, distdir);
|
||||||
free(distdir);
|
free(distdir);
|
||||||
}
|
}
|
||||||
|
@ -14,12 +14,12 @@ The
|
|||||||
utility checks for outdated packages in a target root directory or in
|
utility checks for outdated packages in a target root directory or in
|
||||||
all registered repositories by comparing the package versions against
|
all registered repositories by comparing the package versions against
|
||||||
the source package versions available in a
|
the source package versions available in a
|
||||||
.Nm xbps-packages
|
.Nm void-packages
|
||||||
tree. By default and unless the
|
tree. By default and unless the
|
||||||
.Fl i, Fl -installed
|
.Fl i, Fl -installed
|
||||||
option is not set, it will compare package versions in repositories against
|
option is not set, it will compare package versions in repositories against
|
||||||
the
|
the
|
||||||
.Nm xbps-packages
|
.Nm void-packages
|
||||||
tree. The
|
tree. The
|
||||||
.Ar FILES
|
.Ar FILES
|
||||||
argument sets extra packages to process with the outdated ones (only processed if missing).
|
argument sets extra packages to process with the outdated ones (only processed if missing).
|
||||||
@ -28,8 +28,8 @@ argument sets extra packages to process with the outdated ones (only processed i
|
|||||||
.It Fl C, Fl -config Ar file
|
.It Fl C, Fl -config Ar file
|
||||||
Specifies a full path to the XBPS configuration file.
|
Specifies a full path to the XBPS configuration file.
|
||||||
.It Fl D, Fl -distdir Ar dir
|
.It Fl D, Fl -distdir Ar dir
|
||||||
Specifies a full path to the xbps-packages repository. By default set to
|
Specifies a full path to the void-packages repository. By default set to
|
||||||
.Nm ~/xbps-packages .
|
.Nm ~/void-packages .
|
||||||
.It Fl d, Fl -debug
|
.It Fl d, Fl -debug
|
||||||
Enables extra debugging shown to stderr.
|
Enables extra debugging shown to stderr.
|
||||||
.It Fl h, Fl -help
|
.It Fl h, Fl -help
|
||||||
@ -42,7 +42,7 @@ Repository to be added to the top of the list. This option can be specified mult
|
|||||||
Specifies a full path for the target root directory.
|
Specifies a full path for the target root directory.
|
||||||
.It Fl s, Fl -show-missing
|
.It Fl s, Fl -show-missing
|
||||||
Shows missing binary packages comparing against the
|
Shows missing binary packages comparing against the
|
||||||
.Nm xbps-packages
|
.Nm void-packages
|
||||||
tree.
|
tree.
|
||||||
.It Fl V, Fl -version
|
.It Fl V, Fl -version
|
||||||
Shows the XBPS version.
|
Shows the XBPS version.
|
||||||
|
@ -83,7 +83,7 @@ static void __attribute__((noreturn))
|
|||||||
usage(const char *p)
|
usage(const char *p)
|
||||||
{
|
{
|
||||||
printf("Usage: %s [-D dir] [-H dir] [-S dir] <chrootdir> <command>\n\n"
|
printf("Usage: %s [-D dir] [-H dir] [-S dir] <chrootdir> <command>\n\n"
|
||||||
"-D <distdir> Directory to be bind mounted at <chrootdir>/xbps-packages\n"
|
"-D <distdir> Directory to be bind mounted at <chrootdir>/void-packages\n"
|
||||||
"-H <hostdir> Directory to be bind mounted at <chrootdir>/host\n"
|
"-H <hostdir> Directory to be bind mounted at <chrootdir>/host\n"
|
||||||
"-S <shmdir> Directory to be bind mounted at <chrootdir>/<shmdir>\n", p);
|
"-S <shmdir> Directory to be bind mounted at <chrootdir>/<shmdir>\n", p);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
@ -227,7 +227,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
/* bind mount distdir (if set) */
|
/* bind mount distdir (if set) */
|
||||||
if (distdir)
|
if (distdir)
|
||||||
bindmount(ruid, chrootdir, distdir, "/xbps-packages");
|
bindmount(ruid, chrootdir, distdir, "/void-packages");
|
||||||
|
|
||||||
/* bind mount shmdir (if set) */
|
/* bind mount shmdir (if set) */
|
||||||
if (shmdir)
|
if (shmdir)
|
||||||
|
@ -27,7 +27,7 @@ are simply disabled.
|
|||||||
.Bl -tag -width -x
|
.Bl -tag -width -x
|
||||||
.It Fl D Ar dir
|
.It Fl D Ar dir
|
||||||
Specifies a full path to a directory that will be bind mounted at
|
Specifies a full path to a directory that will be bind mounted at
|
||||||
.Ar CHROOTDIR/xbps-packages .
|
.Ar CHROOTDIR/void-packages .
|
||||||
.It Fl H Ar dir
|
.It Fl H Ar dir
|
||||||
Specifies a full path to a directory that will be bind mounted at
|
Specifies a full path to a directory that will be bind mounted at
|
||||||
.Ar CHROOTDIR/host .
|
.Ar CHROOTDIR/host .
|
||||||
|
@ -54,7 +54,7 @@ _xbps_installed_packages() {
|
|||||||
_xbps_checkvers() {
|
_xbps_checkvers() {
|
||||||
_arguments -s : \
|
_arguments -s : \
|
||||||
$_xbps_common \
|
$_xbps_common \
|
||||||
{-D,--distdir}'[Set the path to xbps-packages]:path:_files -/' \
|
{-D,--distdir}'[Set the path to void-packages]:path:_files -/' \
|
||||||
{-i,--installed}'[Check for outdated packages in rootdir]' \
|
{-i,--installed}'[Check for outdated packages in rootdir]' \
|
||||||
{-s,--show-missing}'[List any binary packages which are not built.]' \
|
{-s,--show-missing}'[List any binary packages which are not built.]' \
|
||||||
'*:extra packages:_files'
|
'*:extra packages:_files'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user