aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2012-09-09 11:23:38 -0500
committerJ Pipkin <j@dawnrazor.net>2012-09-09 11:23:38 -0500
commitd07199a545dfaa595e7aa9029316b423dd67a1b0 (patch)
tree6626fe992c85926fd5827675a05df1ea8a71e69f
parent68aa55ec3a8f62aec42c236202feba1cf12e266e (diff)
downloadsbotools2-d07199a545dfaa595e7aa9029316b423dd67a1b0.tar.xz
man1 manpages updated to include long option forms
-rw-r--r--man1/sbocheck.12
-rw-r--r--man1/sboclean.110
-rw-r--r--man1/sboconfig.131
-rw-r--r--man1/sbofind.18
-rw-r--r--man1/sboinstall.119
-rw-r--r--man1/sbosnap.117
-rw-r--r--man1/sboupgrade.125
7 files changed, 59 insertions, 53 deletions
diff --git a/man1/sbocheck.1 b/man1/sbocheck.1
index d30beab..ba8bb91 100644
--- a/man1/sbocheck.1
+++ b/man1/sbocheck.1
@@ -10,7 +10,7 @@ sbocheck [-v]
sbocheck first updates a previously fetched copy of the slackbuilds.org tree (see sbosnap(1)) and then checks to see if any packages installed from slackbuilds.org have updates, and reports what it finds.
.SH OPTIONS
.P
--v
+-v|--version
.RS
Show sbotools version information.
.RE
diff --git a/man1/sboclean.1 b/man1/sboclean.1
index 6a00abf..6bafa77 100644
--- a/man1/sboclean.1
+++ b/man1/sboclean.1
@@ -10,27 +10,27 @@ sboclean [-hvdwi]
sboclean is used to clean files left around by sbotools, such as downloaded source files ("distfiles"), or work directories under /tmp/SBo. Note that if not run with the -i flag, sboclean will remove anything in the distfiles or /tmp/SBo folders with extreme prejudice. One of either -d or -w must be specified for this script to do anything.
.SH OPTIONS
.P
--h
+-h|--help
.RS
Show help information.
.RE
.P
--v
+-v|--version
.RS
Show sbotools version information.
.RE
.P
--d
+-d|--clean-dist
.RS
Clean distfiles, by default located at /usr/sbo/distfiles.
.RE
.P
--w
+-w|--clean-work
.RS
Clean working directories, located under /tmp/SBo.
.RE
.P
--i
+-i|--interactive
.RS
Be interactive; sboclean will ask for confirmation for each item which it think should be removed.
.SH BUGS
diff --git a/man1/sboconfig.1 b/man1/sboconfig.1
index e11602c..9988cd0 100644
--- a/man1/sboconfig.1
+++ b/man1/sboconfig.1
@@ -10,44 +10,45 @@ sboconfig [-h] [-l] [-d TRUE|FALSE] [-j #|FALSE] [-c TRUE|FALSE] [-p /path|FALSE
sboconfig is a front-end for managing sbotools configuration options. The sbotools.conf(5) file can also be manually edited; any fields not relevant to sbotools configuration will be ignored.
.SH OPTIONS
.P
--h
+-h|--help
.RS
Show help information.
.RE
.P
--l
+-v|--version
.RS
-List out current configuration options, including unmodified default configuration options (meaning that if a given option is not set in the sbotools.conf(5) file, the default will be shown for that option). Also shows the flag to sboconfig used to set each option.
+Show version information.
.RE
.P
--d (TRUE|FALSE)
+-l|--list
.RS
-DISTCLEAN: If TRUE, then DO remove the source code after building the slackbuild. By default, the source code is not removed, and lives under $SBO_HOME/distfiles, which, by default, is /usr/sbo/distfiles. Setting this option to TRUE causes the source code to be removed by default. This can be overridden when running sboupgrade(1)/sboinstall(1).
+List out current configuration options, including unmodified default configuration options (meaning that if a given option is not set in the sbotools.conf(5) file, the default will be shown for that option). Also shows the flag to sboconfig used to set each option.
.RE
.P
--j (#|FALSE)
+-c|--noclean (FALSE|TRUE)
.RS
-JOBS: If numeric (2,5,10, etc), then that number will be fed to the "-j" argument to make when a slackbuild which invokes "make" is run. This only makes sense on multicore systems, where one might set the JOBS to the number of available cores, or half that number, etc.
+NOCLEAN: If TRUE, then DO NOT clean working directories after building the slackbuild. These are the directories where the source is unpacked and compiled, and where the package is put together in, which are under /tmp/SBo. By default, these directories are removed after building an slackbuild. Setting this option to TRUE causes the working directories to not be cleaned by default. This can be overridden when running sboupgrade(1)/sboinstall(1).
.RE
+
.P
--c (TRUE|FALSE)
+-d|--distclean (FALSE|TRUE)
.RS
-NOCLEAN: If TRUE, then DO NOT clean working directories after building the slackbuild. These are the directories where the source is unpacked and compiled, and where the package is put together in, which are under /tmp/SBo. By default, these directories are removed after building an slackbuild. Setting this option to TRUE causes the working directories to not be cleaned by default. This can be overridden when running sboupgrade(1)/sboinstall(1).
+DISTCLEAN: If TRUE, then DO remove the source code after building the slackbuild. By default, the source code is not removed, and lives under $SBO_HOME/distfiles, which, by default, is /usr/sbo/distfiles. Setting this option to TRUE causes the source code to be removed by default. This can be overridden when running sboupgrade(1)/sboinstall(1).
.RE
.P
--p (/path|FALSE)
+-j|--jobs (FALSE|#)
.RS
-PKG_DIR: If set to a path, packages will be stored at the given location after building and installing. By default, packages are left where they are deposited by slackbuilds, which is typically (probably always) /tmp. If PKG_DIR is FALSE and DISTCLEAN is TRUE (either in sbotools.conf(5) or at sboupgrade/sboinstall runtime), the package will be deleted. If this option is set to a path in the filesystem, the package will be stored in that directory, regardless of any DISTCLEAN option.
+JOBS: If numeric (2,5,10, etc), then that number will be fed to the "-j" argument to make when a slackbuild which invokes "make" is run. This only makes sense on multicore systems, where one might set the JOBS to the number of available cores, or half that number, etc.
.RE
.P
--s (/path|/usr/sbo)
+-p|--pkg-dir (FALSE|/path)
.RS
-SBO_HOME: If set to a path, this is where the slackbuilds.org tree will live; by default, /usr/sbo will be used. If the tree should live elsewhere, this option can be set to the path where the tree should live. Note that if you set this option after fetching the tree to a different location (such as the default), you will need to fetch the tree again.
+PKG_DIR: If set to a path, packages will be stored at the given location after building and installing. By default, packages are left where they are deposited by slackbuilds, which is typically (probably always) /tmp. If PKG_DIR is FALSE and DISTCLEAN is TRUE (either in sbotools.conf(5) or at sboupgrade/sboinstall runtime), the package will be deleted. If this option is set to a path in the filesystem, the package will be stored in that directory, regardless of any DISTCLEAN option.
.RE
.P
--v
+-s|--sbo-home (/usr/sbo|/path)
.RS
-Show sbotools version information.
+SBO_HOME: If set to a path, this is where the slackbuilds.org tree will live; by default, /usr/sbo will be used. If the tree should live elsewhere, this option can be set to the path where the tree should live. Note that if you set this option after fetching the tree to a different location (such as the default), you will need to fetch the tree again.
.RE
.SH BUGS
.P
diff --git a/man1/sbofind.1 b/man1/sbofind.1
index f6372f5..73e4980 100644
--- a/man1/sbofind.1
+++ b/man1/sbofind.1
@@ -10,22 +10,22 @@ sbofind [-hvir] search_term
sbofind searches the names of all slackbuilds for a given term. It reports back any slackbuilds found along with the path for each. This is equivalent to running "cd /usr/ports; make search name=$search_term display=name,path" on a FreeBSD system. For a more general search, the slackbuilds.org site should be consulted, where tags also exist and are included in the searched fields.
.SH OPTIONS
.P
--h
+-h|--help
.RS
Show help information.
.RE
.P
--v
+-v|--version
.RS
Show sbotools version information.
.RE
.P
--i
+-i|--info
.RS
Show the contents of a the .info file for each slackbuild found.
.RE
.P
--r
+-r|--readme
.RS
Show the contents of the README file for each slackbuild found.
.RE
diff --git a/man1/sboinstall.1 b/man1/sboinstall.1
index 23e9d25..c05e1b8 100644
--- a/man1/sboinstall.1
+++ b/man1/sboinstall.1
@@ -10,46 +10,47 @@ sboinstall [-h] [-v] [-d TRUE|FALSE] [-j #|FALSE] [-c TRUE|FALSE] [-N] [-r] [-R]
sboinstall is equivalent to sboupgrade -N, but is faster, so is preferred if only installing one or more new packages. If the -r flag is NOT specified, sboinstall will attempt to grok a list of requirements in the README for a given slackbuild. If such a list exists, sboinstall will look to see whether or not those requirements are already installed, and if not, it will ask whether or not it should attempt to install them first. Note that this method is FAR from foolproof, which is why this does not happen if the README is bypassed. sboinstall will also note groupadd and useradd commands in README files and offer to run those first. If the README documents options of the KEY=value form, sboinstall will offer the opportunity to set options.
.SH OPTIONS
.P
--h
+-h|--help
.RS
Show help information.
.RE
.P
--v
+-v|--version
.RS
Show sbotools version information.
.RE
.P
--c (TRUE|FALSE)
+-c|--noclean (TRUE|FALSE)
.RS
If TRUE, then DO NOT clean working directories after building the slackbuild. These are the directories where the source is unpacked and compiled, and where the package is put together in, which are under /tmp/SBo. By default, these directories are removed after building an slackbuild. This option leaves those directories in place. This can be set as default via the sboconfig(1) command. Also see sbotools.conf(5). This option overrides the default.
.RE
.P
--d (TRUE|FALSE)
+-d|--distclean (FALSE|TRUE)
.RS
If TRUE, then DO remove the source code after building the slackbuild. By default, the source code is not removed, and lives under $SBO_HOME/distfiles, which, by default, is /usr/sbo/distfiles; this option can be set as default via the sboconfig(1) command. See also sbotools.conf(5). This option overrides the default.
.RE
.P
--i
+-i|--noinstall
.RS
Do not actually install the package created at the end of the build process. So, the slackbuild will be run, and the package will be left in /tmp, or in $PKG_DIR if so defined (see sboconfig(1) and sbotools.conf(5)).
.RE
.P
--j (#|FALSE)
+-j|--jobs (FALSE|#)
.RS
If numeric (2,5,10, etc), then that number will be fed to the "-j" argument to make when a slackbuild which invokes "make" is run. This only makes sense on multicore systems, where one might set the JOBS to the number of available cores, or half that number, etc.
.RE
.P
--p
+-p|--compat32
.RS
Create a -compat32 package instead of a normal x86_64 package on multilib x86_64 systems. This requires /usr/sbin/convertpkg-compat32; this can at least be obtained from AlienBob's compat32-tools package - see http://alien.slackbook.org/blog/. Note that this may or may not be foolproof, and is not supported by anyone; not me, not AlienBob, not Slackware, etc. I recommend using this with the -i option so that the created package can be inspected prior to installation. If you find that a particular slackbuild needs additional help to be created as -compat32 package, contact me at j@dawnrazor.net.
.RE
.P
--r
+-r|--nointeractive
.RS
Skip viewing of the README and the yes or no question which accompanies it. Anytime sboupgrade or sboinstall is run, the first thing the command will attempt to do is show you the README for a given slackbuild and ask whether or not you wish to proceed; this option skips the README and bypasses the question. If multiple slackbuilds are specified, this option bypasses them all.
.RE
--R
+.P
+-R|--norequirements
.RS
This option causes sboupgrade to skip requirement parsing, but still show the README and prompt the user to proceed.
.RE
diff --git a/man1/sbosnap.1 b/man1/sbosnap.1
index 27e0c68..48144b2 100644
--- a/man1/sbosnap.1
+++ b/man1/sbosnap.1
@@ -10,6 +10,17 @@ sbosnap [-v] (fetch|update)
sbosnap is used to download and update a local copy of the slackbuilds.org tree, minus the .tar.gz{,.asc} files. Note that sbocheck(1) will also update the tree, and will then also check for updated slackbuilds. rsync is used for both operations.
.SH OPTIONS
.P
+-h|--help
+.RS
+Show help information.
+.RE
+.P
+-v|--version
+.RS
+Show version information.
+.RE
+.SH COMMANDS
+.P
fetch
.RS
Download a local copy of the slackbuilds.org tree. The copy will be downloaded to the SBO_HOME setting (see sboconfig(1) and sbotools.conf(5)), which, by default, is /usr/sbo
@@ -19,12 +30,6 @@ update
.RS
Update a previously fetch'd copy of the slackbuilds.org tree.
.RE
-.P
--v
-.RS
-Show sbotools version information.
-.RE
-
.SH BUGS
.P
None known, but there may be some. Please report any found to j@dawnrazor.net; patches are always welcome.
diff --git a/man1/sboupgrade.1 b/man1/sboupgrade.1
index 66e2abf..9d10de8 100644
--- a/man1/sboupgrade.1
+++ b/man1/sboupgrade.1
@@ -8,65 +8,64 @@ sboupgrade [-h] [-v] [-d TRUE|FALSE] [-j #|FALSE] [-c TRUE|FALSE] [-f] [-N] [-r]
.SH DESCRIPTION
.P
sboupgrade is used to upgrade packages installed from slackbuilds. If the -r flag is NOT specified, sboupgrade will attempt to grok a list of requirements in the README for a given slackbuild. If such a list exists, sboupgrade will look to see whether or not those requirements are already installed, and if not, it will ask whether or not it should attempt to install them first. Note that this method is FAR from foolproof, which is part of the reason this does not happen if the README is bypassed. sboupgrade will also note groupadd and useradd commands in README files and offer to run those first. If the README documents options of the KEY=value form, sboupgrade will offer the opportunity to set such options.
-
.SH OPTIONS
.P
--h
+-h|--help
.RS
Show help information.
.RE
.P
--v
+-v|--version
.RS
Show sbotools version information.
.RE
.P
--c (TRUE|FALSE)
+-c|--noclean (FALSE|TRUE)
.RS
If TRUE, then DO NOT clean working directories after building the slackbuild. These are the directories where the source is unpacked and compiled, and where the package is put together in, which are under /tmp/SBo. By default, these directories are removed after building an slackbuild. This option leaves those directories in place. This can be set as default via the sboconfig(1) command. Also see sbotools.conf(5). This option overrides the default.
.RE
.P
--d (TRUE|FALSE)
+-d|--distclean (FALSE|TRUE)
.RS
If TRUE, then DO remove the source code after building the slackbuild. By default, the source code is not removed, and lives under $SBO_HOME/distfiles, which, by default, is /usr/sbo/distfiles; this option can be set as default via the sboconfig(1) command. See also sbotools.conf(5). This option overrides the default.
.RE
.P
--f
+-f|--force
.RS
Force an upgrade, even if the installed version is equal to or less than the slackbuilds.org version.
.RE
.P
--n
+-i|--noinstall
.RS
Do not actually install the package created at the end of the build process. So, the slackbuild will be run, and the package will be left in /tmp, or in $PKG_DIR if so defined (see sboconfig(1) and sbotools.conf(5)).
.RE
--j (#|FALSE)
+-j|--jobs (FALSE|#)
.RS
If numeric (2,5,10, etc), then that number will be fed to the "-j" argument to make when a slackbuild which invokes "make" is run. This only makes sense on multicore systems, where one might set the JOBS to the number of available cores, or half that number, etc.
.RE
.P
--N
+-N|--installnew
.RS
Install any new slackbuilds specified. So, if you want to upgrade some things and install new things with the same command, then you would use the -N flag. Note that upgrades are handled prior to new installs.
.RE
.P
--i
+-r|--nointeractive
.RS
Skip viewing of the README and the yes or no question which accompanies it. Anytime sboupgrade is run, the first thing the command will attempt to do is show you the README for a given slackbuild and ask whether or not you wish to proceed; this option skips the README and bypasses the question. If multiple slackbuilds are specified, this option bypasses them all.
.RE
.P
--R
+-R|--norequirements
.RS
This option causes sboupgrade to skip requirement parsing, but still show the README and prompt the user to proceed.
.RE
.P
--r
+-z|--force-reqs
.RS
When used in combination with the -f option, to force a slackbuild even if it would not constitute an update, this will cause sboupgrade to also rebuild all of that slackbuild's requirements that it can grok. Normally with -f, only the slackbuild(s) specified, and any requirements not already installed, will be rebuilt.
.RE
.SH BUGS
.P
-Requirement parsing is not foolproof; there are very likely corner cases where it does not function as expected. If any such cases are found, please report this to j@dawnrazor.net; patches are always welcome as well.
+Requirement parsing is not foolproof; there are corner cases where it does not function as expected. If any such cases are found, please report this to j@dawnrazor.net; patches are always welcome as well.
.SH SEE ALSO
.P
sbocheck(1), sboclean(1), sboconfig(1), sbofind(1), sbosnap(1), sbotools.conf(5)