mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-09 04:16:53 +00:00
libnftnl: 1.2.7 -> 1.2.8, nftables: 1.1.0 -> 1.1.1
Changes: https://lwn.net/Articles/992760/
This commit is contained in:
parent
73bed75dbd
commit
1e8ac19152
@ -1,12 +1,12 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, libmnl, gitUpdater }:
|
{ lib, stdenv, fetchurl, pkg-config, libmnl, gitUpdater }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.7";
|
version = "1.2.8";
|
||||||
pname = "libnftnl";
|
pname = "libnftnl";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.xz";
|
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";
|
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
|
, withCli ? true, libedit
|
||||||
, withXtables ? true, iptables
|
, withXtables ? true, iptables
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
pname = "nftables";
|
pname = "nftables";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://netfilter.org/projects/nftables/files/${pname}-${version}.tar.xz";
|
url = "https://netfilter.org/projects/nftables/files/${pname}-${version}.tar.xz";
|
||||||
hash = "sha256-7zNzKUiGxbYH7nvoLFaiW8BOdfgC+OitzVWqyR6wqiQ=";
|
hash = "sha256-Y1iDDzpk8x45sK1CHX2tzSQLcjQ97UjY7xO4+vIEhlo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -42,6 +43,11 @@ stdenv.mkDerivation rec {
|
|||||||
nat = { inherit (nixosTests.nat.nftables) firewall standalone; };
|
nat = { inherit (nixosTests.nat.nftables) firewall standalone; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
url = "https://git.netfilter.org/nftables";
|
||||||
|
rev-prefix = "v";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
|
description = "Project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
|
||||||
homepage = "https://netfilter.org/projects/nftables/";
|
homepage = "https://netfilter.org/projects/nftables/";
|
||||||
|
Loading…
Reference in New Issue
Block a user