Magellan Linux

Diff of /trunk/mage-buildserver/helper/buildserver-lint.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2855 by niro, Fri Sep 19 10:27:49 2014 UTC revision 2856 by niro, Wed Feb 11 12:27:18 2015 UTC
# Line 65  is_split_target_magefile() Line 65  is_split_target_magefile()
65  lint_checks()  lint_checks()
66  {  {
67   local dest="$1"   local dest="$1"
68     local rpath
69    
70   # check deps   # check deps
71   echo   echo
72   echo "Autodetect runtime soname dependencies for '${dest}':"   echo "Autodetect runtime soname dependencies for '${dest}':"
73   ${MLIBDIR}/autodepend.sh "${dest}"   ${MLIBDIR}/autodepend.sh "${dest}"
74   echo   echo
75    
76     # insecure rpath
77     echo
78     echo -e "Scanning binaries for insecure rpath in '${COLGREEN}${dest}${COLDEFAULT}'"
79     rpath=$(scanelf -qyRF '%r -> %p' "${dest}" | grep -E "(${BUILDDIR}|: |::|^ )")
80     if [[ -n ${rpath} ]]
81     then
82     echo -e "Insecure rpath of '${dest}':"
83     echo "${rpath}"
84     echo -e "${COLRED}Insecure binaries detected!${COLDEFAULT}"
85     echo
86    
87     echo "DEBUG: paused"
88     read
89     else
90     echo "none found :)"
91     fi
92     echo
93  }  }
94    
95  load_mage_features  load_mage_features

Legend:
Removed from v.2855  
changed lines
  Added in v.2856