]> de.git.xonotic.org Git - xonotic/xonotic.git/blob - misc/infrastructure/keygen/config.pl
Fix macOS SDL2 framework permissions
[xonotic/xonotic.git] / misc / infrastructure / keygen / config.pl
1 %ca = (
2         0 =>
3         {
4                 name => "Xonotic official",
5                 check => sub
6                 {
7                         my ($inc) = @_;
8                         return 0 if ($inc >= 0) && check_dnsbl([qr/.*:.*:.*/], [], ['torexit.dan.me.uk', 'aspews.ext.sorbs.net']);
9                         return 0 if ($inc >= 0) && check_banlist('http://rm.endoftheinternet.org/~xonotic/bans/?action=list&servers=*');
10                         return 0 if check_sql('dbi:mysql:dbname=xonotic_ca', 'xonotic_ca', '************', 'ip', $inc);
11                         1;
12                 }
13         },
14         15 =>
15         {
16                 name => "Xonotic testing",
17                 check => sub { 1; }
18         }
19 );
20 $default_ca = 15;