ocserv: 1.2.4 -> 1.3.0

The package now requires ipcalc as dependency. Added that.
The libgssglue dependency doesn't seem required or change the output of the build. Removed it therefore.
Also some cleanup of the general package definition was performed.

Version Changelog:

- Switch to https://github.com/nodejs/llhttp from http-parser. http-parser was a liability as an unmaintained project
- Bump the number of groups per account from 128 to 512
- Allow connecting users to select an authgroup by appending the group name to the URL, as in https://vpn.example.com/groupname; this introduces the select-group-by-url config option.
- Informational messages due to configuration loading are not printed during worker initialization.

Source: https://gitlab.com/openconnect/ocserv/-/blob/1.3.0/NEWS

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Tom Herbers
2025-03-30 15:36:43 +02:00
co-authored by Gaétan Lepage
parent eb0e0f21f1
commit ad1476736b
+10 -10
View File
@@ -4,6 +4,7 @@
fetchFromGitLab,
autoreconfHook,
pkg-config,
ipcalc,
nettle,
gnutls,
libev,
@@ -14,21 +15,20 @@
gperf,
readline,
lz4,
libgssglue,
ronn,
pam,
libxcrypt,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ocserv";
version = "1.2.4";
version = "1.3.0";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
rev = version;
hash = "sha256-IYiYC9oAw35YjpptUEnhuZQqoDevku25r7qi6SG8xtk=";
tag = finalAttrs.version;
hash = "sha256-oZ1t1BTCdsq1jpa7LfzRGwQNTROHH9/lLBT2WAvj5h4=";
};
nativeBuildInputs = [
@@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
ronn
];
buildInputs = [
ipcalc
nettle
gnutls
libev
@@ -47,15 +48,14 @@ stdenv.mkDerivation rec {
libseccomp
readline
lz4
libgssglue
pam
libxcrypt
];
meta = with lib; {
meta = {
homepage = "https://gitlab.com/openconnect/ocserv";
license = licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
maintainers = with maintainers; [ neverbehave ];
maintainers = with lib.maintainers; [ neverbehave ];
};
}
})