1 improve matching security updates from changelogs:
2 - match "security" case insensitively
3 - match CVE-20xx, I doubt poldek exists in 2100, or I simply don't care :D
5 --- poldek-0.30/pkgu.c~ 2011-11-26 01:45:15.000000000 +0200
6 +++ poldek-0.30/pkgu.c 2012-01-26 11:15:24.628984938 +0200
8 struct changelog_ent *ent = n_array_nth(entries, i);
9 const char *m = ent->message;
11 - if (strstr(m, "CVE-2") || strstr(m, "CVE-19") || strstr(m, "ecurity")) {
12 + if (strstr(m, "CVE-20") || strstr(m, "CVE-19") || strcasestr(m, "security")) {