diff options
-rw-r--r-- | NEWS | 35 | ||||
-rw-r--r-- | README | 77 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 113 insertions, 1 deletions
@@ -0,0 +1,35 @@ | |||
1 | vmod-sql -- history of user-visible changes. 2013-10-19 | ||
2 | Copyright (C) 2013 Sergey Poznyakoff | ||
3 | See the end of file for copying conditions. | ||
4 | |||
5 | Please send vmod-sql bug reports to <gray@gnu.org> | ||
6 | |||
7 | |||
8 | Version 1.0, 2013-10-19 | ||
9 | |||
10 | Initial release | ||
11 | |||
12 | ========================================================================= | ||
13 | Copyright information: | ||
14 | |||
15 | Copyright (C) 2013 Sergey Poznyakoff | ||
16 | |||
17 | Permission is granted to anyone to make or distribute verbatim copies | ||
18 | of this document as received, in any medium, provided that the | ||
19 | copyright notice and this permission notice are preserved, | ||
20 | thus giving the recipient permission to redistribute in turn. | ||
21 | |||
22 | Permission is granted to distribute modified versions | ||
23 | of this document, or of portions of it, | ||
24 | under the above conditions, provided also that they | ||
25 | carry prominent notices stating who last changed them. | ||
26 | |||
27 | Local variables: | ||
28 | mode: outline | ||
29 | paragraph-separate: "[ ]*$" | ||
30 | eval: (add-hook 'write-file-hooks 'time-stamp) | ||
31 | time-stamp-start: "changes. " | ||
32 | time-stamp-format: "%:y-%02m-%02d" | ||
33 | time-stamp-end: "\n" | ||
34 | end: | ||
35 | |||
@@ -0,0 +1,77 @@ | |||
1 | Vmod-sql README | ||
2 | Copyright (C) 2013 Sergey Poznyakoff | ||
3 | See the end of file for copying conditions. | ||
4 | |||
5 | * Introduction | ||
6 | |||
7 | This file contains brief information about configuring, testing | ||
8 | and using vmod-sql. It is *not* intended as a replacement | ||
9 | for the documentation, and is provided as a brief reference only. | ||
10 | For accessing complete vmod-sql documentation, see the section | ||
11 | 'Documentation' below. | ||
12 | |||
13 | * Overview | ||
14 | |||
15 | Vmod-sql is a module for Varnish Cache. It provides API for accessing | ||
16 | MySQL and PostgreSQL databases from VCL scripts. | ||
17 | |||
18 | * Installation | ||
19 | |||
20 | In order to compile the package you need to have Varnish source tree. | ||
21 | At least Varnish 3.0.1 is required. Supposing that the varnish source tree | ||
22 | is available under /usr/src/varnish-3.0.1, run: | ||
23 | |||
24 | ./configure --with-varnish-source=/usr/src/varnish-3.0.1 | ||
25 | |||
26 | The `--with-varnish-source' option is mandatory: it tells configure | ||
27 | where Varnish sources reside. | ||
28 | |||
29 | Once configured, do | ||
30 | |||
31 | make | ||
32 | |||
33 | This will build the module. After this step you can optionally run | ||
34 | 'make test' to test the package. | ||
35 | |||
36 | Finally, run the following command as root: | ||
37 | |||
38 | make install | ||
39 | |||
40 | * Documentation | ||
41 | |||
42 | A complete documentation in manpage and texinfo formats is shipped with | ||
43 | the package, in the directory doc/. To read it without installing the | ||
44 | package run `info -f doc/vmod-sql.info', or, to view the manpage: | ||
45 | `man ./doc/vmod-sql.3'. After successful installation, the | ||
46 | documentation can be accessed by running `info vmod-sql' and the manpage, | ||
47 | by `man vmod-sql'. | ||
48 | |||
49 | An online copy of the documentation is available from | ||
50 | http://www.gnu.org.ua/software/vmod-sql. | ||
51 | |||
52 | * Bug reporting | ||
53 | |||
54 | Send bug reports and suggestions to <gray@gnu.org> | ||
55 | |||
56 | |||
57 | * Copyright information: | ||
58 | |||
59 | Copyright (C) 2013 Sergey Poznyakoff | ||
60 | |||
61 | Permission is granted to anyone to make or distribute verbatim copies | ||
62 | of this document as received, in any medium, provided that the | ||
63 | copyright notice and this permission notice are preserved, | ||
64 | thus giving the recipient permission to redistribute in turn. | ||
65 | |||
66 | Permission is granted to distribute modified versions | ||
67 | of this document, or of portions of it, | ||
68 | under the above conditions, provided also that they | ||
69 | carry prominent notices stating who last changed them. | ||
70 | |||
71 | |||
72 | Local Variables: | ||
73 | mode: outline | ||
74 | paragraph-separate: "[ ]*$" | ||
75 | version-control: never | ||
76 | End: | ||
77 | |||
diff --git a/configure.ac b/configure.ac index 5cf8cfa..7518483 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -23,7 +23,7 @@ AM_CONFIG_HEADER(config.h) | |||
23 | AC_CANONICAL_SYSTEM | 23 | AC_CANONICAL_SYSTEM |
24 | AC_LANG(C) | 24 | AC_LANG(C) |
25 | 25 | ||
26 | AM_INIT_AUTOMAKE([gnu tar-ustar]) | 26 | AM_INIT_AUTOMAKE([1.14 gnu tar-ustar]) |
27 | 27 | ||
28 | AC_GNU_SOURCE | 28 | AC_GNU_SOURCE |
29 | AC_PROG_CC | 29 | AC_PROG_CC |