|
@@ -66,6 +66,7 @@ td.lotsofpatches {
|
|
<td class=\"centered\">Patch count</td>
|
|
<td class=\"centered\">Patch count</td>
|
|
<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>
|
|
</tr>
|
|
</tr>
|
|
"
|
|
"
|
|
|
|
|
|
@@ -75,6 +76,8 @@ generic_packages=0
|
|
manual_packages=0
|
|
manual_packages=0
|
|
packages_with_licence=0
|
|
packages_with_licence=0
|
|
packages_without_licence=0
|
|
packages_without_licence=0
|
|
|
|
+packages_with_license_files=0
|
|
|
|
+packages_without_license_files=0
|
|
total_patch_count=0
|
|
total_patch_count=0
|
|
cnt=0
|
|
cnt=0
|
|
|
|
|
|
@@ -163,6 +166,14 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|
license=0
|
|
license=0
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ if grep -qE "^${pkgvariable}_LICENSE_FILES[ ]*=" $i ; then
|
|
|
|
+ packages_with_license_files=$(($packages_with_license_files+1))
|
|
|
|
+ license_files=1
|
|
|
|
+ else
|
|
|
|
+ packages_without_license_files=$(($packages_without_license_files+1))
|
|
|
|
+ license_files=0
|
|
|
|
+ fi
|
|
|
|
+
|
|
echo "<tr>"
|
|
echo "<tr>"
|
|
|
|
|
|
echo "<td>$cnt</td>"
|
|
echo "<td>$cnt</td>"
|
|
@@ -205,6 +216,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 [ ${license_files} -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
|
|
@@ -236,6 +253,14 @@ echo "<td>Packages not having licence information</td>"
|
|
echo "<td>$packages_without_license</td>"
|
|
echo "<td>$packages_without_license</td>"
|
|
echo "</tr>"
|
|
echo "</tr>"
|
|
echo "<tr>"
|
|
echo "<tr>"
|
|
|
|
+echo "<td>Packages having license files information</td>"
|
|
|
|
+echo "<td>$packages_with_license_files</td>"
|
|
|
|
+echo "</tr>"
|
|
|
|
+echo "<tr>"
|
|
|
|
+echo "<td>Packages not having licence files information</td>"
|
|
|
|
+echo "<td>$packages_without_license_files</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>"
|