1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools
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
..
admin awscli: 1.15.58 -> 1.15.66 2018-07-28 16:39:42 +02:00
archivers sharutils: Remove crossAttrs 2018-07-24 18:36:59 -04:00
audio beets: use python3Packages 2018-07-26 12:43:18 +02:00
backup rdedup: 2.0.0 -> 3.0.1 2018-07-30 13:50:51 +03:00
bluetooth pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
bootloaders/refind Merge pull request #43996 from samueldr/update/refind-0.11.3 2018-07-24 20:50:44 +02:00
cd-dvd pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
compression pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
filesystems glusterfs: 3.12.4 -> 3.12.12 2018-08-01 00:39:06 +02:00
graphics argyllcms: 2.0.0 -> 2.0.1 (#43790) 2018-07-31 23:33:59 +02:00
inputmethods pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
misc ldmtool: init at 0.2.4 (#43975) 2018-08-01 11:40:07 +02:00
networking ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
nix/info nix-info: build locally 2018-01-21 14:09:35 +01:00
package-management nixUnstable: 2.1pre6148_a4aac7f -> 2.1pre6338_45bcf541 2018-07-31 21:17:10 +02:00
security Merge remote-tracking branch 'central/master' into viric_clean 2018-07-28 19:25:14 +02:00
system s6-rc: 0.3.0.0 -> 0.4.0.1 2018-07-27 17:48:32 +02:00
text proselint: 0.8.0 -> 0.9.0 (#43917) 2018-07-30 22:32:30 +02:00
typesetting Take me (viric) out of most maintenance 2018-07-22 21:50:19 +02:00
video Take me (viric) out of most maintenance 2018-07-22 21:50:19 +02:00
virtualization treewide: fix build with disallowed aliases (#43872) 2018-07-21 22:03:24 -04:00
X11 xrestop: add license 2018-07-22 17:01:46 +02:00