From: Ian Jackson Date: Sun, 1 Nov 2015 21:35:51 +0000 (+0000) Subject: Licence: Add copyright and licence statement to many files X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=412316a7005df29b1adb30835848490210498ecb;ds=sidebyside Licence: Add copyright and licence statement to many files The licence (including exception) applies to the whole project, as would be expected. Document this. Signed-off-by: Ian Jackson Signed-off-by: Ian Jackson --- diff --git a/caf.pod b/caf.pod index 53789b3..de77f3d 100644 --- a/caf.pod +++ b/caf.pod @@ -1,5 +1,20 @@ # -*- fundamental -*- +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# 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, 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. + + =head1 NAME CGI::Auth::Flexible - web authentication optionally using cookies diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index 9b03f82..3a4ee76 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -1,8 +1,9 @@ # -*- perl -*- # This is part of CGI::Auth::Flexible, a perl CGI authentication module. -# Copyright (C) 2012 Ian Jackson. -# Copyright (C) 2012 Citrix. +# +# Copyright (C) 2012,2013,2015 Ian Jackson. +# Copyright (C) 2012,2013,2015 Citrix. # # 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 diff --git a/tests/Makefile b/tests/Makefile index 2d17a09..b2ad707 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,6 +3,23 @@ # Run `make check' (or just `make') in this directory, to run all the # tests. Run `make check-TESTNAME' to run just one test. +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + TESTS := $(basename $(shell echo *.at)) CHECKS := $(addprefix check-,$(TESTS)) diff --git a/tests/autotest b/tests/autotest index 1cea707..5dc5ad7 100755 --- a/tests/autotest +++ b/tests/autotest @@ -1,5 +1,22 @@ #!/usr/bin/expect -f +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + set testfile [lindex $argv 0] switch -glob -- $testfile { diff --git a/tests/cgi b/tests/cgi index 045ba84..e440948 100755 --- a/tests/cgi +++ b/tests/cgi @@ -1,5 +1,23 @@ #!/usr/bin/perl -w +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + + use strict; use warnings; use CGI qw/escapeHTML/;; diff --git a/tests/loginout.at b/tests/loginout.at index 64c7f5f..10d7c3e 100644 --- a/tests/loginout.at +++ b/tests/loginout.at @@ -1,5 +1,22 @@ # -*- Tcl -*- +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + dospawn loginas alice bogus "wrong password" diff --git a/tests/run-all b/tests/run-all index 1ae2817..8df6962 100755 --- a/tests/run-all +++ b/tests/run-all @@ -1,4 +1,22 @@ #!/bin/sh + +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + set -e make=`type gmake >/dev/null 2>&1 && echo gmake || echo make` if [ $# = 0 ]; then diff --git a/tests/wrap b/tests/wrap index 99df0f9..67bdad2 100755 --- a/tests/wrap +++ b/tests/wrap @@ -1,4 +1,22 @@ #!/bin/sh + +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# Copyright 2012,2013,2015 Ian Jackson. +# Copyright 2012,2013,2015 Citrix. +# +# 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, 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. + set -e cd "$CAFTEST_CAF" : ${CAFTEST_TMP:=tests/tmp}