-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
44 lines (30 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Portable version of OpenBSD slowcgi
===================================
slowcgi(8) is a FastCGI to CGI wrapper, which allows you to run CGI commands
under web servers which only speak FastCGI, e.g. OpenBSD httpd or nginx.
Version: 7.2
Version numbers will match the OpenBSD version; see their history at
<https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/slowcgi/>.
Inspired by the FreeBSD port at <https://github.com/koue/slowcgi>, and
ported to Linux by making use of libbsd <https://libbsd.freedesktop.org/> and
an implementation of getdtablecount(2) by Duncan Overbruck
<https://github.com/Duncaen/lobase>.
The "portable" name is currently not very accurate as this has only been built
on Linux (glibc & GNU make).
LICENSE: As part of the OpenBSD project, slowcgi is covered by the ISC license.
All modifications are released under the same license.
Patch series numbering:
patch-00x: issues affecting OpenBSD also, preferably reported to them
patch-01x: general portability patches
patch-1xx: distro-specific patches
Build deps: pkg-config libevent-devel libbsd-devel
Technically can be built without pkg-config, but it simplifies things.
All files in dist/ are unmodified upstream sources.
Installation:
make
[sudo] make install [prefix=...] [mandir=...]
To build an RPM:
make tarball
rpmbuild -ta slowcgi-$version.tar.gz
The RPM includes a systemd service, which reads /etc/sysconfig/slowcgi for
program options, if present.