3
0
Fork 0
forked from mirrors/nixpkgs

ubridge: init at 0.9.14

This commit is contained in:
Michael Weiss 2019-01-10 19:41:38 +01:00
parent 70732eb482
commit d7cedf7394
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub
, libpcap
}:
stdenv.mkDerivation rec {
name = "ubridge-${version}";
version = "0.9.14";
src = fetchFromGitHub {
owner = "GNS3";
repo = "ubridge";
rev = "v${version}";
sha256 = "1m3j9jfj8fm0532jhaagqgsyr241j6z9wn8lgrl7q3973rhiahfs";
};
postPatch = ''
substituteInPlace Makefile \
--replace "/usr/local/bin" "$out/bin" \
--replace "setcap" "#setcap"
'';
buildInputs = [ libpcap ];
preInstall = ''
mkdir -p $out/bin
'';
meta = with stdenv.lib; {
description = "Bridge for UDP tunnels, Ethernet, TAP, and VMnet interfaces";
longDescription = ''
uBridge is a simple application to create user-land bridges between
various technologies. Currently bridging between UDP tunnels, Ethernet
and TAP interfaces is supported. Packet capture is also supported.
'';
inherit (src.meta) homepage;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}

View file

@ -5911,6 +5911,8 @@ in
ua = callPackage ../tools/networking/ua { };
ubridge = callPackage ../tools/networking/ubridge { };
ucl = callPackage ../development/libraries/ucl { };
ucspi-tcp = callPackage ../tools/networking/ucspi-tcp { };