1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/top-level
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
..
aliases.nix aliases: add callPackage_i686 2018-07-27 19:37:57 -04:00
all-packages.nix ocserv: init at 0.12.1 (#42871) 2018-08-01 21:39:09 +02:00
beam-packages.nix elixir: init 1.7.0 2018-07-25 23:48:50 +02:00
coq-packages.nix coq_8_8: 8.8.0 -> 8.8.1 2018-06-29 11:10:31 +02:00
darwin-packages.nix xcode: add xcodePlatform to system 2018-06-25 22:18:23 -04:00
default.nix
dotnet-packages.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
emacs-packages.nix hindent: build Emacs package with latest Melpa recipe 2018-07-26 15:36:43 -05:00
emscripten-packages.nix
haskell-packages.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
haxe-packages.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
impure.nix impure.nix: fix handling of localSystem 2018-06-25 17:13:02 -04:00
java-packages.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
lua-packages.nix Merge #43141: lua-5.3 and lpeg updates 2018-07-21 23:05:44 +02:00
make-tarball.nix pkgs/top-level/release.nix: Don't require Darwin to be supported 2018-07-04 17:53:02 +02:00
metrics.nix Revert "release/metrics: drop requiredSystemFeatures" 2018-07-30 10:46:20 +02:00
ocaml-packages.nix stog: 0.17.0 -> 0.18.0 2018-07-29 13:32:10 +00:00
perl-packages.nix Merge staging-next into master 2018-07-22 11:04:28 +02:00
php-packages.nix phpPackages.phpcbf: 3.3.0 -> 3.3.1 2018-07-27 07:56:12 +02:00
pure-packages.nix
python-packages.nix Merge pull request #44155 from Assassinkin/slackclient 2018-08-01 12:46:57 +01:00
release-cross.nix
release-lib.nix
release-python.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
release-small.nix
release.nix Revert "Revert "release: disallow aliases"" 2018-07-21 22:08:53 -04:00
splice.nix haskell infra: Fix built-time overrides 2018-07-09 18:09:17 -04:00
stage.nix config.skipAliases -> config.allowAliases 2018-07-17 14:46:21 +00:00
unix-tools.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
wine-packages.nix wine: build wineWow packages on hydra 2018-07-03 21:29:32 +03:00