]> git.decadent.org.uk Git - dak.git/blobdiff - cron.unchecked-security
new file
[dak.git] / cron.unchecked-security
diff --git a/cron.unchecked-security b/cron.unchecked-security
new file mode 100755 (executable)
index 0000000..733e02f
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+set -e
+export SCRIPTVARS=/org/security.debian.org/katie/vars-security
+. $SCRIPTVARS
+
+cd $unchecked
+
+changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
+report=$queuedir/REPORT
+timestamp=$(date "+%Y-%m-%d %H:%M")
+
+if [ -z "$changes" ]; then
+  echo "$timestamp": Nothing to do >> $report
+  exit 0;
+fi;
+
+echo "$timestamp": "$changes"  >> $report
+jennifer -a $changes >> $report
+echo "--" >> $report
+
+sh $base/cron.buildd-security