my %normpkgs;
my %okhosts;
my %skiphosts;
+my $sectot = 0;
+my $owntot = 0;
+my $normtot = 0;
my $table = "<table>\n";
$sechosts{$H}=1;
$secpkgs{$pkg}=1;
$secs++;
+ $sectot++;
} elsif ( $src =~ /Indexdata/ ) {
$det .= "<b><i>$pkg</i></b>";
$key = "<i>$pkg</i>";
$ownhosts{$H}=1;
$ownpkgs{$pkg}=1;
$own++;
+ $owntot++;
} else {
$det .= "$pkg";
$normhosts{$H}=1;
$normpkgs{$pkg}=1;
+ $normtot++;
}
if ( !$summary{$key} ) {
$summary{$key} = "";
print F "<table border='1' >\n";
print F "<tr><td> </td>" ;
print F "<td><b>Security:</b> " . scalar(keys(%sechosts)) .
- " / " . scalar(keys(%secpkgs)) . " </td>\n" ;
+ " / " . scalar(keys(%secpkgs)) . " / $sectot </td>\n" ;
print F "<td>Indexdata: " . scalar(keys(%ownhosts)) .
- " / " . scalar(keys(%ownpkgs)) . " </td>\n" ;
+ " / " . scalar(keys(%ownpkgs)) . " / $owntot </td>\n" ;
print F "<td>Normal: " . scalar(keys(%normhosts)) .
- " / " . scalar(keys(%normpkgs)) . " </td>" . "</tr>\n";
+ " / " . scalar(keys(%normpkgs)) . " / $normtot </td>" . "</tr>\n";
print F "<tr><td>Hosts</td>\n";