-
Notifications
You must be signed in to change notification settings - Fork 112
/
configdefaults.toml
342 lines (334 loc) · 9.98 KB
/
configdefaults.toml
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# Enabled checks for the rpmlint to be run
Checks = [
"AlternativesCheck",
"AppDataCheck",
"BinariesCheck",
'BuildRootAndDateCheck',
"ConfigFilesCheck",
"DBusPolicyCheck",
'DuplicatesCheck',
"DocCheck",
"ErlangCheck",
"FHSCheck",
"FilesCheck",
"IconSizesCheck",
"I18NCheck",
"LibraryDependencyCheck",
"LogrotateCheck",
"MenuCheck",
"MenuXDGCheck",
"MixedOwnershipCheck",
"PkgConfigCheck",
"PostCheck",
"PythonCheck",
"SignatureCheck",
"SourceCheck",
"SpecCheck",
"TagsCheck",
"ZipCheck",
"ZyppSyntaxCheck",
]
# List of error titles that should be filtered
FilterErrorTitles = []
# Various output filters, list of regexp strings eg. "E: .* no-signature"
Filters = []
# List of errors that can't be filtered
BlockedFilters = []
# Treshold where we should error out, by default single error is enough
BadnessThreshold = -1
# When checking that various files that should be compressed are
# indeed compressed, look for this filename extension
CompressExtension = "bz2"
# Base directory where to extract uninstalled packages while checking
# Default is to use mktemp from python to provide one
ExtractDir = ""
# Regexp string for words that must never exist in preamble tag values
ForbiddenWords = ""
# Accepted non-XDG legacy icon filenames, string regexp format
IconFilename = '.*\.png$'
# Regexp string to disallow in various URL tags
InvalidURL = ""
# Whether to allow packaging kernel modules in non-kernel packages.
KernelModuleRPMsOK = true
# Maximum allowed line length for Summary and Description tags
MaxLineLength = 79
# Regexp string with names of packages to treat as "meta" ones.
MetaPackageRegexp = '^(bundle|task)-'
# String regexp validating value for the Packager tag.
Packager = ""
# Assumed default version of Python if one cannot be determined from files
PythonDefaultVersion = ""
# Trick in perl version handling
PerlVersionTrick = true
# Regexp string with expected suffix in Release tags.
ReleaseExtension = ""
# Regexp string with allowed Group tag for games
RpmGamesGroup = "Games"
# Doc files to which end of line and UTF-8 checks should not be applied
SkipDocsRegexp = '\.(?:rtf|x?html?|svg|ml[ily]?)$'
# Whether to use the Enchant spell checker for spell checking
UseEnchant = true
# Whether debug sources are expected to be in separate packages from
# -debuginfo, typically -debugsource.
UseDebugSource = true
# Whether an explicit Epoch should always be specified in preamble
UseEpoch = false
# Whether to want default start/stop runlevels specified in init scripts
UseDefaultRunlevels = true
# Whether symlinks between directories should be relative.
UseRelativeSymlinks = true
# Whether %changelog entries should contain a version
UseVersionInChangelog = true
# Whether init scripts must use /var/lock/subsys
UseVarLockSubsys = true
# Regexp string with value for the BuildHost preamble tag
ValidBuildHost = ''
# Standard "needs" values for non-XDG legacy menu items
ExtraMenuNeeds = [
"gnome",
"icewm",
"kde",
"wmaker",
]
# Regexp string with exceptions for hardcoded library paths.
HardcodedLibPathExceptions = '/lib/(modules|cpp|perl5|rpm|hotplug|firmware|systemd)($|[\s/,])'
# Values for non-XDG legacy menu item sections
ValidMenuSections = [
"Office/Accessories",
"Office/Address Books",
"Office/Communications/Fax",
"Office/Communications/PDA",
"Office/Communications/Phone",
"Office/Communications/Other",
"Office/Drawing",
"Office/Graphs",
"Office/Presentations",
"Office/Publishing",
"Office/Spreadsheets",
"Office/Tasks Management",
"Office/Time Management",
"Office/Wordprocessors",
"Office/Other",
"Internet/Chat",
"Internet/File Transfer",
"Internet/Instant Messaging",
"Internet/Mail",
"Internet/News",
"Internet/Remote Access",
"Internet/Video Conference",
"Internet/Web Browsers",
"Internet/Web Editors",
"Internet/Other",
"Multimedia/Graphics",
"Multimedia/Sound",
"Multimedia/Video",
"Multimedia/Other",
"System/Archiving/Backup",
"System/Archiving/CD Burning",
"System/Archiving/Compression",
"System/Archiving/Other",
"System/Configuration/Boot and Init",
"System/Configuration/GNOME",
"System/Configuration/Hardware",
"System/Configuration/KDE",
"System/Configuration/Networking",
"System/Configuration/Packaging",
"System/Configuration/Printing",
"System/Configuration/Users",
"System/Configuration/Other",
"System/File Tools",
"System/Monitoring",
"System/Session/Windowmanagers",
"System/Terminals",
"System/Text Tools",
"System/Other",
"More Applications/Accessibility",
"More Applications/Communications",
"More Applications/Databases",
"More Applications/Development/Code Generators",
"More Applications/Development/Development Environments",
"More Applications/Development/Interpreters",
"More Applications/Development/Tools",
"More Applications/Development/Other",
"More Applications/Documentation",
"More Applications/Editors",
"More Applications/Education/Economy",
"More Applications/Education/Geography",
"More Applications/Education/History",
"More Applications/Education/Languages",
"More Applications/Education/Literature",
"More Applications/Education/Sciences",
"More Applications/Education/Sports",
"More Applications/Education/Other",
"More Applications/Emulators",
"More Applications/Finances",
"More Applications/Games/Adventure",
"More Applications/Games/Arcade",
"More Applications/Games/Boards",
"More Applications/Games/Cards",
"More Applications/Games/Puzzles",
"More Applications/Games/Sports",
"More Applications/Games/Strategy",
"More Applications/Games/Toys",
"More Applications/Games/Other",
"More Applications/Sciences/Artificial Intelligence",
"More Applications/Sciences/Astronomy",
"More Applications/Sciences/Biology",
"More Applications/Sciences/Chemistry",
"More Applications/Sciences/Computer Science",
"More Applications/Sciences/Data visualization",
"More Applications/Sciences/Electricity",
"More Applications/Sciences/Geosciences",
"More Applications/Sciences/Image Processing",
"More Applications/Sciences/Mathematics",
"More Applications/Sciences/Numerical Analysis",
"More Applications/Sciences/Parallel Computing",
"More Applications/Sciences/Physics",
"More Applications/Sciences/Robotics",
"More Applications/Sciences/Other",
"More Applications/Other",
]
# Disallowed Runtime dependencies
InvalidRequires = [
'^is$',
'^not$',
'^owned$',
'^by$',
'^any$',
'^package$',
'^libsafe\.so\.',
]
# List of directory prefixes that are not allowed in packages
# In addition rpmlint will warn about non-ghost files in "/run/"
DisallowedDirs = [
"/home",
"/mnt",
"/opt",
"/proc",
"/tmp",
"/usr/local",
"/usr/tmp",
"/var/local",
"/var/lock",
"/var/run",
"/var/tmp",
]
# Standard OS groups
StandardGroups = [
"root",
"bin",
"daemon",
"adm",
"lp",
"sync",
"shutdown",
"halt",
"mail",
"news",
"uucp",
"man",
"nobody",
]
# Standard OS users
StandardUsers = [
"root",
"bin",
"daemon",
"adm",
"lp",
"sync",
"shutdown",
"halt",
"mail",
"news",
"uucp",
"operator",
"man",
"nobody",
]
# List of directories considered to be system default library search paths.
SystemLibPaths = [
"/lib",
"/usr/lib",
"/usr/X11R6/lib",
"/lib64",
"/usr/lib64",
"/usr/X11R6/lib64",
]
# List of regexp strings with executables that must be compiled as position independent
PieExecutables = []
# Architecture dependent paths in which packages are allowed to install files
# even if they are all non-binary
UsrLibBinaryException = '^/usr/lib(64)?/(perl|python|ruby|menu|pkgconfig|ocaml|lib[^/]+\.(so|l?a)$|bonobo/servers/|\.build-id|firmware|systemd)'
# List of compilation flags that are mandatory
MandatoryOptflags = []
# List of forbidden compilation flags
ForbiddenOptflags = []
# Interpreters whose scriptlets are allowed to be empty
ValidEmptyShells = [
"/sbin/ldconfig",
]
# Package scriptlet interpreters
ValidShells = [
"<lua>",
"/bin/sh",
"/bin/bash",
"/sbin/sash",
"/usr/bin/perl",
"/sbin/ldconfig",
]
# Values for the Group tag, if not specified pulled from RPM
ValidGroups = []
# Permissions for files in source packages
ValidSrcPerms = [
"0o644",
"0o755",
]
# Valid values for the License tag
ValidLicenses = []
# Default valid license exceptions
ValidLicenseExceptions = []
# Default list of authorized PAM modules
PAMAuthorizedModules = []
# Minimum size of files to check duplicates, in bytes
DuplicatesMinSize = 2
# Additional warnings on specific function calls
[WarnOnFunction]
#[WarnOnFunction.testname]
#f_name = ""
#good_param = ""
#description = ""
# Set badness tweaking for various options
[Scoring]
#function=0
# Paths in which non-XDG legacy icons should be installed
[IconPath]
[IconPath."/usr/share/icons/"]
path = "/usr/share/icons/"
type = "normal"
[IconPath."/usr/share/icons/mini"]
path = "/usr/share/icons/mini"
type = "mini"
[IconPath."/usr/share/icons/large"]
path = "/usr/share/icons/large"
type = "large"
# Default known application launchers for desktop entries
[MenuLaunchers]
[MenuLaunchers.kdesu]
regexp = '(?:/usr/bin/)?kdesu'
binaries = ['/usr/bin/kdesu', 'kdesu']
[MenuLaunchers.x11_clanapp]
regexp = '(?:/usr/bin/)?launch_x11_clanapp'
binaries = ['/usr/bin/launch_x11_clanapp', 'clanlib', 'libclanlib0']
[MenuLaunchers.soundwrapper]
regexp = '(?:/usr/bin/)?soundwrapper'
binaries = false
# Exception list for dangling symlink checks. The first in each pair ("path")
# is a regexp, and the second ("name") the package in which the target of the
# dangling symlink is shipped
[DanglingSymlinkExceptions]
# A table with key/value pairs representing new descriptions for rpmlint errors
[Descriptions]
# rpmlint-error-name = """
# A new description for this rpmlint error
# """"