libnftnl: 1.2.7 -> 1.2.8, nftables: 1.1.0 -> 1.1.1 (#346345)
This commit is contained in:
commit
4e904cbac9
@ -1,12 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, libmnl, gitUpdater }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2.7";
|
||||
version = "1.2.8";
|
||||
pname = "libnftnl";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-kSJ3T5aAk9XAus3dZ95IDzH6QHNAWn/AWKNLDzh67LM=";
|
||||
hash = "sha256-N/6l1rXJsI3nkg0pjePNyULnrmSxo+i4gLLTkK5nrZU=";
|
||||
};
|
||||
|
||||
configureFlags = lib.optional (stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17") "LDFLAGS=-Wl,--undefined-version";
|
||||
|
@ -7,15 +7,16 @@
|
||||
, withCli ? true, libedit
|
||||
, withXtables ? true, iptables
|
||||
, nixosTests
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1.0";
|
||||
version = "1.1.1";
|
||||
pname = "nftables";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://netfilter.org/projects/nftables/files/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-7zNzKUiGxbYH7nvoLFaiW8BOdfgC+OitzVWqyR6wqiQ=";
|
||||
hash = "sha256-Y1iDDzpk8x45sK1CHX2tzSQLcjQ97UjY7xO4+vIEhlo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -36,12 +37,19 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optional (!withDebugSymbols) "--disable-debug"
|
||||
++ lib.optional withXtables "--with-xtables";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) firewall-nftables;
|
||||
lxd-nftables = nixosTests.lxd.nftables;
|
||||
nat = { inherit (nixosTests.nat.nftables) firewall standalone; };
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "https://git.netfilter.org/nftables";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
|
||||
homepage = "https://netfilter.org/projects/nftables/";
|
||||
|
Loading…
Reference in New Issue
Block a user