diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 00:50:36 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-06 00:50:36 +0300 |
commit | 0eb43932b207a6ce70586cb39fa6e55c533f500e (patch) | |
tree | 41935e7c3d5661e22603641c2623e0560d6d74d4 /README | |
parent | b269c219ded102477601fe77be53caf7d3d58f96 (diff) | |
download | vmod-tbf-0eb43932b207a6ce70586cb39fa6e55c533f500e.tar.gz vmod-tbf-0eb43932b207a6ce70586cb39fa6e55c533f500e.tar.bz2 |
Switch to the new acvmod; remove the --with-varnish-source option; revamp the testsuite
Diffstat (limited to 'README')
-rw-r--r-- | README | 32 |
1 files changed, 19 insertions, 13 deletions
@@ -1,5 +1,5 @@ Vmod-tbf README -Copyright (C) 2013-2014 Sergey Poznyakoff +Copyright (C) 2013-2017 Sergey Poznyakoff See the end of file for copying conditions. * Introduction @@ -34,29 +34,35 @@ UNIX timestamps in human-readable form, etc. * Installation -In order to compile the package you need to have Varnish source tree -configured and compiled, and the Berkeley DB library. The minimum -prerequisites are Varnish 3.0.1 and BDB 4.2. +In order to compile the package you need to have the +varnishd and varnishapi packages installed. -Supposing that the varnish source tree is available under -/usr/src/varnish-3.0.1, run: +Supposing that condition is met, run: - ./configure --with-varnish-source=/usr/src/varnish-3.0.1 + ./configure -The `--with-varnish-source' option is mandatory: it tells configure -where Varnish sources reside. +It should be able to automatically find the necessary components. In case +it doesn't, tweak the configuration variables as necessary. The most +important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense) +where the .pc files are located. It should contain a directory where the +'varnishapi.pc' file lives. Example usage: + + ./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH + +Please read the file INSTALL for a detailed discussion of available variables +and command line options. Once configured, do - + make This will build the module. After this step you can optionally run 'make test' to test the package. Finally, run the following command as root: - - make install + make install + * Documentation The manual page vmod-tbf(3) will be available after successful install. @@ -73,7 +79,7 @@ Send bug reports and suggestions to <gray@gnu.org> * Copyright information: -Copyright (C) 2013 Sergey Poznyakoff +Copyright (C) 2013-2017 Sergey Poznyakoff Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the |