Commit Graph

58 Commits

Author SHA1 Message Date
Tom Herbers
bc047e7d53 batman-adv: 2026.2 -> 2026.3
Changelog: https://www.open-mesh.org/news/129
2026-09-01 15:19:01 +02:00
Lisanna Dettwyler
a31a53caf1 linuxKernel.packages.linux_5_10.batman_adv: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:30:15 -04:00
Tom Herbers
752efb4902 nixos/tests: add systemd-networkd-batadv 2025-10-04 11:19:42 +02:00
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03:00
Silvan Mosberger
4f0dadbf38 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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Tom Herbers
fbb42119b3 batman-adv: 2023.3 -> 2024.0
Changelog: https://www.open-mesh.org/news/115
2024-02-06 13:16:23 +01:00
Martin Weinelt
4611371303 treewide: scale back maintainership for various packages 2024-01-05 14:43:39 +01:00
Tom Herbers
703e8c433e batman-adv: fix redefinition of skb_vlan_eth_hdr 2023-12-28 20:06:31 +01:00
Philip Taron
e69fccca13 batman-adv: 2023.2 -> 2023.3
Changelog: https://www.open-mesh.org/news/114
2023-12-13 12:53:06 -08:00
Martin Weinelt
11a8c3e409 batman-adv: 2022.0 -> 2022.1 2022-05-06 18:23:07 +02:00
Martin Weinelt
a62be8ad08 batman-adv: 2021.4 -> 2022.0
https://www.open-mesh.org/news/107
2022-04-18 13:53:44 +02:00
Nick Cao
8d715c1f78 batman_adv: prepend kernel.makeFlags to makeFLags 2022-03-07 12:23:44 +08:00
Martin Weinelt
b49bd8db30 batman-adv: 2021.0 -> 2021.1 2021-05-22 00:31:57 +02:00
Martin Weinelt
d5bda9ed61 batman-adv: fix build on linux>=5.12 2021-05-13 18:19:32 +02:00
Martin Weinelt
3e17f21396 batman-adv: 2020.4 -> 2021.0 (#111185)
* batman-adv: 2020.4 -> 2021.0

* batman-adv: add hexa to maintainers
2021-01-31 13:42:27 +01:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Franz Pletz
8b3427ad87 batman-adv: refactor 2020-01-01 20:29:35 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Franz Pletz
b7b96cf0c3 batman-adv: 2019.1 -> 2019.2 2019-06-01 15:58:47 +02:00
Franz Pletz
6fe8153609 batman-adv: 2019.0 -> 2019.1 2019-04-02 12:02:41 +02:00
Franz Pletz
36682692a0 batman-adv: 2018.4 -> 2019.0 2019-02-03 08:59:32 +01:00
Franz Pletz
b62a18b0c2 batman_adv: 2018.2 -> 2018.4 2018-11-20 12:33:56 +01:00
Lluís Batlle i Rossell
66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
Franz Pletz
5210a073ad batman-adv: 2018.1 -> 2018.2 2018-07-22 11:16:22 +02:00
Franz Pletz
b68155de84 batman_adv: 2018.0 -> 2018.1 2018-07-15 21:41:45 +02:00
Franz Pletz
48bd537814 batman-adv: 2017.4 -> 2018.0 2018-03-05 15:43:42 +01:00
Andreas Rammhold
4774356724 batman-adv: 2017.3 -> 2017.4 2018-01-17 02:55:13 +01:00
Andreas Rammhold
1eb62129d9 batman-adv: add missing nativeBuildInputs 2018-01-17 02:46:29 +01:00
Franz Pletz
1988f762ff batman-adv: 2017.2 -> 2017.3 2017-10-02 20:24:21 +02:00
mimadrid
09e0cc7cc7 Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Franz Pletz
ee8df19a25 batman-adv: 2017.1 -> 2017.2 2017-07-31 12:23:14 +02:00
Franz Pletz
f0a4e91612 batman-adv: 2017.0 -> 2017.1 2017-06-06 03:58:11 +02:00
Joachim Fasting
e6c65ecb12 tree-wide: remove uses of features.grsecurity 2017-05-14 15:08:51 +02:00
Franz Pletz
71161443b4 batman-adv: 2016.5 -> 2017.0.1 2017-03-11 09:39:20 +01:00
Franz Pletz
eb559d2b07 batman-adv: 2016.4 -> 2016.5 2016-12-18 05:23:38 +01:00
Franz Pletz
ba73dbbda6 batman-adv: 2016.3 -> 2016.4 2016-11-17 08:14:18 +01:00
Franz Pletz
9a2065ff2a batman-adv: 2016.2 -> 2016.3 2016-09-06 03:59:43 +02:00
obadz
b74793bd1c Merge branch 'master' into staging
Conflicts:
	pkgs/tools/system/facter/default.nix
2016-08-29 12:44:17 +01:00
Joachim Fasting
b56f7acc78 batman-adv: mark as broken on -grsec
Looks to be incompatible with the PaX constification plugin:

> /tmp/nix-build-batman-adv-2016.2-4.7.2.drv-0/batman-adv-2016.2/net/batman-adv/soft-interface.c:1065:22:
error: constified variable 'batadv_link_ops' placed into writable
section ".data..read_mostly"
 struct rtnl_link_ops batadv_link_ops __read_mostly = {

https://hydra.nixos.org/build/39312033/log/raw
2016-08-29 04:09:40 +02:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Franz Pletz
0f96c69026 batman-adv: 2016.1 -> 2016.2 2016-07-11 04:04:49 +02:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Franz Pletz
d3e0849785 batman-adv: 2016.0 -> 2016.1 2016-05-31 20:10:26 +02:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
9620a43228 linuxPackages.batman_adv: turn off pic hardening 2016-02-09 22:47:47 +00:00
Franz Pletz
c485ba1c66 batman-adv: 2015.2 -> 2016.0 2016-01-24 05:20:18 +01:00