|
@@ -67,6 +67,7 @@ td.lotsofpatches {
|
|
<td class=\"centered\">Infrastructure</td>
|
|
<td class=\"centered\">Infrastructure</td>
|
|
<td class=\"centered\">License</td>
|
|
<td class=\"centered\">License</td>
|
|
<td class=\"centered\">License files</td>
|
|
<td class=\"centered\">License files</td>
|
|
|
|
+<td class=\"centered\">Hash file</td>
|
|
</tr>
|
|
</tr>
|
|
"
|
|
"
|
|
|
|
|
|
@@ -82,6 +83,8 @@ packages_with_licence=0
|
|
packages_without_licence=0
|
|
packages_without_licence=0
|
|
packages_with_license_files=0
|
|
packages_with_license_files=0
|
|
packages_without_license_files=0
|
|
packages_without_license_files=0
|
|
|
|
+packages_with_hash_file=0
|
|
|
|
+packages_without_hash_file=0
|
|
total_patch_count=0
|
|
total_patch_count=0
|
|
cnt=0
|
|
cnt=0
|
|
|
|
|
|
@@ -191,6 +194,7 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|
fi
|
|
fi
|
|
|
|
|
|
pkg=$(basename $i)
|
|
pkg=$(basename $i)
|
|
|
|
+ dir=$(dirname $i)
|
|
pkg=${pkg%.mk}
|
|
pkg=${pkg%.mk}
|
|
pkgvariable=$(echo ${pkg} | tr "a-z-" "A-Z_")
|
|
pkgvariable=$(echo ${pkg} | tr "a-z-" "A-Z_")
|
|
|
|
|
|
@@ -231,6 +235,14 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|
license_files=0
|
|
license_files=0
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ if test -f ${dir}/${pkg}.hash; then
|
|
|
|
+ packages_with_hash_file=$(($packages_with_hash_file+1))
|
|
|
|
+ hash_file=1
|
|
|
|
+ else
|
|
|
|
+ packages_without_hash_file=$(($packages_without_hash_file+1))
|
|
|
|
+ hash_file=0
|
|
|
|
+ fi
|
|
|
|
+
|
|
echo "<tr>"
|
|
echo "<tr>"
|
|
|
|
|
|
echo "<td>$cnt</td>"
|
|
echo "<td>$cnt</td>"
|
|
@@ -279,6 +291,12 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|
echo "<td class=\"centered correct\">Yes</td>"
|
|
echo "<td class=\"centered correct\">Yes</td>"
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ if [ ${hash_file} -eq 0 ] ; then
|
|
|
|
+ echo "<td class=\"centered wrong\">No</td>"
|
|
|
|
+ else
|
|
|
|
+ echo "<td class=\"centered correct\">Yes</td>"
|
|
|
|
+ fi
|
|
|
|
+
|
|
echo "</tr>"
|
|
echo "</tr>"
|
|
|
|
|
|
done
|
|
done
|
|
@@ -335,6 +353,14 @@ echo "<td>Packages not having licence files information</td>"
|
|
echo "<td>$packages_without_license_files</td>"
|
|
echo "<td>$packages_without_license_files</td>"
|
|
echo "</tr>"
|
|
echo "</tr>"
|
|
echo "<tr>"
|
|
echo "<tr>"
|
|
|
|
+echo "<td>Packages having hash file</td>"
|
|
|
|
+echo "<td>$packages_with_hash_file</td>"
|
|
|
|
+echo "</tr>"
|
|
|
|
+echo "<tr>"
|
|
|
|
+echo "<td>Packages not having hash file</td>"
|
|
|
|
+echo "<td>$packages_without_hash_file</td>"
|
|
|
|
+echo "</tr>"
|
|
|
|
+echo "<tr>"
|
|
echo "<td>Number of patches in all packages</td>"
|
|
echo "<td>Number of patches in all packages</td>"
|
|
echo "<td>$total_patch_count</td>"
|
|
echo "<td>$total_patch_count</td>"
|
|
echo "</tr>"
|
|
echo "</tr>"
|