mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-15 08:30:34 +03:00
minor doc clarification for dependencies
This commit is contained in:
parent
891bcf9966
commit
32851d2041
@ -4,11 +4,31 @@ Compile and install
|
|||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
`sslh` uses [libconfig](http://www.hyperrealm.com/libconfig/)
|
`sslh` uses:
|
||||||
and [libwrap](http://packages.debian.org/source/unstable/tcp-wrappers).
|
|
||||||
|
* [libconfig](http://www.hyperrealm.com/libconfig/). For
|
||||||
|
Debian this is contained in package `libconfig8-dev`. You
|
||||||
|
can compile with or without it using USELIBCONFIG in the
|
||||||
|
Makefile.
|
||||||
|
|
||||||
|
* [libwrap](http://packages.debian.org/source/unstable/tcp-wrappers).
|
||||||
|
For Debian, this is contained in packages
|
||||||
|
`libwrap0-dev`. You
|
||||||
|
can compile with or without it using USELIBWRAP in the
|
||||||
|
Makefile.
|
||||||
|
|
||||||
|
* [libsystemd](http://packages.debian.org/source/unstable/libsystemd-dev), in package `libsystemd-dev`. You
|
||||||
|
can compile with or without it using USESYSTEMD in the
|
||||||
|
Makefile.
|
||||||
|
|
||||||
|
* [libcap](http://packages.debian.org/source/unstable/libcap-dev), in package `libcap-dev`. You can compile with or without it using USELIBCAP in the Makefile
|
||||||
|
|
||||||
|
* libbsd, to enable to change the process name (as shown in
|
||||||
|
`ps`, so each forked process shows what protocol and what
|
||||||
|
connection it is serving),
|
||||||
|
which requires `libbsd` at runtime, and `libbsd-dev` at
|
||||||
|
compile-time.
|
||||||
|
|
||||||
For Debian, these are contained in packages `libwrap0-dev` and
|
|
||||||
`libconfig8-dev`.
|
|
||||||
|
|
||||||
For OpenSUSE, these are contained in packages libconfig9 and
|
For OpenSUSE, these are contained in packages libconfig9 and
|
||||||
libconfig-dev in repository
|
libconfig-dev in repository
|
||||||
@ -19,17 +39,11 @@ For Fedora, you'll need packages `libconfig` and
|
|||||||
|
|
||||||
yum install libconfig libconfig-devel
|
yum install libconfig libconfig-devel
|
||||||
|
|
||||||
If you can't find `libconfig`, or just don't want a
|
|
||||||
configuration file, set `USELIBCONFIG=` in the Makefile.
|
|
||||||
|
|
||||||
If you want to rebuild `sslh-conf.c` (after a `make
|
If you want to rebuild `sslh-conf.c` (after a `make
|
||||||
distclean` for example), you will also need to add
|
distclean` for example), you will also need to add
|
||||||
[conf2struct](https://www.rutschle.net/tech/conf2struct/README.html)
|
[conf2struct](https://www.rutschle.net/tech/conf2struct/README.html)
|
||||||
(v1.0) to your path.
|
(v1.0) to your path.
|
||||||
|
|
||||||
There is optional support to change the process name (as shown in `ps`),
|
|
||||||
which requires `libbsd` at runtime, and `libbsd-dev` at compile-time.
|
|
||||||
|
|
||||||
Compilation
|
Compilation
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user