mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
Merge pull request #121164 from dotlambda/botan-2.18.0
This commit is contained in:
commit
5ef56ad9f1
@ -1,9 +1,9 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
baseVersion = "2.17";
|
||||
revision = "3";
|
||||
sha256 = "121vn1aryk36cpks70kk4c4cfic5g0qs82bf92xap9258ijkn4kr";
|
||||
baseVersion = "2.18";
|
||||
revision = "0";
|
||||
sha256 = "09z3fy31q1pvnvpy4fswrsl2aq8ksl94lbh5rl7b6nqc3qp8ar6c";
|
||||
postPatch = ''
|
||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||
'';
|
||||
|
@ -9,4 +9,8 @@ callPackage ./generic.nix (args // {
|
||||
postPatch = ''
|
||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||
'';
|
||||
knownVulnerabilities = [
|
||||
# https://botan.randombit.net/security.html#id1
|
||||
"2020-03-24: Side channel during CBC padding"
|
||||
];
|
||||
})
|
||||
|
@ -4,6 +4,7 @@
|
||||
, sourceExtension ? "tar.xz"
|
||||
, extraConfigureFlags ? ""
|
||||
, postPatch ? null
|
||||
, knownVulnerabilities ? [ ]
|
||||
, CoreServices
|
||||
, Security
|
||||
, ...
|
||||
@ -49,6 +50,7 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
inherit knownVulnerabilities;
|
||||
};
|
||||
passthru.updateInfo.downloadPage = "http://files.randombit.net/botan/";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user