This file is indexed.

/usr/share/perl5/OpenSRS/Util/Europe.pm is in libopensrs-perl 3.0.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# $Id: Europe.pm,v 1.5 2006/12/13 16:39:11 ggrinevitch Exp $

package OpenSRS::Util::Europe;
require Exporter;
@ISA = qw(Exporter);

use strict 'vars';
use Data::Dumper;
use OpenSRS::Util::Common qw(build_select_menu3);

use vars qw(
    @EXPORT_OK
    @languages
    %languages
    @eu_countries
    %eu_countries
    @be_languages
    %be_languages
    );

@EXPORT_OK = qw(
    @languages
    %languages
    @be_languages
    %be_languages
    @eu_countries
    %eu_countries
    build_eu_countries_list
    build_eu_languages_list
    build_be_languages_list
    );

@languages = qw/
    cs
    da
    de
    el
    en
    es
    et
    fi
    fr
    hu
    it
    lt
    lv
    mt
    nl
    pl
    pt
    sk
    sl
    sv
/;

%languages = (
    cs => "Czech",
    da => "Danish",
    de => "German",
    el => "Greek",
    en => "English",
    es => "Spanish",
    et => "Estonian",
    fi => "Finnish",
    fr => "French",
    hu => "Hungarian",
    it => "Italian",
    'lt' => "Lithuanian",
    lv => "Latvian",
    mt => "Maltese",
    nl => "Dutch",
    pl => "Poland",
    pt => "Portuguese",
    sk => "Slovak",
    sl => "Slovenian",
    sv => "Swedish",
);

%eu_countries = (
    GB => "United Kingdom (GB)",
    AT => "Austria",
    BE => "Belgium",
    BG => "Bulgaria",
    CY => "Cyprus",
    CZ => "Czech Republic",
    DK => "Denmark",
    EE => "Estonia",
    FI => "Finland",
    FR => "France",
    DE => "Germany",
    GR => "Greece",
    HU => "Hungary",
    IE => "Ireland",
    IT => "Italy",
    LV => "Latvia",
    'LT' => "Lithuania",
    LU => "Luxembourg",
    MT => "Malta (including Gozo and Comino)",
    NL => "Netherlands",
    PL => "Poland",
    PT => "Portugal",
    RO => "Romania",
    SK => "Slovakia",
    SI => "Slovenia",
    ES => "Spain",
    SE => "Sweden",
    AX => "Aland Islands",
    GI => "Gibraltar",
    MQ => "Martinique",
    GF => "French Guyana",
    GP => "Guadeloupe",
    RE => "Reunion",
);

@eu_countries = qw/GB AT BE BG CY CZ DK EE FI FR DE GR HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE AX GI MQ GF GP RE /;

%be_languages = (
    en => "English",
    fr => "French",
    nl => "Dutch",
);
@be_languages = qw/en fr nl/;

# dynamically build the list for select box
sub build_eu_countries_list {
    my ($default) = @_;
    @eu_countries = sort { $eu_countries{$a} cmp $eu_countries{$b} } keys %eu_countries;
    my $temp = {%eu_countries, '' => ''};
    return build_select_menu3($temp, ['',@eu_countries],$default);
}

sub build_eu_languages_list {
    my ($default) = @_;
    if (not $default){
        $default = 'en';
    }
    @languages = sort { $languages{$a} cmp $languages{$b} } keys %languages;
    return build_select_menu3({%languages}, [@languages],$default);
    
}

sub build_be_languages_list {
    my ($default) = @_;
    if (not $default){
        $default = 'en';
    }
    @be_languages = sort { $be_languages{$a} cmp $be_languages{$b} } keys %be_languages;
    return build_select_menu3({%be_languages}, [@be_languages],$default);
}
	    

1;