equal
deleted
inserted
replaced
19 # |
19 # |
20 # CDDL HEADER END |
20 # CDDL HEADER END |
21 # |
21 # |
22 |
22 |
23 # |
23 # |
24 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. |
25 # |
25 # |
26 |
26 |
27 # Some userland consolidation specific lint checks |
27 # Some userland consolidation specific lint checks |
28 |
28 |
29 import pkg.lint.base as base |
29 import pkg.lint.base as base |
70 "i86pc-solaris-64", # perl path |
70 "i86pc-solaris-64", # perl path |
71 "sun4-solaris-64", # perl path |
71 "sun4-solaris-64", # perl path |
72 "i86pc-solaris-thread-multi-64", # perl path |
72 "i86pc-solaris-thread-multi-64", # perl path |
73 "sun4-solaris-thread-multi-64", # perl path |
73 "sun4-solaris-thread-multi-64", # perl path |
74 "amd64-solaris" + solaris_ver, # ruby path |
74 "amd64-solaris" + solaris_ver, # ruby path |
75 "sparcv9-solaris" + solaris_ver # ruby path |
75 "sparcv9-solaris" + solaris_ver,# ruby path |
|
76 "sparcv9-sun-solaris" + solaris_ver,# ruby path |
|
77 "x86_64-pc-solaris" + solaris_ver # GCC path |
76 ] |
78 ] |
77 self.runpath_re = [ |
79 self.runpath_re = [ |
78 re.compile('^/lib(/.*)?$'), |
80 re.compile('^/lib(/.*)?$'), |
79 re.compile('^/usr/'), |
81 re.compile('^/usr/'), |
80 re.compile('^\$ORIGIN/') |
82 re.compile('^\$ORIGIN/') |
89 # perl path |
91 # perl path |
90 re.compile('^.*/sun4-solaris-thread-multi-64(/.*)?$'), |
92 re.compile('^.*/sun4-solaris-thread-multi-64(/.*)?$'), |
91 # perl path |
93 # perl path |
92 re.compile('^.*/amd64-solaris2\.[0-9]+(/.*)?$'), |
94 re.compile('^.*/amd64-solaris2\.[0-9]+(/.*)?$'), |
93 # ruby path |
95 # ruby path |
94 re.compile('^.*/sparcv9-solaris2\.[0-9]+(/.*)?$') |
96 re.compile('^.*/sparcv9-solaris2\.[0-9]+(/.*)?$'), |
95 # ruby path |
97 # ruby path |
|
98 re.compile('^.*/sparcv9-sun-solaris2\.[0-9]+(/.*)?$'), |
|
99 # GCC path |
|
100 re.compile('^.*/x86_64-sun-solaris2\.[0-9]+(/.*)?$') |
|
101 # GCC path |
96 ] |
102 ] |
97 self.initscript_re = re.compile("^etc/(rc.|init)\.d") |
103 self.initscript_re = re.compile("^etc/(rc.|init)\.d") |
98 |
104 |
99 self.lint_paths = {} |
105 self.lint_paths = {} |
100 self.ref_paths = {} |
106 self.ref_paths = {} |