Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/filter-build-logs20
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/filter-build-logs b/bin/filter-build-logs
index c139f9b..05b534a 100755
--- a/bin/filter-build-logs
+++ b/bin/filter-build-logs
@@ -58,3 +58,23 @@
'</html>'
} > \
"${webserver_directory}/namcap-outputs.html"
+
+{
+ printf '%s\n' \
+ '<html>' \
+ '<head>' \
+ '<title>packages with text relocations</title>' \
+ '</head>' \
+ '<body>'
+ find "${webserver_directory}/build-logs/success" -name '*-namcap.log.gz' \
+ -exec zgrep -q '^[+*].*\sELF file (.*) has text relocations\.$' '{}' \; \
+ -printf '%f\n' | \
+ sort | \
+ sed '
+ s|-namcap\.log\.gz$|<br>|
+ '
+ printf '%s\n' \
+ '</body>' \
+ '</html>'
+} > \
+ "${webserver_directory}/text-relocations-packages.html"