fscrypt-experimental: 0.3.1 -> 0.3.3
* fscrypt-experimental: 0.3.1 -> 0.3.2 (#160747) * fscrypt-experimental: 0.3.2 -> 0.3.3 Fixes CVE-2022-25326 Fixes CVE-2022-25327 Fixes CVE-2022-25328 Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
e2e2a90593
commit
cb7aad71e5
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fscrypt";
|
pname = "fscrypt";
|
||||||
version = "0.3.1";
|
version = "0.3.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "fscrypt";
|
repo = "fscrypt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gi91vm0ai4vjzj6cfnjsfy8kbfxjiq2n7jnbhf5470qbx49qixr";
|
hash = "sha256-kkcZuX8tB7N8l9O3X6H92EqEqdAcqSbX+pwr7GrcRFY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -19,7 +19,7 @@ buildGoModule rec {
|
|||||||
--replace "/usr/local" "$out"
|
--replace "/usr/local" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = "1gw3q2pn8v6n9wkl5881rbxglislnr98a9gjqnqm894gnz7hfdzb";
|
vendorSha256 = "sha256-6zcHz7ePJFSxxfIlhVK2VEf6+soBoUInT9ZsZK/Ag78=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -27,11 +27,15 @@ buildGoModule rec {
|
|||||||
buildInputs = [ pam ];
|
buildInputs = [ pam ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
make
|
make
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
make install
|
make install
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user