Changeset 81457
- Timestamp:
- 07/30/11 22:04:04 (4 years ago)
- File:
-
- 1 edited
-
contrib/cpan2port/cpan2port (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contrib/cpan2port/cpan2port
r77255 r81457 180 180 my $tarball = $$info{tarball} or die; 181 181 my %check; 182 for my $k (qw( sha 1rmd160)) {182 for my $k (qw( sha256 rmd160)) { 183 183 my ($sum) = qx( openssl $k $tarball); 184 184 my ($v) = $sum =~ / (.*)/; … … 221 221 if ( exists $$info{depends} ) { 222 222 if ( my $check = $$info{checksums} ) { 223 $checksums = join (' ', 'checksums', %{ $check }); 223 my @hashes; 224 foreach my $key (keys %{ $check }) { push @hashes, "$key ".$$check{$key}; } 225 $checksums = 'checksums '.join(" \\\n".(' 'x12),@hashes); 224 226 } 225 227 … … 230 232 } keys %{ $dep_ref }; 231 233 if (@depends) { 232 $depends = join ' ','depends_lib-append',@depends;234 $depends = 'depends_lib-append '.join(" \\\n".(' 'x20),@depends); 233 235 } 234 236 … … 269 271 $portfile .= <<STOP; 270 272 $checksums 273 271 274 $depends 272 275 $build_depends
Note: See TracChangeset
for help on using the changeset viewer.

