[Secure-testing-commits] r26237 - bin
Raphael Geissert
atomo64-guest at moszumanska.debian.org
Tue Mar 25 09:27:57 UTC 2014
Author: atomo64-guest
Date: 2014-03-25 09:27:57 +0000 (Tue, 25 Mar 2014)
New Revision: 26237
Added:
bin/rejected-with-info
Modified:
bin/reserved-but-public
Log:
Script to list REJECTED ids that have information
Actually, it's just a modification to reserved-but-public
Added: bin/rejected-with-info
===================================================================
--- bin/rejected-with-info (rev 0)
+++ bin/rejected-with-info 2014-03-25 09:27:57 UTC (rev 26237)
@@ -0,0 +1 @@
+link reserved-but-public
\ No newline at end of file
Property changes on: bin/rejected-with-info
___________________________________________________________________
Added: svn:special
+ *
Modified: bin/reserved-but-public
===================================================================
--- bin/reserved-but-public 2014-03-25 09:15:30 UTC (rev 26236)
+++ bin/reserved-but-public 2014-03-25 09:27:57 UTC (rev 26237)
@@ -38,26 +38,36 @@
regex="${1:-}"
fi
-reserved=false
+condition=RESERVED
+case "$(basename "$0")" in
+ reserved-*)
+ condition=RESERVED
+ ;;
+ rejected-*)
+ condition=REJECTED
+ ;;
+esac
+
+condition_seen=false
wanted=false
cve=
while read line; do
case $line in
CVE-$regex)
cve="$line"
- reserved=false
+ condition_seen=false
wanted=true
;;
CVE-*)
cve="$line"
- reserved=false
+ condition_seen=false
wanted=false
;;
- *RESERVED)
- reserved=true
+ *$condition)
+ condition_seen=true
;;
*)
- if ! $reserved || ! $wanted; then
+ if ! $condition_seen || ! $wanted; then
continue
fi
if [ "$cve" ]; then
More information about the Secure-testing-commits
mailing list