Document --package-format=<fmt> option. I had implemented that option some

time ago, but decided to not expose it in the man-page, since portmaster
will not necessarily install the latest version if installing from local
Jpackages is requested and there exist multiple package files that only
differ in archive format. But since a non-standard package format allows
to choose between an optimization for speed or for disk space, this is a
useful option that shall be described in the man page.

Approved by:	antoine (implicit)
This commit is contained in:
Stefan Eßer 2018-05-21 12:42:17 +00:00
parent 51d67d4029
commit 7e4c59fc9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470535
2 changed files with 27 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= portmaster
PORTVERSION= 3.19
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= ports-mgmt
MAINTAINER= se@FreeBSD.org

View File

@ -0,0 +1,26 @@
--- files/portmaster.8.orig 2018-01-14 21:53:23 UTC
+++ files/portmaster.8
@@ -38,6 +38,7 @@ Common Flags:
.Op Fl -delete-build-only
.Op Fl -always-fetch
.Op Fl -backup-format=<fmt>
+.Op Fl -package-format=<fmt>
.Op Fl -local-packagedir=<path>
.Op Fl -packages-local
.Op Fl -delete-packages
@@ -416,8 +417,14 @@ use package if newer than installed even if the packag
the latest according to the ports tree
.It Fl -always-fetch
fetch package even if it already exists locally
+.It Fl -package-format=<fmt>
+the archive format to use for packages created from newly built ports
+instead of the default of txz,
+which can take a long time for large packages.
+Supported formats are: tar, tgz, tbz, and txz (from fastest to slowest).
.It Fl -backup-format=<fmt>
-the archive format to use for backlup packages instead of the default of txz,
+the archive format to use for backup packages (created before an upgraded
+package is deleted) instead of the default of txz,
which can take a long time for large packages.
Supported formats are: tar, tgz, tbz, and txz (from fastest to slowest).
.It Fl -local-packagedir=<path>