diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-01 17:42:58 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-01 17:42:58 +0200 |
commit | b3289e646c030b3465f6895789459cd4437a1707 (patch) | |
tree | 1620ee27a1785ca241e1e1cbee9b696ef7e6b5c9 | |
parent | 38be1d755a1b92c7d118f6aa57daa4156d9ae663 (diff) | |
download | vmod-basicauth-b3289e646c030b3465f6895789459cd4437a1707.tar.gz vmod-basicauth-b3289e646c030b3465f6895789459cd4437a1707.tar.bz2 |
Add missing copyright headers
-rw-r--r-- | NEWS | 14 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | src/vmod-basicauth.3 | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 16 | ||||
-rw-r--r-- | tests/test00.vtc | 16 | ||||
-rw-r--r-- | tests/test01.vtc | 16 | ||||
-rw-r--r-- | tests/test02.vtc | 16 |
7 files changed, 81 insertions, 3 deletions
@@ -24,12 +24,26 @@ Implement SHA1 passwords. | |||
24 | 24 | ||
25 | Version 1.0, 2013-07-07 | 25 | Version 1.0, 2013-07-07 |
26 | 26 | ||
27 | Initial release. | 27 | Initial release. |
28 | 28 | ||
29 | 29 | ||
30 | Copyright information: | ||
31 | |||
32 | Copyright (C) 2013-2014 Sergey Poznyakoff | ||
33 | |||
34 | Permission is granted to anyone to make or distribute verbatim copies | ||
35 | of this document as received, in any medium, provided that the | ||
36 | copyright notice and this permission notice are preserved, | ||
37 | thus giving the recipient permission to redistribute in turn. | ||
38 | |||
39 | Permission is granted to distribute modified versions | ||
40 | of this document, or of portions of it, | ||
41 | under the above conditions, provided also that they | ||
42 | carry prominent notices stating who last changed them. | ||
43 | |||
30 | Local variables: | 44 | Local variables: |
31 | mode: outline | 45 | mode: outline |
32 | paragraph-separate: "[ ]*$" | 46 | paragraph-separate: "[ ]*$" |
33 | eval: (add-hook 'write-file-hooks 'time-stamp) | 47 | eval: (add-hook 'write-file-hooks 'time-stamp) |
34 | time-stamp-start: "changes. " | 48 | time-stamp-start: "changes. " |
35 | time-stamp-format: "%:y-%02m-%02d" | 49 | time-stamp-format: "%:y-%02m-%02d" |
@@ -48,13 +48,13 @@ install. To read it without installing the module, run | |||
48 | 48 | ||
49 | Send bug reports and suggestions to <gray@gnu.org> | 49 | Send bug reports and suggestions to <gray@gnu.org> |
50 | 50 | ||
51 | 51 | ||
52 | * Copyright information: | 52 | * Copyright information: |
53 | 53 | ||
54 | Copyright (C) 2013 Sergey Poznyakoff | 54 | Copyright (C) 2013-2014 Sergey Poznyakoff |
55 | 55 | ||
56 | Permission is granted to anyone to make or distribute verbatim copies | 56 | Permission is granted to anyone to make or distribute verbatim copies |
57 | of this document as received, in any medium, provided that the | 57 | of this document as received, in any medium, provided that the |
58 | copyright notice and this permission notice are preserved, | 58 | copyright notice and this permission notice are preserved, |
59 | thus giving the recipient permission to redistribute in turn. | 59 | thus giving the recipient permission to redistribute in turn. |
60 | 60 | ||
diff --git a/src/vmod-basicauth.3 b/src/vmod-basicauth.3 index 78efea1..91236f3 100644 --- a/src/vmod-basicauth.3 +++ b/src/vmod-basicauth.3 | |||
@@ -10,13 +10,13 @@ | |||
10 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | .\" GNU General Public License for more details. | 12 | .\" GNU General Public License for more details. |
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 14 | .\" You should have received a copy of the GNU General Public License |
15 | .\" along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. | 15 | .\" along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. |
16 | .TH VMOD-BASICAUTH 1 "July 8, 2013" "VMOD-BASICAUTH" "User Reference" | 16 | .TH VMOD-BASICAUTH 1 "November 1, 2014" "VMOD-BASICAUTH" "User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | vmod-basicauth \- Basic HTTP authentication | 18 | vmod-basicauth \- Basic HTTP authentication |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
20 | .B import basicauth; | 20 | .B import basicauth; |
21 | 21 | ||
22 | .BI "BOOL basicauth.match(STRING " passfile ", STRING " authstr ); | 22 | .BI "BOOL basicauth.match(STRING " passfile ", STRING " authstr ); |
@@ -60,13 +60,13 @@ if (!basicauth.match("/var/www/.htpasswd", req.http.Authorization)) { | |||
60 | .BR varnishd (1). | 60 | .BR varnishd (1). |
61 | .SH AUTHORS | 61 | .SH AUTHORS |
62 | Sergey Poznyakoff | 62 | Sergey Poznyakoff |
63 | .SH "BUG REPORTS" | 63 | .SH "BUG REPORTS" |
64 | Report bugs to <gray@gnu.org>. | 64 | Report bugs to <gray@gnu.org>. |
65 | .SH COPYRIGHT | 65 | .SH COPYRIGHT |
66 | Copyright \(co 2013 Sergey Poznyakoff | 66 | Copyright \(co 2013-2014 Sergey Poznyakoff |
67 | .br | 67 | .br |
68 | .na | 68 | .na |
69 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | 69 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
70 | .br | 70 | .br |
71 | .ad | 71 | .ad |
72 | This is free software: you are free to change and redistribute it. | 72 | This is free software: you are free to change and redistribute it. |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 4c32621..700c8c6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -1,6 +1,22 @@ | |||
1 | # This file is part of vmod-basicauth | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-basicauth is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-basicauth is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | VMOD_TESTS = \ | 17 | VMOD_TESTS = \ |
2 | test00.vtc\ | 18 | test00.vtc\ |
3 | test01.vtc\ | 19 | test01.vtc\ |
4 | test02.vtc\ | 20 | test02.vtc\ |
5 | test03.vtc | 21 | test03.vtc |
6 | 22 | ||
diff --git a/tests/test00.vtc b/tests/test00.vtc index 7876677..17b4ead 100644 --- a/tests/test00.vtc +++ b/tests/test00.vtc | |||
@@ -1,6 +1,22 @@ | |||
1 | # This file is part of vmod-basicauth | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-basicauth is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-basicauth is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | varnishtest "Test basic HTTP authentication: PLAIN" | 17 | varnishtest "Test basic HTTP authentication: PLAIN" |
2 | 18 | ||
3 | server s1 { | 19 | server s1 { |
4 | rxreq | 20 | rxreq |
5 | txresp | 21 | txresp |
6 | } -start | 22 | } -start |
diff --git a/tests/test01.vtc b/tests/test01.vtc index f419271..21c00d7 100644 --- a/tests/test01.vtc +++ b/tests/test01.vtc | |||
@@ -1,6 +1,22 @@ | |||
1 | # This file is part of vmod-basicauth | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-basicauth is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-basicauth is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | varnishtest "Test basic HTTP authentication: CRYPT" | 17 | varnishtest "Test basic HTTP authentication: CRYPT" |
2 | 18 | ||
3 | server s1 { | 19 | server s1 { |
4 | rxreq | 20 | rxreq |
5 | txresp | 21 | txresp |
6 | } -start | 22 | } -start |
diff --git a/tests/test02.vtc b/tests/test02.vtc index a6759bd..d7ede9f 100644 --- a/tests/test02.vtc +++ b/tests/test02.vtc | |||
@@ -1,6 +1,22 @@ | |||
1 | # This file is part of vmod-basicauth | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-basicauth is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-basicauth is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | varnishtest "Test basic HTTP authentication: APR MD5" | 17 | varnishtest "Test basic HTTP authentication: APR MD5" |
2 | 18 | ||
3 | server s1 { | 19 | server s1 { |
4 | rxreq | 20 | rxreq |
5 | txresp | 21 | txresp |
6 | } -start | 22 | } -start |