Merge pull request #242466 from risicle/ris-fortify3-disable-various
disable `fortify3` hardening flag on various packages
This commit is contained in:
commit
e2622eee41
@ -51,8 +51,12 @@ stdenv.mkDerivation rec {
|
||||
# similarly here
|
||||
"-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd"
|
||||
];
|
||||
# See https://github.com/jcorporation/myMPD/issues/315
|
||||
hardeningDisable = [ "strictoverflow" ];
|
||||
hardeningDisable = [
|
||||
# See https://github.com/jcorporation/myMPD/issues/315
|
||||
"strictoverflow"
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
"fortify3"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://jcorporation.github.io/myMPD";
|
||||
|
@ -87,6 +87,9 @@ mkDerivation rec {
|
||||
"-DNO_SHIBBOLETH=1" # allows to compile without qtwebkit
|
||||
];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
postBuild = ''
|
||||
make doc-man
|
||||
'';
|
||||
|
@ -66,6 +66,9 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
# https://github.com/root-project/root/issues/13216
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
preConfigure = ''
|
||||
# binutils 2.37 fixes
|
||||
fixupList=(
|
||||
|
@ -149,6 +149,9 @@ in
|
||||
++ extraConfigureFlags
|
||||
;
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
# Packages to prefix to the Apptainer/Singularity container runtime default PATH
|
||||
# Use overrideAttrs to override
|
||||
defaultPathInputs = [
|
||||
|
@ -86,6 +86,9 @@ stdenv.mkDerivation rec {
|
||||
"-DIGC_PREFERRED_LLVM_VERSION=${lib.getVersion llvm}"
|
||||
];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/intel/intel-graphics-compiler";
|
||||
description = "LLVM-based compiler for OpenCL targeting Intel Gen graphics hardware";
|
||||
|
@ -60,6 +60,9 @@ stdenv.mkDerivation rec {
|
||||
"-DGVM_RUN_DIR=${placeholder "out"}/run/gvm"
|
||||
];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Libraries module for the Greenbone Vulnerability Management Solution";
|
||||
homepage = "https://github.com/greenbone/gvm-libs";
|
||||
|
@ -52,6 +52,9 @@ stdenv.mkDerivation rec {
|
||||
"--enable-sage"
|
||||
];
|
||||
|
||||
# https://github.com/linbox-team/linbox/issues/304
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}"];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The advanced PC speaker beeper";
|
||||
homepage = "https://github.com/spkr-beep/beep";
|
||||
|
@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "LIBDIR=/lib" ];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ChromiumOS libevdev. Renamed to avoid conflicts with the standard libevdev found in Linux distros";
|
||||
license = licenses.bsd3;
|
||||
|
@ -35,6 +35,9 @@ let
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja flex bison ];
|
||||
|
||||
# https://github.com/nanomq/idl-serial/issues/36
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -16,6 +16,9 @@ stdenv.mkDerivation {
|
||||
doCheck = true;
|
||||
checkPhase = "./hash_extender --test";
|
||||
|
||||
# https://github.com/iagox86/hash_extender/issues/26
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
|
||||
installPhase = ''
|
||||
|
@ -58,6 +58,9 @@ stdenv.mkDerivation rec {
|
||||
"-DDISABLE_LTO=ON"
|
||||
];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "yubihsm-shell and libyubihsm";
|
||||
homepage = "https://github.com/Yubico/yubihsm-shell";
|
||||
|
@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs platform2_preinstall.sh
|
||||
'';
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
installPhase = ''
|
||||
./platform2_preinstall.sh ${version} $out/include/chromeos
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user