456 msgid="%s%s.3" % (self.name, pkglint_id)) |
456 msgid="%s%s.3" % (self.name, pkglint_id)) |
457 result = self.__elf_aslr_check(fullpath, engine) |
457 result = self.__elf_aslr_check(fullpath, engine) |
458 |
458 |
459 file_action.pkglint_desc = _("Paths should exist in the proto area.") |
459 file_action.pkglint_desc = _("Paths should exist in the proto area.") |
460 |
460 |
|
461 def legacy_action(self, action, manifest, engine, pkglint_id="005"): |
|
462 """Checks for deprecated legacy actions.""" |
|
463 |
|
464 if action.name not in ["legacy"]: |
|
465 return |
|
466 |
|
467 engine.error(_("legacy actions are deprecated"), |
|
468 msgid="%s%s.0" % (self.name, pkglint_id)) |
|
469 |
|
470 legacy_action.pkglint_desc = _("legacy actions are deprecated.") |
|
471 |
461 def link_resolves(self, action, manifest, engine, pkglint_id="002"): |
472 def link_resolves(self, action, manifest, engine, pkglint_id="002"): |
462 """Checks for link resolution.""" |
473 """Checks for link resolution.""" |
463 |
474 |
464 if action.name not in ["link", "hardlink"]: |
475 if action.name not in ["link", "hardlink"]: |
465 return |
476 return |