Blame


1 80189b3a 2022-08-13 op # slowcgi-portable
2 80189b3a 2022-08-13 op
3 80189b3a 2022-08-13 op This is an **unofficial** portable version of [slowcgi(8)][slowcgi], a
4 80189b3a 2022-08-13 op FastCGI to CGI wrapper server. It's intended to ship with as little
5 80189b3a 2022-08-13 op changes as possible to allow it to compile and work on a variety of
6 80189b3a 2022-08-13 op systems and otherwise follow closely the development in the OpenBSD
7 80189b3a 2022-08-13 op src tree. All portable-specific commits have the "portable:" prefix
8 80189b3a 2022-08-13 op in the log message.
9 80189b3a 2022-08-13 op
10 80189b3a 2022-08-13 op [slowcgi]: https://man.openbsd.org/slowcgi
11 80189b3a 2022-08-13 op
12 80189b3a 2022-08-13 op The versioning scheme follows the OpenBSD one, that's why the first
13 80189b3a 2022-08-13 op version is 7.2.
14 80189b3a 2022-08-13 op
15 80189b3a 2022-08-13 op ## Building
16 80189b3a 2022-08-13 op
17 80189b3a 2022-08-13 op The dependencies are:
18 80189b3a 2022-08-13 op
19 80189b3a 2022-08-13 op - libevent
20 80189b3a 2022-08-13 op
21 80189b3a 2022-08-13 op and optionally pkg-config.
22 80189b3a 2022-08-13 op
23 80189b3a 2022-08-13 op To build, issue:
24 80189b3a 2022-08-13 op
25 80189b3a 2022-08-13 op $ ./configure
26 80189b3a 2022-08-13 op $ make
27 80189b3a 2022-08-13 op # make install # eventually
28 80189b3a 2022-08-13 op
29 80189b3a 2022-08-13 op The build can be customized by passing arguments to the configure
30 80189b3a 2022-08-13 op script or by using a `configure.local` file; see `./configure -h` and
31 80189b3a 2022-08-13 op [`configure.local.example`](configure.local.example) for more
32 80189b3a 2022-08-13 op information.
33 80189b3a 2022-08-13 op
34 80189b3a 2022-08-13 op For Linux users with libbsd installed, the configure script can be
35 80189b3a 2022-08-13 op instructed to use libbsd as follows:
36 80189b3a 2022-08-13 op
37 80189b3a 2022-08-13 op CFLAGS="$(pkg-config --cflags libbsd-overlay)" \
38 80189b3a 2022-08-13 op ./configure LDFLAGS="$(pkg-config --libs libbsd-overlay)"