ports
[ -u ]
[ collection ...]
ports -l
ports -d
ports -x
[ dfsw ]
[ collection ...]ports
manages port collections.
Collections are configured by files in
/etc/ports/
with.rsync
or
.git
extensions.-ucollection names are given, only those collections are synced. Requires root.-l-d-x " [" dfsw ]df.footprint files.s.signature files.wwork/ build directories.-xdfsw
cleans everything.
A collection name may be given to restrict the operation./etc/ports/name.rsync
host=rsync.krypt.sh module=ports token=<token> core=/ports/core opt=/usr/ports/optEach
key = value
pair after
host,
module,
and
token
maps a remote collection name to a local destination path.
/etc/ports/name.git
url=https://github.com/example/ports.git branch=main destination=/usr/ports/opt
ports -l
and
ports -d
scan:
/ports/core /usr/ports/libs /usr/ports/devel /usr/ports/python /usr/ports/opt /usr/ports/xorg /usr/ports/contrib /usr/local/ports/*/
/etc/ports/0
on success,
1
on error or sync failure.mkpkg(8), MAKEPKG(5)