summaryrefslogtreecommitdiffstats
path: root/tools/closurepkgs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-10-03 12:54:40 +0000
committerFrancois Pons <fpons@mandriva.com>2000-10-03 12:54:40 +0000
commit385827763545e7cb5ba4ea2552e4a05831eb8c4c (patch)
treef4129f1fad3c3bbe1d3f1829e3bd0242dd4ad2ce /tools/closurepkgs
parentf7febf094d24b0b36ab785e1a48c273680cc6dea (diff)
downloaddrakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.gz
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.bz2
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.xz
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.zip
*** empty log message ***
Diffstat (limited to 'tools/closurepkgs')
-rwxr-xr-xtools/closurepkgs7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/closurepkgs b/tools/closurepkgs
index dccd41977..bc3b12131 100755
--- a/tools/closurepkgs
+++ b/tools/closurepkgs
@@ -31,7 +31,7 @@ sub main {
my ($file) = @_;
my $depslist = read_depslist($file);
- my @pkgs = qw(XFree86 dhcpcd pump ppp ypbind rhs-printfilters samba ncpfs kernel-fb);
+ my @pkgs = qw(XFree86 XFree86-server XFree86-glide-module Device3Dfx Glide_V3-DRI Glide_V5 Mesa dhcpcd pump dhcpxd dhcp-client isdn4net isdn4k-utils dev pptp-adsl-fr rp-pppoe ppp ypbind rhs-printfilters lpr cups cups-drivers samba ncpfs);
push @pkgs, "XFree86-$_" foreach qw(3DLabs 3dfx 8514 AGX FBDev I128 Mach8 Mach32 Mach64 Mono P9000 Rage128 S3 S3V SVGA VGA16 W32);
my %closure;
@@ -46,7 +46,10 @@ sub main {
map { delete $closure{chop_version($_->{name})} } map { ($depslist->{ordered}[$_]) } @{$depslist->{packages}{$_}{deps}};
}
- map { print $depslist->{packages}{$_}{name}, "\n" } grep { $closure{$_} } keys %closure;
+ my $total = 0;
+ map { $total += $depslist->{packages}{$_}{size};
+ print $depslist->{packages}{$_}{name}, "\n" } grep { $closure{$_} } keys %closure;
+ print "\n\ntotal=$total\n";
}
main(@ARGV);