Update some blacklists

Also fix blacklist log message
This commit is contained in:
Bernard Cafarelli 2019-12-05 19:03:49 +01:00
parent 9afec1a034
commit b25c66e9ab
No known key found for this signature in database
GPG Key ID: 5A761FC3AEC20F13
2 changed files with 4 additions and 5 deletions

View File

@ -44,13 +44,14 @@ BLACKLIST_VERSIONS = [
# Compatibility package for running binaries linked against a # Compatibility package for running binaries linked against a
# pre gcc 3.4 libstdc++, won't be updated # pre gcc 3.4 libstdc++, won't be updated
'>=sys-libs/libstdc++-v3-3.4', '>=sys-libs/libstdc++-v3-3.4',
# Actually older or incorrect
'~app-backup/backup-manager-0.7.15',
'=x11-plugins/wmacpimon-001',
] ]
BLACKLIST_PACKAGES = [ BLACKLIST_PACKAGES = [
# These kernels are almost dead # These kernels are almost dead
'sys-kernel/usermode-sources',
'sys-kernel/xbox-sources', 'sys-kernel/xbox-sources',
'sys-kernel/cell-sources',
] ]
SCANDIR_BLACKLIST_URLS = [ SCANDIR_BLACKLIST_URLS = [
@ -66,7 +67,6 @@ BRUTEFORCE_BLACKLIST_PACKAGES = [
] ]
BRUTEFORCE_BLACKLIST_URLS = [ BRUTEFORCE_BLACKLIST_URLS = [
'http://(.*)dockapps.org/download.php/id/(.*)', # infinite loop
'http://hydra.nixos.org/build/(.*)', # infinite loop 'http://hydra.nixos.org/build/(.*)', # infinite loop
# Doesn't respect 404, infinite loop # Doesn't respect 404, infinite loop
'http://www.rennings.net/gentoo/distfiles/(.*)', 'http://www.rennings.net/gentoo/distfiles/(.*)',
@ -78,7 +78,6 @@ BRUTEFORCE_BLACKLIST_URLS = [
ROBOTS_TXT_BLACKLIST_DOMAINS = [ ROBOTS_TXT_BLACKLIST_DOMAINS = [
'(.*)sourceforge(.*)', '(.*)sourceforge(.*)',
'(.*)github.com', '(.*)github.com',
'(.*)berlios(.*)',
'(.*)qt\.nokia\.com(.*)', '(.*)qt\.nokia\.com(.*)',
'(.*)chromium\.org(.*)', '(.*)chromium\.org(.*)',
'(.*)nodejs\.org(.*)', '(.*)nodejs\.org(.*)',

View File

@ -95,7 +95,7 @@ def version_blacklisted(cp, version):
None None
if rule: if rule:
euscan.output.einfo("%s is blacklisted by rule %s" % (cpv, bv)) euscan.output.einfo("%s is blacklisted by rule %s" % (cpv, rule))
return rule is not None return rule is not None