70 Commits

Author SHA1 Message Date
Philipp Bartsch 9d34742db2 nftables: fix reproducibility
Closes: https://github.com/NixOS/nixpkgs/issues/478048
2026-02-01 13:13:34 +01:00
Wolfgang Walther 46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sergei Trofimovich 5e87c95566 libnftnl: 1.3.0 -> 1.3.1, nftables: 1.1.5 -> 1.1.6
Changes:
- https://git.netfilter.org/libnftnl/log/?h=libnftnl-1.3.1
- https://www.netfilter.org/projects/nftables/files/changes-nftables-1.1.6.txt
2025-12-05 21:27:48 +00:00
Ihar Hrachyshka 3c30b4cc88 nftables: fix build failure 2025-10-09 22:04:26 -04:00
Yohann Boniface b7648fa80b nftables: fix static build (#441065) 2025-10-10 01:21:42 +00:00
K900 02118ed9c4 nftables: 1.1.4 -> 1.1.5 (#437793) 2025-09-20 12:43:49 +03:00
Adam C. Stephens caddb36196 nixosTests.lxd: remove references to removed test 2025-09-15 17:15:00 -04:00
Ihar Hrachyshka 694ac98bd6 nftables: fix static build 2025-09-08 19:08:01 -04:00
Sergei Trofimovich dba6dca44d nftables: 1.1.4 -> 1.1.5
Changes: https://www.netfilter.org/projects/nftables/files/changes-nftables-1.1.5.txt
2025-08-28 07:04:28 +01:00
Sergei Trofimovich 27f515a135 nftables: 1.1.3 -> 1.1.4
Changes: https://www.netfilter.org/projects/nftables/files/changes-nftables-1.1.4.txt
2025-08-07 06:33:46 +01:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sergei Trofimovich a22b58e791 nftables: 1.1.1 -> 1.1.3
Changes: https://git.netfilter.org/nftables/log/?h=v1.1.3
2025-04-24 06:27:22 +01:00
Alyssa Ross e641337b74 nftables: fix build for musl 2024-12-26 01:11:37 +01:00
Silvan Mosberger 667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Simon Hauser c4edf93988 Cleanup helsinki maintainer (#353611)
* maintainers: update email conni2461

* maintainers: add helsinki-jo

* tree-wide: cleanup maintainership of helsinki-systems
2024-11-04 12:59:26 +01:00
Sergei Trofimovich 32b9a2444b nftables: enable parallel building 2024-10-04 06:54:54 +01:00
Sergei Trofimovich 1e8ac19152 libnftnl: 1.2.7 -> 1.2.8, nftables: 1.1.0 -> 1.1.1
Changes: https://lwn.net/Articles/992760/
2024-10-04 06:52:46 +01:00
Sergei Trofimovich 09fefcd76b nftables: 1.0.9 -> 1.1.0 2024-07-27 22:05:22 +01:00
Sigmanificient 6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Shawn8901 e8beca2617 nftables: fix substituted file location 2024-05-06 22:46:57 +02:00
Leorize 9b8156b4a4 nftables: remove python patch
Replaced the patch with `--replace-fail` based on @quentinmit and
@Izorkin recommendation.
2024-04-14 18:45:40 -05:00
Leorize e95a228693 nftables: split python package from main
Starting nftables 1.0.9, the python bindings are no longer built and
installed by the autotools build system and instead must be installed
manually.

Co-authored-by: ajs124 <ajs124@users.noreply.github.com>
2024-04-14 18:45:39 -05:00
Robin Gloster b5556f2c37 Merge pull request #268109 from helsinki-systems/helsinki-maintainer-team
maintainers/teams: init and add helsinki-systems
2023-12-20 11:43:29 +01:00
ajs124 7b6580dba4 maintainers/teams: init and add helsinki-systems 2023-11-30 19:11:08 +01:00
Leorize c7c8da035d nftables: fix python module lookup for libnftables
The default parameter for Nftables class relies on Python looking via
default search path, which will not work with Nix.

This commit hardcode the path into the module to handle software using
this default parameter (eg. firewalld).
2023-11-24 01:35:38 +01:00
ajs124 c81e533e6d nftables: fix passthru.tests
follow-up to f1c0589e4c
2023-10-20 13:02:51 +02:00
ajs124 9f70c19a41 nftables: 1.0.8 -> 1.0.9
https://lwn.net/Articles/948274/
2023-10-20 13:01:00 +02:00
Alyssa Ross 1e0e8df197 nftables: add option to disable interactive
I think "CLI" is a very strange name for this, but that's what
upstream calls it.
2023-09-14 11:00:14 +00:00
ajs124 342e6c6bff nftables: 1.0.7 -> 1.0.8 (#243985)
https://www.spinics.net/lists/netfilter/msg61165.html
2023-07-17 19:32:14 +02:00
ajs124 b17e280afe nftables: 1.0.6 -> 1.0.7
https://www.spinics.net/lists/netfilter/msg61018.html
2023-03-21 11:46:33 +01:00
ajs124 866182be1d nftables: 1.0.5 -> 1.0.6
https://www.spinics.net/lists/netfilter/msg60949.html
2022-12-22 15:16:32 +01:00
Archit Gupta 58244a7189 nftables: Set meta.mainProgram to "nft"
The nftables package only has one binary, and this enables running it through
`nix run nixpkgs#nftables`.
2022-11-06 11:36:43 -08:00
ajs124 ba541afca3 nftables: 1.0.4 -> 1.0.5
https://lore.kernel.org/all/YvK7fkPf6P52MV+w@salvia/T/
2022-08-11 18:13:46 +02:00
ajs124 7226082e1a nftables: 1.0.2 -> 1.0.4 2022-06-07 19:44:28 +02:00
Sandro Jäckel d9da7087c0 python310Packages.nftables: init from pkgs.nftables, reduce with lib; usage over enitre file 2022-04-30 02:26:11 +02:00
ajs124 18c72c223a nftables: 1.0.1 -> 1.0.2 2022-03-02 01:24:33 +01:00
ajs124 740155f9e4 nftables: 1.0.0 -> 1.0.1 2021-11-18 15:11:30 +01:00
Alyssa Ross 9102043eff nftables: clarify license
> nftables is distributed under the terms of the GPL version 2. Note that
> *only* version 2 of the GPL applies, not "any later version".

https://git.netfilter.org/nftables/tree/COPYING?id=fac10ea799fe9b6158d74f66d6ad46536d38a545
2021-11-08 13:55:52 +00:00
misuzu cf9ac2b544 iptables: switch from iptables-legacy to iptables-nftables-compat
This should ease the migration to nftables.
2021-09-28 10:47:48 +03:00
ajs124 e59a984427 nftables: 0.9.9 -> 1.0.0
https://lore.kernel.org/netdev/20210819173626.GA1776@salvia/T/
2021-08-20 16:36:08 +02:00
ajs124 6b64fb83ca nftables: 0.9.8 -> 0.9.9 2021-05-26 00:02:10 +02:00
Jörg Thalheim dec19cba44 Merge pull request #109644 from Izorkin/update-firewall 2021-02-03 05:41:42 +00:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Izorkin a4984ea436 nftables: 0.9.7 -> 0.9.8 2021-01-17 18:53:29 +03:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Izorkin 2f7ce5fdc3 nftables: 0.9.6 -> 0.9.7 2020-11-18 15:51:53 +01:00
R. RyanTM 9b605b5a23 nftables: 0.9.3 -> 0.9.6 2020-07-05 19:57:17 +00:00
Will Dietz 7d7c87d162 nftables: 0.9.2 -> 0.9.3 2019-12-10 18:50:04 +01:00