Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,28 @@ However, nss-tls does not depend on [systemd](https://www.freedesktop.org/wiki/S

nss-tls uses [Meson](http://mesonbuild.com/) as its build system.

On [Debian](http://www.debian.org/) and derivatives, these dependencies can be obtained using:
## Compilation

On [Debian](http://www.debian.org/) and derivatives, install prerequisites:

apt install libglib2.0-dev libsoup2.4-dev ninja-build python3-pip meson

If `meson` is not available as package

apt install libglib2.0-dev libsoup2.4-dev ninja-build python3-pip
pip3 install meson

## Usage
Then compile nss-tls with:

meson --prefix=/usr --buildtype=release -Dstrip=true build

and install in `/usr/sbin` (requires root access)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo?


sudo ninja -C build install

## Configuration

Assuming your system runs [systemd](https://www.freedesktop.org/wiki/Software/systemd/):

meson --prefix=/usr --buildtype=release -Dstrip=true build
ninja -C build install
systemctl daemon-reload
systemctl enable nss-tlsd
systemctl start nss-tlsd
Expand Down