PBULK-SCAN(1)

NAME
pbulk-scan - extracts information for pbulk from a pkgsrc tree

SYNOPSIS
pbulk-scan [-v] -c [ip:]port -M make pkgsrc
pbulk-scan [-lv] [-I start_script] [-m [ip:]port] -M make pkgsrc output

DESCRIPTION
pbulk-scan extracts information for a pbulk bulk build from a pkgsrc tree.

Supported options are:

-c [ip:]port
    Connect to pbulk bulk build master process on port (or ip:port).

-I start_script
    Run start_script after opening the socket and wait for completion before entering scan loop.

-l  Read the list of locations to scan from stdin, one line per location. Otherwise the list of locations is built from the SUBDIRS variable in the top-level Makefile and the SUBDIRS variables in the category Makefiles.

-M make
    Use make to extract the data. Usually “make” or “bmake”.

-m [ip:]port
    Enter master mode. In this mode, pbulk-scan waits for connections on port (or ip:port).

-v  Log each location to be scanned or other progress to stdout.
pkgsrc is the path to the pkgsrc checkout and output is the output file.

A warning is printed to stderr if the same package name occurs more than once in the scan output.

EXIT STATUS
pbulk-scan exits with return value 1 on internal errors.