localproxy: 3.1.1 -> 3.1.2
This commit is contained in:
parent
7cd6534e42
commit
bc0673da3c
@ -15,25 +15,18 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "localproxy";
|
pname = "localproxy";
|
||||||
version = "3.1.1";
|
version = "3.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws-samples";
|
owner = "aws-samples";
|
||||||
repo = "aws-iot-securetunneling-localproxy";
|
repo = "aws-iot-securetunneling-localproxy";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-voUKfXa43mOltePQEXgmJ2EBaN06E6R/2Zz6O09ogyY=";
|
hash = "sha256-bIJLGJhSzBVqJaTWJj4Pmw/shA4Y0CzX4HhHtQZjfj0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# gcc-13 compatibility fix:
|
|
||||||
# https://github.com/aws-samples/aws-iot-securetunneling-localproxy/pull/136
|
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "gcc-13-part-1.patch";
|
name = "gcc-13.patch";
|
||||||
url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/f6ba73eaede61841534623cdb01b69d793124f4b.patch";
|
|
||||||
hash = "sha256-sB9GuEuHLyj6DXNPuYAMibUJXdkThKbS/fxvnJU3rS4=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "gcc-13-part-2.patch";
|
|
||||||
url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/de8779630d14e4f4969c9b171d826acfa847822b.patch";
|
url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/de8779630d14e4f4969c9b171d826acfa847822b.patch";
|
||||||
hash = "sha256-11k6mRvCx72+5G/5LZZx2qnx10yfKpcAZofn8t8BD3E=";
|
hash = "sha256-11k6mRvCx72+5G/5LZZx2qnx10yfKpcAZofn8t8BD3E=";
|
||||||
})
|
})
|
||||||
@ -43,6 +36,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
buildInputs = [ openssl protobuf catch2 boost icu ];
|
buildInputs = [ openssl protobuf catch2 boost icu ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i '/set(OPENSSL_USE_STATIC_LIBS TRUE)/d' CMakeLists.txt
|
||||||
|
'';
|
||||||
|
|
||||||
# causes redefinition of _FORTIFY_SOURCE
|
# causes redefinition of _FORTIFY_SOURCE
|
||||||
hardeningDisable = [ "fortify3" ];
|
hardeningDisable = [ "fortify3" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user