X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=blobdiff_plain;f=cgi-auth-flexible.pm;h=9b03f825c66063b5b7eb7918313beeab2c691cd4;hp=d4c740caf6a6a0c3d3f549b95818b19b222613d2;hb=1161fe6e12f818ef59323799ac20986fb5e40dfa;hpb=829bdfa8f56bef52b9eb22d9e4753463cd945dd0 diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index d4c740c..9b03f82 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -7,15 +7,19 @@ # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# (at your option) any later version, with the "CAF Login Exception" +# as published by Ian Jackson (version 1, or at your option any +# later version) as an Additional Permission. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# You should have received a copy of the GNU Affero General Public +# License and the CAF Login Exception along with this program, in the +# file AGPLv3+CAFv1. If not, email Ian Jackson +# . use strict; use warnings FATAL => 'all'; @@ -184,7 +188,8 @@ sub gen_srcdump_link_html ($$$$) { } sub gen_plain_licence_link_html ($$) { my ($c,$r) = @_; - gen_srcdump_link_html($c,$r, 'GNU Affero GPL', 'licence'); + gen_srcdump_link_html($c,$r, 'GNU Affero GPL with CAF Login Exception', + 'licence'); } sub gen_plain_source_link_html ($$) { my ($c,$r) = @_; @@ -471,7 +476,7 @@ sub new_verifier { srcdump_dump => \&srcdump_dump, srcdump_prepare => \&srcdump_dirscan_prepare, srcdump_licence_path => undef, - srcdump_licence_files => [qw(AGPLv3 CGI/Auth/Flexible/AGPLv3)], + srcdump_licence_files => [qw(AGPLv3+CAFv1 CGI/Auth/Flexible/AGPLv3+CAFv1)], srcdump_listitems => sub { (@INC, $ENV{'SCRIPT_FILENAME'}, $0); }, srcdump_filter_cwd => 1, srcdump_system_dir => sub {