close $gpgv;
}
-my %info; # package being processed; a global so mail can use it
-
=head1 INTERNALS
This section catches the internal documentation for internal functions
=cut
-# As temporary scaffolding, also sets the %info quasi-global.
sub interpret_directive {
my $directive = shift; # presumed tainted
$header{directory} = $val; # ok.
$header{package} = $dirs[0]; # top-level name, no subdir
- $info{package} = $header{package};
} elsif ($tainted_cmd eq 'filename') {
# We use the same filename restrictions as scan_incoming
unless ($tainted_val =~ /^($RE_filename_here)$/) {
$complete = 1;
};
- @{$info{email}} = @email_addresses;
-
if ($complete) {
local $Phase = 'RP';
our $Scratch_dir;
# and may not even have a target directory.
push @email_addresses, directory_email_addresses($E->directory)
if $E->directory;
- @{$info{email}} = @email_addresses;
mail join("\n",$E->summary,'',$E->trace_msg),
to => \@email_addresses, subject => $op_header->{package};
} elsif ($E->type_p('package_configuration')) {
# clean up files if we abort while processing a triplet
cleanup ($sig_file, $upload_file, $directive_file)
}
-
- # clear out the current package that we just finished processing
- undef %info;
}
if ((scalar @packets) == 0) {