Norm Jacobs
2018-01-29 4b51c185885b4ab696619a483ad1c7cd2ace7f89
pkglint should fail when RUNPATH contains defaults
1 files modified
8 ■■■■■ changed files
tools/python/pkglint/userland.py 8 ●●●●● patch | view | raw | blame | history
tools/python/pkglint/userland.py
@@ -275,6 +275,14 @@
                    match = True
                    break
            # The RUNPATH shouldn't contain any runtime linker
            # default paths (or the /64 equivalent link)
            if dir in ['/lib', '/lib/64',
                   '/lib/amd64', '/lib/sparcv9',
                   '/usr/lib', '/usr/lib/64',
                   '/usr/lib/amd64', '/usr/lib/sparcv9' ]:
                list.append(dir)
            if match == False:
                list.append(dir)