diff options
Diffstat (limited to 'source/a/pkgtools/manpages')
-rw-r--r-- | source/a/pkgtools/manpages/installpkg.8 | 17 | ||||
-rw-r--r-- | source/a/pkgtools/manpages/makepkg.8 | 35 | ||||
-rw-r--r-- | source/a/pkgtools/manpages/pkgdiff.8 | 57 | ||||
-rw-r--r-- | source/a/pkgtools/manpages/removepkg.8 | 46 | ||||
-rw-r--r-- | source/a/pkgtools/manpages/upgradepkg.8 | 20 |
5 files changed, 150 insertions, 25 deletions
diff --git a/source/a/pkgtools/manpages/installpkg.8 b/source/a/pkgtools/manpages/installpkg.8 index 534f2084..f06e611d 100644 --- a/source/a/pkgtools/manpages/installpkg.8 +++ b/source/a/pkgtools/manpages/installpkg.8 @@ -31,6 +31,9 @@ installpkg \- install Slackware packages. .B \--terse ] [ +.B \--terselength <length> +] +[ .B \--ask ] [ @@ -39,13 +42,16 @@ installpkg \- install Slackware packages. [ .B \--tagfile /somedir/tagfile ] +[ +.B \--threads <number> +] .BI packagename [ .B packagename2 ... ] .SH DESCRIPTION .B installpkg -installs single or multiple *.tgz (or .tbz, .tlz, .txz) binary packages designed +installs single or multiple *.txz (or .tbz, .tgz, .tlz) binary packages designed for use with the Slackware Linux distribution onto your system. .SH OPTIONS .TP @@ -73,6 +79,9 @@ package(s) or not. Generally used when installpkg is called from other scripts. .B \--terse Install the package displaying only a single description line to stdout. .TP +.B \--terselength <length> +Maximum line length of --terse mode output. Default is the number of terminal columns. +.TP .B \--ask Used with -menu mode. When selected, always ask if a package should be installed regardless of what the package's priority is. @@ -87,6 +96,12 @@ the values set in the tagfile for the entire package list. .B \--tagfile /somedir/tagfile Specify a different file to use for package priorities (in this example, /somedir/tagfile will be used). The default is "tagfile" in the package's directory. +.TP +.B \--threads <number> +For xz/plzip compressed packages, set the maximum number of threads to be used for +decompression. Only has an effect if a multithreaded compressor was used, and then +only on large packages. The default for plzip is the number of CPU threads available. +The default for xz is 2. .SH EXAMPLES .TP .B Install a font package for X: diff --git a/source/a/pkgtools/manpages/makepkg.8 b/source/a/pkgtools/manpages/makepkg.8 index b280ce51..0f239a9b 100644 --- a/source/a/pkgtools/manpages/makepkg.8 +++ b/source/a/pkgtools/manpages/makepkg.8 @@ -18,6 +18,18 @@ makepkg \- make Slackware packages. [ .B -c, --chown y|n ] +[ +.B --threads <number> +] +[ +.B --compress <option> +] +[ +.B --acls +] +[ +.B --xattrs +] .BI packagename .SH DESCRIPTION .B makepkg @@ -30,9 +42,9 @@ appended to the primary installation script , or, if that script does not exist it will be created with those contents. The package will be written out to the file .BI packagename -which should be the full name, including the extension. This is usually .tgz, -but .tbz, .tlz, and .txz are also accepted. The proper compression utility -(gzip, bzip2, lzma, or xz) needs to be installed on the machine. +which should be the full name, including the extension. This is usually .txz, +but .tgz, .tbz, and .tlz are also accepted. The proper compression utility +(xz, gzip, bzip2, or lzip) needs to be installed on the machine. .SH OPTIONS .TP .B \-l, --linkadd y|n @@ -51,6 +63,23 @@ If y, makepkg will reset all directory permissions to 755 and ownership to root: In general, you should have the permissions and ownerships worked out yourself, so relying on setting this option to y is somewhat sloppy. It is not the default. If an option is not provided, makepkg will prompt. +.TP +.B --threads <number> +For xz/plzip compressed packages, set the maximum number of threads to be used for +compression. Only has an effect on large packages. For plzip, the default is the number +of CPU threads available. For xz, the default is 2 (due to commonly occuring memory +related failures on 32-bit with too many threads and multithreaded xz compression). +.TP +.B --compress <option> +Supply a custom option to the compressor. This will be used in place of the default, which is: -9 +.TP +.B --acls +Support storing POSIX ACLs in the package. The resulting package will not be compatible +with pkgtools version < 15.0. +.TP +.B --xattrs +Support storing extended attributes in the package. The resulting package will not be +compatible with pkgtools version < 15.0. .SH INSTALLATION SCRIPTS There are 3 types of installation scripts supported in the Slackware package system. diff --git a/source/a/pkgtools/manpages/pkgdiff.8 b/source/a/pkgtools/manpages/pkgdiff.8 new file mode 100644 index 00000000..5d91ac21 --- /dev/null +++ b/source/a/pkgtools/manpages/pkgdiff.8 @@ -0,0 +1,57 @@ +.\" -*- nroff -*- +.ds g \" empty +.ds G \" empty +.\" Like TP, but if specified indent is more than half +.\" the current line-length - indent, use the default indent. +.de Tp +.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP +.el .TP "\\$1" +.. +.TH PKGDIFF 8 "11 Apr 2018" "Slackware Version 15.0 +.SH NAME +pkgdiff \- compare the file contents of two packages. +.SH SYNOPSIS +.B pkgdiff +[ +.B \--help +] +[ +.B \-c +] +[ +.B \-a +] +.BI packagename +.BI packagename2 +.SH DESCRIPTION +.B pkgdiff +Displays the differences in the files contained in two packages. This works with +plain .tar, Slackware packages (.tgz, .tbz, .tlz, .txz), .rpm, and .deb. By default, +the results will be displayed in a tree-style unified diff format. +.SH OPTIONS +.TP +.B \--help +Display help for using the pkgdiff utility. +.TP +.B \-c +Colorize the tree-style output a-la DIR_COLORS. If piping to a pager such as +less, you'll need to enable displaying raw data. For example: +.P +pkgdiff -c package-1.0-i586-1.txz package-2.0-i586-1.txz | less -r +.TP +.B \-a +Instead of a tree-style output format, generate a simple unified diff of the +package file lists. +.SH EXAMPLES +.TP +.B Compare two packages and pipe the result to less: +.P +pkgdiff package-1.0-i586-1.txz package-2.0-i586-1.txz | less +.SH AUTHOR +Patrick J. Volkerding <volkerdi@slackware.com> +.SH "SEE ALSO" +.BR makepkg(8), +.BR removepkg(8), +.BR explodepkg(8), +.BR pkgtool(8), +.BR upgradepkg(8) diff --git a/source/a/pkgtools/manpages/removepkg.8 b/source/a/pkgtools/manpages/removepkg.8 index 3bd8bf7a..d6be202c 100644 --- a/source/a/pkgtools/manpages/removepkg.8 +++ b/source/a/pkgtools/manpages/removepkg.8 @@ -19,16 +19,19 @@ removepkg \- remove Slackware packages. ] .B removepkg [ -.B \-copy +.B \--copy ] [ -.B \-keep +.B \--keep ] [ -.B \-preserve +.B \--preserve ] [ -.B \-warn +.B \--terse +] +[ +.B \--warn ] .BI packagename .SH DESCRIPTION @@ -36,14 +39,14 @@ removepkg \- remove Slackware packages. removes a previously installed Slackware package, while writing a progress report to the standard output. A package may be specified either by the full package name (as you'd see listed in /var/log/packages/), or by the -base package name. For example, the package foo-1.0-i486-1.tgz may be removed +base package name. For example, the package foo-1.0-i586-1.txz may be removed with any of the following commands: -removepkg foo-1.0-i486-1.tgz (also recognized: .tbz, .tlz, .txz) +removepkg foo-1.0-i586-1.txz (also recognized: .tgz, .tbz, .tlz) -removepkg foo-1.0-i486-1 +removepkg foo-1.0-i586-1 -removepkg foo.tgz +removepkg foo.txz removepkg foo @@ -72,22 +75,25 @@ When removing a package, it's original file index will be moved from script will be moved from /var/log/scripts to /var/log/removed_scripts. .SH OPTIONS .TP -.B \-warn packagename -Generate a report to the standard output about which files and directories -would be removed, but does not actually remove the package. -.TP -.B \-preserve packagename -If specified, the complete package subtree is reconstructed in -/var/log/setup/tmp/preserved_packages/packagename. -.TP -.B \-copy packagename +.B \--copy packagename Construct a copy of the package under /var/log/setup/tmp/preserved_packages/packagename, but don't remove it. (same effect as \-warn \-preserve) .TP -.B \-keep -Save the intermediate files created by removepkg (delete_list, -required_files, uniq_list, del_link_list, required_links, +.B \--keep +Save the intermediate files created by removepkg (delete_list, +required_files, uniq_list, del_link_list, required_links, required_list). Mostly useful for debugging purposes. +.TP +.B \--preserve packagename +If specified, the complete package subtree is reconstructed in +/var/log/setup/tmp/preserved_packages/packagename. +.TP +.B \--terse +Remove the package displaying only a single description line to stdout. +.TP +.B \--warn packagename +Generate a report to the standard output about which files and directories +would be removed, but does not actually remove the package. .SH " " It's possible to remove a package from a filesystem other than / by supplying diff --git a/source/a/pkgtools/manpages/upgradepkg.8 b/source/a/pkgtools/manpages/upgradepkg.8 index 8ca7811b..af526648 100644 --- a/source/a/pkgtools/manpages/upgradepkg.8 +++ b/source/a/pkgtools/manpages/upgradepkg.8 @@ -22,6 +22,12 @@ upgradepkg \- upgrade Slackware packages. .B --reinstall ] [ +.B \--terse +] +[ +.B \--terselength <length> +] +[ .B --verbose ] .BI newpackagename @@ -38,6 +44,12 @@ upgradepkg \- upgrade Slackware packages. .B --reinstall ] [ +.B \--terse +] +[ +.B \--terselength <length> +] +[ .B --verbose ] .BI oldpackagename%newpackagename @@ -60,7 +72,7 @@ name, it will remove them all. .TP To upgrade in a directory other than / (such as /mnt): .TP -ROOT=/mnt upgradepkg package.tgz (or .tbz, .tlz, .txz) +ROOT=/mnt upgradepkg package.txz (or .tbz, .tgz, .tlz) .SH OPTIONS .TP .B \--dry-run @@ -81,6 +93,12 @@ Upgradepkg usually skips packages if the exact same package Use the --reinstall option if you want to upgrade all packages even if the same version is already installed. .TP +.B \--terse +Upgrade the package displaying only a single description line to stdout. +.TP +.B \--terselength <length> +Maximum line length of --terse mode output. Default is the number of terminal columns. +.TP .B \--verbose Show all the gory details of the upgrade. .SH BUGS |