Updating ports bsd 8

27 Apr

This allows you to safely update a specific port without having to update all of the ports "above" it. Before an application can be compiled using a port, the Ports Collection must first be installed.Dependency rebuilds have to be done in the correct order; jpeg has to be rebuilt before tiff can be rebuilt, and so on up the chain.figure out what needs to be upgraded and in what order, but not actually do it.

updating ports bsd 8-76updating ports bsd 8-66

For example: "portmaster perl" would match every port directory name in /var/db/pkg that fits the pattern "/var/db/pkg/perl*".

This post will describe how to use portmaster, a utility for updating installed ports.

portmaster is nothing more than a shell script (albeit a quite elegant and powerful one), written in /bin/sh.

This can be useful if something needs to be done manually during a step, or you want to break up an upgrade of a lot of ports into smaller pieces.

PORTMASTER(8) Free BSD System Manager's Manual PORTMASTER(8) NAME portmaster -- manage your ports without external databases or languages SYNOPSIS Common Flags: [--force-config -CGHKgntvw -[B|b] -[f|i] -[D|d [--packages|-P]|[--packages-only|-PP | [--packages-build]] [--packages-if-newer] [--delete-build-only] [--always-fetch] [--local-packagedir=] [--packages-local] [--delete-packages] [--no-confirm] [--no-term-title] [--no-index-fetch] [--index|--index-first|--index-only] [-m arguments for make] [-x glob pattern to exclude from building] portmaster [Common Flags] full name of port directory in /var/db/pkg portmaster [Common Flags] full path to /usr/ports/foo/bar portmaster [Common Flags] glob pattern of directories from /var/db/pkg portmaster [Common Flags] [--update-if-newer] Multiple full names or paths from /usr/ports or /var/db/pkg, and/or multiple globs from /var/db/pkg portmaster [Common Flags] .

||

For example: "portmaster perl" would match every port directory name in /var/db/pkg that fits the pattern "/var/db/pkg/perl*".This post will describe how to use portmaster, a utility for updating installed ports.portmaster is nothing more than a shell script (albeit a quite elegant and powerful one), written in /bin/sh.This can be useful if something needs to be done manually during a step, or you want to break up an upgrade of a lot of ports into smaller pieces.PORTMASTER(8) Free BSD System Manager's Manual PORTMASTER(8) NAME portmaster -- manage your ports without external databases or languages SYNOPSIS Common Flags: [--force-config -CGHKgntvw -[B|b] -[f|i] -[D|d]] [--packages|-P]|[--packages-only|-PP | [--packages-build]] [--packages-if-newer] [--delete-build-only] [--always-fetch] [--local-packagedir=] [--packages-local] [--delete-packages] [--no-confirm] [--no-term-title] [--no-index-fetch] [--index|--index-first|--index-only] [-m arguments for make] [-x glob pattern to exclude from building] portmaster [Common Flags] full name of port directory in /var/db/pkg portmaster [Common Flags] full path to /usr/ports/foo/bar portmaster [Common Flags] glob pattern of directories from /var/db/pkg portmaster [Common Flags] [--update-if-newer] Multiple full names or paths from /usr/ports or /var/db/pkg, and/or multiple globs from /var/db/pkg portmaster [Common Flags] .

]]