line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Sys::Info::Driver::Linux::OS::Distribution::Conf; |
2
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
68
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
60
|
|
4
|
2
|
|
|
2
|
|
10
|
use vars qw( $VERSION @EXPORT %CONF ); |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
137
|
|
5
|
2
|
|
|
2
|
|
10
|
use base qw( Exporter ); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
173
|
|
6
|
2
|
|
|
2
|
|
13241
|
use Config::General (); |
|
2
|
|
|
|
|
58275
|
|
|
2
|
|
|
|
|
315
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
$VERSION = '0.7903'; |
9
|
|
|
|
|
|
|
@EXPORT = qw( %CONF ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
%CONF = Config::General::ParseConfig( -String => <<'RAW' ); |
12
|
|
|
|
|
|
|
# Some parts of this data set was initially taken from Wikipedia |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
release_derived = adamantix_version |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
release = arch-release |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
manufacturer = Lance Davis |
24
|
|
|
|
|
|
|
release = redhat-release |
25
|
|
|
|
|
|
|
version_match = CentOS(?: Linux)? release (.*) \( |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
release_derived = conectiva-release |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
manufacturer = Debian Project |
34
|
|
|
|
|
|
|
version_match = (.+) |
35
|
|
|
|
|
|
|
release = debian_version |
36
|
|
|
|
|
|
|
release = debian_release |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1.1 = buzz |
39
|
|
|
|
|
|
|
1.2 = rex |
40
|
|
|
|
|
|
|
1.3 = bo |
41
|
|
|
|
|
|
|
2.0 = hamm |
42
|
|
|
|
|
|
|
2.1 = slink |
43
|
|
|
|
|
|
|
2.2 = potato |
44
|
|
|
|
|
|
|
3.0 = woody |
45
|
|
|
|
|
|
|
3.1 = sarge |
46
|
|
|
|
|
|
|
4.0 = etch |
47
|
|
|
|
|
|
|
5.0 = lenny |
48
|
|
|
|
|
|
|
6.0 = squeeze |
49
|
|
|
|
|
|
|
7.0 = wheezy |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
# we get the version as "lenny/sid" for example |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
buzz = 1.1 |
54
|
|
|
|
|
|
|
rex = 1.2 |
55
|
|
|
|
|
|
|
bo = 1.3 |
56
|
|
|
|
|
|
|
hamm = 2.0 |
57
|
|
|
|
|
|
|
slink = 2.1 |
58
|
|
|
|
|
|
|
potato = 2.2 |
59
|
|
|
|
|
|
|
woody = 3.0 |
60
|
|
|
|
|
|
|
sarge = 3.1 |
61
|
|
|
|
|
|
|
etch = 4.0 |
62
|
|
|
|
|
|
|
lenny = 5.0 |
63
|
|
|
|
|
|
|
squeeze = 6.0 |
64
|
|
|
|
|
|
|
wheezy = 7.0 |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
manufacturer = Fedora Project |
70
|
|
|
|
|
|
|
version_match = Fedora (?:Core )?release (\d+) \( |
71
|
|
|
|
|
|
|
release_derived = fedora-release |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1 = Yarrow |
74
|
|
|
|
|
|
|
2 = Tettnang |
75
|
|
|
|
|
|
|
3 = Heidelberg |
76
|
|
|
|
|
|
|
4 = Stentz |
77
|
|
|
|
|
|
|
5 = Bordeaux |
78
|
|
|
|
|
|
|
6 = Zod |
79
|
|
|
|
|
|
|
7 = Moonshine |
80
|
|
|
|
|
|
|
8 = Werewolf |
81
|
|
|
|
|
|
|
9 = Sulphur |
82
|
|
|
|
|
|
|
10 = Cambridge |
83
|
|
|
|
|
|
|
11 = Leonidas |
84
|
|
|
|
|
|
|
12 = Constantine |
85
|
|
|
|
|
|
|
13 = Goddard |
86
|
|
|
|
|
|
|
14 = Laughlin |
87
|
|
|
|
|
|
|
15 = Lovelock |
88
|
|
|
|
|
|
|
16 = Verne |
89
|
|
|
|
|
|
|
17 = Beefy Miracle |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
manufacturer = Gentoo Foundation |
95
|
|
|
|
|
|
|
version_match = Gentoo Base System version (.*) |
96
|
|
|
|
|
|
|
release = gentoo-release |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
release_derived = immunix-release |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
manufacturer = Klaus Knopper |
105
|
|
|
|
|
|
|
release_derived = knoppix-version |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
release_derived = libranet_version |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
release = mandrake-release |
114
|
|
|
|
|
|
|
release = mandrakelinux-release |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
manufacturer = Mandriva |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
5.1 = Venice |
121
|
|
|
|
|
|
|
5.2 = Leeloo |
122
|
|
|
|
|
|
|
5.3 = Festen |
123
|
|
|
|
|
|
|
6.0 = Venus |
124
|
|
|
|
|
|
|
6.1 = Helios |
125
|
|
|
|
|
|
|
7.0 = Air |
126
|
|
|
|
|
|
|
7.1 = Helium |
127
|
|
|
|
|
|
|
7.2 = Odyssey |
128
|
|
|
|
|
|
|
8.0 = Traktopel |
129
|
|
|
|
|
|
|
8.1 = Vitamin |
130
|
|
|
|
|
|
|
8.2 = Bluebird |
131
|
|
|
|
|
|
|
9.0 = Dolphin |
132
|
|
|
|
|
|
|
9.1 = Bamboo |
133
|
|
|
|
|
|
|
9.2 = FiveStar |
134
|
|
|
|
|
|
|
10.0 = Community |
135
|
|
|
|
|
|
|
10.1 = Community |
136
|
|
|
|
|
|
|
10.2 = Limited Edition 2005 |
137
|
|
|
|
|
|
|
2006.0 = 2006 |
138
|
|
|
|
|
|
|
2007 = 2007 |
139
|
|
|
|
|
|
|
2007.1 = 2007 Spring |
140
|
|
|
|
|
|
|
2008.0 = 2008 |
141
|
|
|
|
|
|
|
2008.1 = 2008 Spring |
142
|
|
|
|
|
|
|
2009.0 = 2009 |
143
|
|
|
|
|
|
|
2009.1 = 2009 Spring |
144
|
|
|
|
|
|
|
2010.0 = 2010 |
145
|
|
|
|
|
|
|
2010.1 = 2010 Spring |
146
|
|
|
|
|
|
|
2010.2 = 2010.2 |
147
|
|
|
|
|
|
|
2011.0 = Hydrogen |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
version_match = Red Flag (?:Desktop|Linux) (?:release |\()(.*?)(?: \(.+)?\) |
153
|
|
|
|
|
|
|
release_derived = redflag-release |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
manufacturer = Red Hat, Inc. |
158
|
|
|
|
|
|
|
version_match = Red Hat (?:Enterprise )?Linux (?:Server )release (.*) \( |
159
|
|
|
|
|
|
|
release = redhat-release |
160
|
|
|
|
|
|
|
release = redhat_version |
161
|
|
|
|
|
|
|
use_codename_for_edition = 1 |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
version_match = \APardus (.+)\z |
166
|
|
|
|
|
|
|
release_derived = pardus-release |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
manufacturer = Patrick Volkerding |
171
|
|
|
|
|
|
|
version_match = \ASlackware (.+)\z |
172
|
|
|
|
|
|
|
release = slackware-version |
173
|
|
|
|
|
|
|
release = slackware-release |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
name = SUSE |
178
|
|
|
|
|
|
|
manufacturer = Novell |
179
|
|
|
|
|
|
|
version_match = VERSION = (.*) |
180
|
|
|
|
|
|
|
release = SuSE-release |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
release_derived = tinysofa-release |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
release_derived = trustix-release |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
release_derived = turbolinux-release |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
manufacturer = Canonical Ltd. / Ubuntu Foundation |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
4.10 = Warty Warthog |
199
|
|
|
|
|
|
|
5.04 = Hoary Hedgehog |
200
|
|
|
|
|
|
|
5.10 = Breezy Badger |
201
|
|
|
|
|
|
|
6.06 = Dapper Drake |
202
|
|
|
|
|
|
|
6.10 = Edgy Eft |
203
|
|
|
|
|
|
|
7.04 = Feisty Fawn |
204
|
|
|
|
|
|
|
7.10 = Gutsy Gibbon |
205
|
|
|
|
|
|
|
8.04 = Hardy Heron |
206
|
|
|
|
|
|
|
8.10 = Intrepid Ibex |
207
|
|
|
|
|
|
|
9.04 = Jaunty Jackalope |
208
|
|
|
|
|
|
|
9.10 = Karmic Koala |
209
|
|
|
|
|
|
|
10.04 = Lucid Lynx |
210
|
|
|
|
|
|
|
10.10 = Maverick Meerkat |
211
|
|
|
|
|
|
|
11.04 = Natty Narwhal |
212
|
|
|
|
|
|
|
11.10 = Oneiric Ocelot |
213
|
|
|
|
|
|
|
12.04 = Precise Pangolin |
214
|
|
|
|
|
|
|
12.10 = Quantal Quetzal |
215
|
|
|
|
|
|
|
13.04 = Raring Ringtail |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
release_derived = va-release |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
release_derived = yellowdog-release |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
release_derived = yoper-release |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
RAW |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
1; |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
__END__ |