summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2019-04-22 15:10:25 +0200
committerSalvatore Bonaccorso <carnil@debian.org>2019-04-22 15:10:25 +0200
commitd4d359b061c95cf777083788480a2695529d4cf5 (patch)
tree1cc0070901ca5650b74a550f0f6a10050a3e86b9 /bin
parent971ce49376801bac8bcf6a5eba1c9fcbe5e49275 (diff)
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lts-alt-cve-triage.sh38
1 files changed, 0 insertions, 38 deletions
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"

© 2014-2024 Faster IT GmbH | imprint | privacy policy