2022-11-30 08:17:05 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, fetchpatch }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2014-11-15 22:17:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-27 14:47:49 +00:00
|
|
|
pname = "bridge-utils";
|
2021-09-13 17:09:43 +00:00
|
|
|
version = "1.7.1";
|
2007-11-18 10:37:32 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2021-09-13 17:09:43 +00:00
|
|
|
url = "https://kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-${version}.tar.xz";
|
|
|
|
sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4=";
|
2007-11-18 10:37:32 +00:00
|
|
|
};
|
|
|
|
|
2022-11-30 08:17:05 +00:00
|
|
|
patches = [
|
|
|
|
./autoconf-ar.patch
|
|
|
|
|
|
|
|
(fetchpatch {
|
|
|
|
name = "musl-includes.patch";
|
|
|
|
url = "https://git.alpinelinux.org/aports/plain/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch?id=12c9046eee3a0a35665dc4e280c1f5ae2af5845d";
|
|
|
|
sha256 = "sha256-uY1tgJhcm1DFctg9scmC8e+mgowgz4f/oF0+k+x+jqw=";
|
|
|
|
})
|
|
|
|
];
|
2007-11-18 10:37:32 +00:00
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2007-11-18 10:37:32 +00:00
|
|
|
|
2011-12-01 11:26:49 +00:00
|
|
|
meta = {
|
2021-09-13 17:09:43 +00:00
|
|
|
description = "An userspace tool to configure linux bridges (deprecated in favour or iproute2).";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.linuxfoundation.org/networking/bridge";
|
2021-01-15 14:45:37 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2007-11-18 10:37:32 +00:00
|
|
|
};
|
|
|
|
}
|