View | Details | Raw Unified | Return to bug 26109
Collapse All | Expand All

(-)a/debian/control.in (-1 / +1 lines)
Lines 1-5 Link Here
1
Source: koha
1
Source: koha
2
Maintainer: Mirko Tietgen <mirko@abunchofthings.net>
2
Maintainer: Mason James <mtj@kohaaloha.com>
3
Section: web
3
Section: web
4
Priority: optional
4
Priority: optional
5
Standards-Version: 3.8.4
5
Standards-Version: 3.8.4
(-)a/debian/list-deps (-5 / +6 lines)
Lines 27-35 use C4::Installer::PerlDependencies; Link Here
27
my %overrides = (
27
my %overrides = (
28
    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
28
    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
29
    'HTTP::OAI'            => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
29
    'HTTP::OAI'            => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
30
    'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl',
30
    'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl',
31
    'Swagger2'             => 'libswagger2-perl (>= 0.59)',
31
    'Swagger2'             => 'libswagger2-perl (>= 0.59)',
32
    'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',
32
    'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',
33
    'CPAN::Meta'           => 'libcpan-meta-perl (>= 2.150010) | perl-modules-5.28 | perl-modules-5.30 | perl-modules (>= 5.20.2)'
33
);
34
);
34
35
35
# These are packages we're going to ignore
36
# These are packages we're going to ignore
Lines 55-62 foreach my $module ( keys %$deps ) { Link Here
55
    # Remove packages that are required/essential and always installed on
56
    # Remove packages that are required/essential and always installed on
56
    # a Debian system. Debian packages should not have unversioned
57
    # a Debian system. Debian packages should not have unversioned
57
    # dependencies on such packages.
58
    # dependencies on such packages.
59
60
    # skip perl-base and problematic version specific libperl* and
61
    # perl-module* packages (they get installed as deps. anyway)
58
    foreach my $line (@temp) {
62
    foreach my $line (@temp) {
59
        if ( $line ne "perl-base" ) {
63
        if ( $line ne "perl-base" and $line !~ /^libperl5\./ and $line !~ /^perl-modules-5\./ ) {
60
            @lines = ( @lines, $line );
64
            @lines = ( @lines, $line );
61
        }
65
        }
62
    }
66
    }
Lines 71-78 foreach my $module ( keys %$deps ) { Link Here
71
        foreach my $pkg (@lines) {
75
        foreach my $pkg (@lines) {
72
            print " | " if ( $pkg ne $lines[0] );
76
            print " | " if ( $pkg ne $lines[0] );
73
            print "$pkg";
77
            print "$pkg";
74
            print " | $pkg" . "-5.22" if ( $pkg eq "perl-modules" );
75
            print " | $pkg" . "-5.24" if ( $pkg eq "perl-modules" );
76
        }
78
        }
77
        print "\n";
79
        print "\n";
78
    }
80
    }
79
- 

Return to bug 26109