Loading pkgs/by-name/mo/modsecurity_standalone/package.nix +2 −26 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ luaSupport ? false, lua5, perl, fetchpatch, versionCheckHook, }: Loading @@ -24,13 +23,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "modsecurity"; version = "2.9.8"; version = "2.9.12"; src = fetchFromGitHub { owner = "owasp-modsecurity"; repo = "modsecurity"; tag = "v${finalAttrs.version}"; hash = "sha256-fJ5XeO5m5LlImAuzIvXVVWkc9awbaRI3NWWOOwGrshI="; hash = "sha256-scMOiu8oI3+VcXe05gLNQ8ILmnP4iwls8ZZ9r+3ei5Y="; }; nativeBuildInputs = [ Loading Loading @@ -61,11 +60,6 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; env.NIX_CFLAGS_COMPILE = toString [ # msc_test.c:86:5: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [] "-Wno-error=int-conversion" ]; outputs = [ "out" "nginx" Loading @@ -74,24 +68,6 @@ stdenv.mkDerivation (finalAttrs: { # by default modsecurity's install script copies compiled output to httpd's modules folder # this patch removes those lines ./Makefile.am.patch # remove when 2.9.9 is released (fetchpatch { name = "move-id_log"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/149376377ecef9ecc36ee81d5b666fc0ac7e249b.patch"; hash = "sha256-KjQGqSBt/u9zPZY1aSIupnYHleJbsOAOk3Y2bNOyRxk="; }) # remove when 2.9.9 is released (fetchpatch { name = "gcc-format-security"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/cddd9a7eb5585a9b3be1f9bdcadcace8f60f5808.patch"; hash = "sha256-H1wkZQ5bTQIRhlEvvvj7YCBi9qndRgHgKTnE9Cusq3I="; }) # remove when 2.9.9 is released (fetchpatch { name = "gcc-incompatible-pointer-type"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/4919814a5cf0e7911f71856ed872b0e73b659a0a.patch"; hash = "sha256-9JzCtiLf43xw6i4NqQpok37es+kuWXZWKdJum28Hx4M="; }) ]; doCheck = true; Loading Loading
pkgs/by-name/mo/modsecurity_standalone/package.nix +2 −26 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ luaSupport ? false, lua5, perl, fetchpatch, versionCheckHook, }: Loading @@ -24,13 +23,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "modsecurity"; version = "2.9.8"; version = "2.9.12"; src = fetchFromGitHub { owner = "owasp-modsecurity"; repo = "modsecurity"; tag = "v${finalAttrs.version}"; hash = "sha256-fJ5XeO5m5LlImAuzIvXVVWkc9awbaRI3NWWOOwGrshI="; hash = "sha256-scMOiu8oI3+VcXe05gLNQ8ILmnP4iwls8ZZ9r+3ei5Y="; }; nativeBuildInputs = [ Loading Loading @@ -61,11 +60,6 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; env.NIX_CFLAGS_COMPILE = toString [ # msc_test.c:86:5: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [] "-Wno-error=int-conversion" ]; outputs = [ "out" "nginx" Loading @@ -74,24 +68,6 @@ stdenv.mkDerivation (finalAttrs: { # by default modsecurity's install script copies compiled output to httpd's modules folder # this patch removes those lines ./Makefile.am.patch # remove when 2.9.9 is released (fetchpatch { name = "move-id_log"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/149376377ecef9ecc36ee81d5b666fc0ac7e249b.patch"; hash = "sha256-KjQGqSBt/u9zPZY1aSIupnYHleJbsOAOk3Y2bNOyRxk="; }) # remove when 2.9.9 is released (fetchpatch { name = "gcc-format-security"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/cddd9a7eb5585a9b3be1f9bdcadcace8f60f5808.patch"; hash = "sha256-H1wkZQ5bTQIRhlEvvvj7YCBi9qndRgHgKTnE9Cusq3I="; }) # remove when 2.9.9 is released (fetchpatch { name = "gcc-incompatible-pointer-type"; url = "https://github.com/owasp-modsecurity/ModSecurity/commit/4919814a5cf0e7911f71856ed872b0e73b659a0a.patch"; hash = "sha256-9JzCtiLf43xw6i4NqQpok37es+kuWXZWKdJum28Hx4M="; }) ]; doCheck = true; Loading