Merge pull request #156567 from mweinelt/strongswan
This commit is contained in:
commit
d77a3dcb5e
1 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
, enableTNC ? false, trousers, sqlite, libxml2
|
, enableTNC ? false, trousers, sqlite, libxml2
|
||||||
, enableNetworkManager ? false, networkmanager
|
, enableNetworkManager ? false, networkmanager
|
||||||
, darwin
|
, darwin
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Note on curl support: If curl is built with gnutls as its backend, the
|
# Note on curl support: If curl is built with gnutls as its backend, the
|
||||||
|
@ -17,13 +18,13 @@ with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "strongswan";
|
pname = "strongswan";
|
||||||
version = "5.9.4"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading!
|
version = "5.9.5"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading!
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "strongswan";
|
owner = "strongswan";
|
||||||
repo = "strongswan";
|
repo = "strongswan";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1y1gs232x7hsbccjga9nbkf4bbi5wxazlkg00qd2v1nz86sfy4cd";
|
sha256 = "sha256-Jx0Wd/xgkl/WrBfcEvZPogPAQp0MW9HE+AQR2anP5Vo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
@ -101,6 +102,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ;
|
NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ;
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) strongswan-swanctl; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "OpenSource IPsec-based VPN Solution";
|
description = "OpenSource IPsec-based VPN Solution";
|
||||||
homepage = "https://www.strongswan.org";
|
homepage = "https://www.strongswan.org";
|
||||||
|
|
Loading…
Reference in a new issue