From 72a1120047bdbb2eaa2b350f46cc89b3de3024d8 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Mon, 22 Apr 2019 15:10:25 +0200 Subject: Drop lts-alt-cve-triage.sh script The script was added as workaround for a security-tracker problem which was tracked as https://bugs.debian.org/919977 where the security-tracker behind CDN returned stale data for the json export. After some changes on the infrastructure done by DSA the problem seem to have gone. As such we do not need two scripts for the same thing as the alternative script really was only added as workaround to keep LTS folks having a working CVE triage script. --- bin/lts-alt-cve-triage.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 bin/lts-alt-cve-triage.sh (limited to 'bin') diff --git a/bin/lts-alt-cve-triage.sh b/bin/lts-alt-cve-triage.sh deleted file mode 100755 index 520be3d621..0000000000 --- a/bin/lts-alt-cve-triage.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# Requires: -# wget, html2text - -WDB="https://deb.freexian.com/extended-lts/tracker/status/release/oldstable" -ENF="data/dla-needed.txt" -OPF=$(tempfile) - -echo "Fetching tracker db from $WDB" -wget -O "$OPF" -q "$WDB" -html2text "$OPF" | grep "?$" | while read A B O ; do - if echo $A | grep -q -E "^(CVE|TEMP)-" ; then - CVE=$A - else - PACKAGE=$A - CVE=$B - fi - - # Sanitize package name for e.g. foo_(non-free) - PACKAGE=${PACKAGE%%_*} - - if echo "$PACKAGE" | grep -q '^[-a-zA-Z0-9_][-a-zA-Z0-9_.]*$' ; then - if [ -n "$CVE" ] ; then - if grep -q "^$PACKAGE[[:space:]](" $ENF ; then - echo "Supported $PACKAGE $CVE (Claimed)" - elif grep -q "^$PACKAGE$" $ENF ; then - echo "Supported $PACKAGE $CVE (Not claimed)" - else - echo "Supported $PACKAGE $CVE (Triage needed)" - fi - else - echo "Empty CVE for $PACKAGE" - fi - else - echo "Unknown characters in package name $PACKAGE." - fi -done -rm -f "$OPF" -- cgit v1.2.3