ports -u
[ collection ...]
ports -lports
manages port collections by syncing them from remote
repositories and listing available ports.
Collections are configured by files in
/etc/ports/
with.rsync
or
.git
extensions.
Files with other extensions (e.g.
.inactive,
.pub )
are ignored./etc/ports/name.rsync
host=rsync.opentux.org module=ports core=/ports/core opt=/usr/ports/optEach
key = value
pair after
host
and
module
maps a remote collection name to a local destination path.
/etc/ports/name.git
url=https://github.com/opentux/ports.git branch=main destination=/usr/ports/optIf
branch
is omitted, it defaults to
main .ports -l
scans the following directories for ports:
/ports/core /usr/ports/libs /usr/ports/devel /usr/ports/python /usr/ports/opt /usr/ports/xorg /usr/ports/contrib /usr/local/ports/*/
0
on success,
1
on error or sync failure.