NAME

dtreqmods - Checks that all required Perl modules are available

SYNOPSIS

  dtreqmods [options]

DESCRIPTION

dtreqmods checks that all Perl modules required by the DNSSEC-Tools scripts are available. This includes modules included by other modules. The default action is to print a list of all the modules that were not found. This action may be modified by a number of options.

There are several types of modules checked: DNSSEC Tools modules, DNS Resource Record modules, and everything else. By default, all module types are checked, but there are options to narrow dtreqmods' checking to a subset of these types.

By default, only information is displayed for those modules that aren't found. The -verbose option displays information about all modules. The -quiet option displays no information.

The return code for dtreqmods is the number of missing modules.

Module Search Details

Module accessibility is determined by using Perl's require function. Each module is passed to require, and its result determines whether the module is consider available or missing. require looks for the modules in the directories stored in Perl's @INC variable. The contents of this variable, as seen by dtreqmods may be displayed by use of the -inc option.

OPTIONS

dtreqmods supports several types of options. These options are detailed below.

Display Options

These options control the amount of output that is given. Only one display option may be specified in a particular invocation of dtreqmods.

-verbose

Display information for all modules, missing or found. -verbose and -quiet are mutually exclusive.

-quiet

Display no information. -quiet and -verbose are mutually exclusive.

-list

Display the modules we check and then exit. -list may only be used with the module-type options.

Module-Type Options

These options control the types of modules that are displayed.

-dnssec

Check the DNSSEC Tools-related modules.

-rr

Check the DNS Resource Record-related modules.

-misc

Check the modules that aren't related to DNSSEC Tools or DNS Resource Records.

Other Options

The remaining options are detailed here.

-inc

Display the contents of @INC. The directories are not sorted, but are given in the order listed in @INC.

-Version

Display dtreqmods' version information and exit.

-help

Display a usage message and exit.

COPYRIGHT

Copyright 2010-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.

AUTHOR

Wayne Morrison, tewok@tislabs.com

SEE ALSO