1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs
Maximilian Bosch cd5e01edd9 ocserv: init at 0.12.1 (#42871)
`ocserv` is a VPN server which follows the openconnect protocol
(https://github.com/openconnect/protocol). The packaging is slightly
inspired by the AUR version
(https://aur.archlinux.org/packages/ocserv/).

This patch initializes the package written in C, the man pages and a
module for a simple systemd unit to run the VPN server. The package
supports the following authentication methods for the server:

* `plain` (mostly username/password)
* `pam`

The third method (`radius`) is currently not supported since `nixpkgs`
misses a packaged client.

The module can be used like this:

``` nix
{
  services.ocserv = {
    enable = true;
    config = ''
      ...
    '';
  };
}
```

The option `services.ocserv.config` is required on purpose to
ensure that nobody just enables the service and experiences unexpected
side-effects on the system. For a full reference, please refer to the
man pages, the online docs or the example value.

The docs recommend to simply use `nobody` as user, so no extra user has
been added to the internal user list. Instead a configuration like
this can be used:

```
run-as-user = nobody
run-as-group = nogroup
```

/cc @tenten8401
Fixes #42594
2018-08-01 21:39:09 +02:00
..
applications gitter: init at 4.1.0 (#43505) 2018-08-01 20:51:17 +02:00
build-support Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE" 2018-07-31 09:43:52 +02:00
common-updater
data ia-writer-duospace: init at 20180721 (#43937) 2018-08-01 15:13:50 +02:00
desktops plasma-nm: fix path to mobile broadband provider file (#44302) 2018-08-01 15:23:28 +02:00
development pybind11: init at 2.2.2 (#35027) 2018-08-01 21:14:51 +02:00
games scummvm: fix compilation 2018-08-01 22:32:51 +08:00
misc Merge pull request #44283 from kalbasit/nixpkgs-fix-44282 2018-08-01 10:25:53 +02:00
os-specific Merge pull request #43637 from qolii/hardkernel_update_and_defconfig 2018-08-01 12:18:27 +02:00
servers confluent: init at 4.1.1-2.11 (#43137) 2018-08-01 21:35:42 +02:00
shells oh-my-zsh: 2018-04-25 -> 2018-07-29 2018-07-29 20:07:43 +00:00
stdenv Merge master into staging-next 2018-07-28 12:31:35 +02:00
test pkgs/tests: Add test for LD_LIBRARY_PATH 2018-08-01 19:02:21 +03:00
tools ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
top-level ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00