From 3080aeb2a0a5d80949a49fccaf505cd124f7c8d0 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 24 Jul 2020 13:46:05 +0000 Subject: replace manual pages FossilOrigin-Name: 64396db2c76988929c50b63655bf3970acf3d2790e5828d6a36215cd5c1f2584 --- man/cpt-contrib.1 | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 man/cpt-contrib.1 (limited to 'man/cpt-contrib.1') diff --git a/man/cpt-contrib.1 b/man/cpt-contrib.1 new file mode 100644 index 0000000..8a34364 --- /dev/null +++ b/man/cpt-contrib.1 @@ -0,0 +1,126 @@ +.TH CPT-CONTRIB 1 2020-04-04 "CARBS LINUX" "General Commands Manual" +.SH NAME +cpt utilities +.SH DESCRIPTION +This manual page is not for a single program, but for multiple +utilities. Programs are explained in their own sections. They +are listed alphabetically. +.SH CPT-CAT +.B cpt-cat + [file] [file] + +Concatanates a package's files inside the system database. If no file is +specified, it looks for \fBbuild\fR, \fBdepends\fR, \fBsources\fR, and +\fBversion\fR. +.SH CPT-CHBUILD +.B cpt-chbuild + +cpt-chbuild, creates a temporary rootfs, and chroots into it. + +If it doesn't already exist, cpt-chbuild downloads the rootfs tarball to +your cache directory and extracts it into a \fBcarbs-chroot\fR directory. + +It then copies the chroot to a temporary directory, and runs cpt-chroot +to it. It removes the temporary chroot after the user exits. +.SH CPT-CHROOT +.B cpt-chroot + + +Mounts the required devices to the given directory, copies /etc/resolv.conf +from host, and chroots into the given directory. Cleans up after exit. +.SH CPT-DEPENDS +.B cpt-depends + + +Checks the dependencies of an installed package. +.SH CPT-EXPORT +.B cpt-export + + +Exports a package tarball of an installed package. +.SH CPT-FORK +.B cpt-fork + + +Copies the repository directory of the given package to the current working +directory. +.SH CPT-LINK +.B cpt-link +[file] [file] + +Links files from a package in the repository. It looks for the package by +the directory name, but this can be overriden by getting a PKG environment +value. + +.IP \fBExample:\fR +.nf +$ cpt-fork git +forked package to /home/cem/.local/repositories/overrides/git +$ cd git +$ cpt-link checksums version sources +linked /home/cem/.local/repositories/main/core/git/version to /home/cem/.local/repositories/overrides/git/version +linked /home/cem/.local/repositories/main/core/git/sources to /home/cem/.local/repositories/overrides/git/sources +linked /home/cem/.local/repositories/main/core/git/checksums to /home/cem/.local/repositories/overrides/git/checksums +.fi +.PP +.SH CPT-MANIFEST +.B cpt-manifest + + +Prints the manifest file. +.SH CPT-MANIFEST-TREE +.B cpt-manifest-tree + + +Prints the manifest file in a tree view. +.SH CPT-NEW +.B cpt-new + [version] [sources] + +Creates a boilerplate CPT package. +.SH CPT-OUTDATED +.B cpt-outdated + +Checks \fIrepology.org\fR to see if any installed packages are outdated. This +can be used to check if personal packages are outdated. +.SH CPT-OWNS +.B cpt-owns + + +Checks which package has installed the given file. +.SH CPT-READLINK +.B cpt-readlink + + +A 'readlink -f' replacement to be used inside the package manager. +.SH CPT-REPODEPENDS +.B cpt-repodepends + + +Prints the dependencies of the given package as they are defined in the repository. +.SH CPT-RESET +.B cpt-reset + +Removes all packages except the base packages. +.SH CPT-REVDEPENDS +.B cpt-revdepends + + +Prints the packages that depend on the given package. (Reverse dependencies) +.SH CPT-SIZE +.B cpt-size + + +Prints the given package's size, and its individual files. +.SH CPT-STAT +.B cpt-stat + + +Outputs the owner name of a file/directory +.SH CPT-WHICH +.B cpt-which + + +A \fIwhich\fR-like utility for CPT packages. +.SH SEE ALSO +cpt(1) -- cgit v1.2.3