mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
Merge pull request #225416 from risicle/ris-freshrss-CVE-2023-22481-r22.11
[22.11] freshrss: add patch for CVE-2023-22481
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nixosTests
|
||||
, php
|
||||
, pkgs
|
||||
@@ -17,7 +18,17 @@ stdenvNoCC.mkDerivation rec {
|
||||
hash = "sha256-l1SOaQA4C8yXbrfi7pEE1PpUO4DVmLTTDUSACCSQ5LE=";
|
||||
};
|
||||
|
||||
passthru.tests = nixosTests.freshrss;
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2023-22481.patch";
|
||||
url = "https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554.patch";
|
||||
sha256 = "sha256-1a9ZWFm6NV9PbfMSAVTDFXT4x+Pr6oTidJK2oMwHW/A=";
|
||||
})
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) freshrss-sqlite freshrss-pgsql;
|
||||
};
|
||||
|
||||
buildInputs = [ php ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user