[Bratislava-pm] dh-make-perl reprepro apt-file

Martin Rusko martin.rusko at gmail.com
Wed Jan 9 09:14:58 PST 2008


Submitnut bug report. :-) hehee ... to sa mi lahko hovori.

On Jan 9, 2008 8:17 AM, Jozef Kutej <jozef at kutej.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ahojte,
>
> Zistil som preco apt-file nefunguje spolahlivo ked sa z Perl modulov
> pomocou dh-make-perl spravia balicky. Ide o to ze dh-make-perl zdetekuje
> ci je to kompilovany modul alebo nie. Ked je kompilovany tak sa nastavi
> jeho arch na i386. Ked je to cisty Perl modul tak je architektura any.
> Problem je ze apt-file stahuje z repositories len zoznam suborov pre
> aktualnu architekturu a nie any.
>
> Staci zmenit 3 riadky ;), dole je patch a pripojeny cely apt-file-any
> (lepsie by bolo spravit balicek ktory by nainstaloval apt-file-any,
> alebo submitnut bug ?, ale for the moment it's fine...)
>
> tmp$ diff -u apt-file apt-file-any
> - --- apt-file    2006-11-14 15:43:42.000000000 +0100
> +++ apt-file-any        2008-01-08 15:34:43.000000000 +0100
> @@ -161,6 +161,7 @@
>             push @$fetch,  m/(.*?)\/(?:.*)/o ? "$dist/$1" : "$dist";
>         }
>
> +       foreach my $arch ($Conf->{arch}, 'all') {
>         foreach (@{(unique $fetch)}) {
>             if (!defined $Conf->{"${scheme}"}) {
>                 warning "Don't know how to handle $scheme";
> @@ -172,7 +173,6 @@
>             die "Could not find suitable command for $scheme" unless $cmd;
>             $dest = $Conf->{destination};
>             my $cache = $Conf->{cache};
> - -           my $arch = $Conf->{arch};
>             my $cdrom = $Conf->{cdrom_mount};
>             foreach my $var (qw/host port user passwd path dist pkg
>                              cache arch uri cdrom/) {
> @@ -192,6 +192,7 @@
>             }
>             push @$ret, $hash;
>         };
> +       }
>      }
>      close SOURCE;
>      return $ret;
>
>
> Enjoy,
> Jozef.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHhHT7uzJBASXpqvsRAvDTAJ0RtHNv9Fvt+U/+O/CyviUrfS9DHwCeLe8g
> SLO6Ji0ycTYNH//Fv4IMQ84=
> =I8oV
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Bratislava-pm mailing list
> Bratislava-pm at pm.org
> http://mail.pm.org/mailman/listinfo/bratislava-pm
>


More information about the Bratislava-pm mailing list