Commit Graph

151 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Robert Scott
492ae30d9d suricata: enable tests 2024-08-24 21:18:46 +01:00
Someone
63cc38bf10
Merge pull request #324545 from paparodeo/treewide-strict-deps-fixes
treewide: fix packages that use cmake strict deps when cmake strict deps works
2024-07-27 22:19:23 +03:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
Reno Dakota
5f5e6c6234
python312Packages.zeek: fix strict deps
add python3 to nativeBuildInputs
2024-07-25 07:19:34 +00:00
Reno Dakota
04cb206795
zeek: fix strict deps
move swig to nativeBuildInputs
2024-07-25 07:19:33 +00:00
Vladimír Čunát
8145bb89f7
suricata: fixup build by not enabling a new hardening
https://hydra.nixos.org/build/264602487/nixlog/4/tail
/cc PR introducing it: #316761
2024-07-06 08:18:34 +02:00
R. Ryantm
c0f5090519 suricata: 7.0.5 -> 7.0.6 2024-06-29 12:53:41 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
6fde483d59 zeek: 6.2.0 -> 6.2.1 2024-05-17 02:59:22 +00:00
Weijia Wang
ab2d574f14
Merge pull request #308212 from r-ryantm/auto-update/suricata
suricata: 7.0.4 -> 7.0.5
2024-05-11 19:03:38 +02:00
Ganga Ram
3c5119e3b4 suricata: resolve runtimme dependency
python pyyaml package added to resolve runtime dependency of
suricata-update

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-05-06 13:00:40 +04:00
R. Ryantm
342684a707 suricata: 7.0.4 -> 7.0.5 2024-05-01 08:40:36 +00:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Philip Taron
5d22fdc929
suricata: use elfutils instead of abandoned libelf 2024-04-03 10:32:26 -07:00
R. Ryantm
3bcb55122f suricata: 7.0.3 -> 7.0.4 2024-03-20 12:38:55 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Mario Rodas
1fe374ccc6 zeek: 6.1.1 -> 6.2.0
Changelog: https://github.com/zeek/zeek/blob/v6.2.0/CHANGES
2024-03-14 04:20:00 +00:00
Mario Rodas
77f2d13346 zeek.broker: 2.7.0 -> 6.2.0
Diff: https://github.com/zeek/broker/compare/v2.7.0...v6.2.0
2024-03-14 04:20:00 +00:00
R. Ryantm
cb9957f8eb suricata: 7.0.2 -> 7.0.3 2024-02-11 05:22:53 +00:00
R. Ryantm
563191055f zeek: 6.1.0 -> 6.1.1 2024-01-26 07:37:27 +00:00
Mario Rodas
adf4824946 zeek: 6.0.2 -> 6.1.0
Changelog: https://github.com/zeek/zeek/releases/tag/v6.1.0
2023-12-27 04:20:00 +00:00
Mario Rodas
0fcb3dd9d1 zeek.broker: unstable-2023-02-01 -> 2.7.0 2023-12-27 04:20:00 +00:00
R. Ryantm
48f99e9392 suricata: 7.0.1 -> 7.0.2 2023-11-14 05:56:20 +00:00
R. Ryantm
a55085f41b zeek: 6.0.1 -> 6.0.2 2023-10-28 19:12:32 +00:00
Weijia Wang
d60b2a4c6c
Merge pull request #262173 from r-ryantm/auto-update/suricata
suricata: 7.0.0 -> 7.0.1
2023-10-28 04:00:38 +02:00
R. Ryantm
514ccd4402 suricata: 7.0.0 -> 7.0.1 2023-10-20 00:36:06 +00:00
Mikael Fangel
40edae805c
zeek: fix zeekctl, zkg module 2023-10-19 21:16:30 +02:00
Mario Rodas
09ebd10607 zeek: fix build on darwin 2023-10-15 14:41:00 +02:00
Tobias Mayer
f7701b7e1e
zeek: 5.2.0 -> 6.0.1 2023-10-15 14:40:19 +02:00
Alexandre Iooss
24a04f48c1 suricata: 6.0.13 -> 7.0.0 2023-08-01 11:04:18 +00:00
Alexandre Iooss
144ded54ab suricata: 6.0.12 -> 6.0.13 2023-06-18 21:47:18 +02:00
R. Ryantm
3d98b7bf0e suricata: 6.0.11 -> 6.0.12 2023-05-24 06:13:21 +00:00
Mario Rodas
fda63c16e2 zeek: only build with libkqueue on Linux 2023-05-20 04:20:00 +00:00
Mario Rodas
eca6dd10b9 zeek: 5.2.1 -> 5.2.2
https://github.com/zeek/zeek/releases/tag/v5.2.2
2023-05-20 04:20:00 +00:00
R. Ryantm
8ec463eba8 zeek: 5.2.0 -> 5.2.1 2023-05-15 05:22:12 +00:00
R. Ryantm
792d9fc5c9 suricata: 6.0.10 -> 6.0.11 2023-04-18 08:22:22 +00:00
Artturin
780669daf5 treewide: don't hardcode /nix/store (no rebuilds changes)
improve experience for other store locations
2023-03-24 20:11:33 +02:00
Tobias Mayer
186e71a9ab
zeek: 5.1.2 -> 5.2.0 2023-03-06 18:37:38 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Aycan Irican
dd389f68ea snort: 2.9.18 -> 2.9.20 2023-02-17 17:51:37 -08:00
R. Ryantm
ba7956304a suricata: 6.0.8 -> 6.0.10 2023-02-11 03:56:43 +00:00
Tobias Mayer
6baa1be942
zeek: 4.2.2 -> 5.1.2 2023-02-04 14:35:44 +01:00
Emily Trau
ab158ca8d7 suricata: update homepage 2023-02-03 01:21:32 +11:00
Ryan Lahfa
d23edec333
Merge pull request #193828 from r-ryantm/auto-update/suricata
suricata: 6.0.6 -> 6.0.8
2022-12-23 03:22:13 +01:00
R. Ryantm
b0264d8858 suricata: 6.0.6 -> 6.0.8 2022-10-01 03:11:23 +00:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
R. Ryantm
a3068144a4 suricata: 6.0.4 -> 6.0.6 2022-08-02 03:51:10 +00:00
Mario Rodas
8d1fe6de8c zeek: 4.2.1 -> 4.2.2
https://github.com/zeek/zeek/releases/tag/v4.2.2
2022-06-04 04:20:00 +00:00