=back
+=item B<--with-gpgv>
+
+Specify alternate location for GPG signature verfication tool. Default is
+C</usr/bin/gpgv>.
+
+=item B<--with-lsof>
+
+Specify alternate location for lsof(8) open file checking tool. Default is
+C</usr/bin/lsof>.
+
=back
There are also intentionally undocumented options, which can be found in
my $want_help = '';
my $want_version = '';
+ my $GPGV_Bin = '/usr/bin/gpgv';
+ my $LSOF_Bin = '/usr/bin/lsof';
+
# Set this to 1 or higher to get debug output in the log file.
my $DEBUG = 1;
GetOptions('help' => \$want_help,
'version' => \$want_version,
'zone|z|s=s' => \$ZONE,
+ 'with-gpgv=s' => \$GPGV_Bin,
+ 'with-lsof=s' => \$LSOF_Bin,
'tstampcheck=i' => \$TSTAMPCHECK,
'nomail=i' => \$NOMAIL,
'debug|d=i' => \$DEBUG,
my $sys_mock = File::Spec->catfile($1, qw(testsuite lib exec mocktool));
constant->import(LSOF_BIN => $sys_mock, 'lsof');
} else {
- constant->import(GPGV_BIN => '/usr/bin/gpgv');
- constant->import(LSOF_BIN => '/usr/bin/lsof');
+ constant->import(GPGV_BIN => $GPGV_Bin);
+ constant->import(LSOF_BIN => $LSOF_Bin);
}
}