Merge pull request #175551 from klDen/feat/update-globalprotect-1.4.5
globalprotect-openconnect: 1.4.1 -> 1.4.5
This commit is contained in:
commit
9b345bc7fa
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "globalprotect-openconnect";
|
pname = "globalprotect-openconnect";
|
||||||
version = "1.4.1";
|
version = "1.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yuezk";
|
owner = "yuezk";
|
||||||
repo = "GlobalProtect-openconnect";
|
repo = "GlobalProtect-openconnect";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-J4f+DJuKQUGK49muAtPU1aL/KI9mofIjyCcIztNVyr4=";
|
sha256 = "sha256-9wRe7pJiosk2b0FKhHKpG6P2QPuBo8bVi6rnUMIkG6I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
||||||
@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
|
|||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace GPService/gpservice.h \
|
substituteInPlace GPService/gpservice.h \
|
||||||
--replace /usr/local/bin/openconnect ${openconnect}/bin/openconnect;
|
--replace /usr/local/bin/openconnect ${openconnect}/bin/openconnect;
|
||||||
|
substituteInPlace GPClient/settingsdialog.ui \
|
||||||
|
--replace /etc/gpservice/gp.conf $out/etc/gpservice/gp.conf;
|
||||||
|
substituteInPlace GPService/gpservice.cpp \
|
||||||
|
--replace /etc/gpservice/gp.conf $out/etc/gpservice/gp.conf;
|
||||||
|
substituteInPlace GPService/CMakeLists.txt \
|
||||||
|
--replace /etc/gpservice $out/etc/gpservice;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user