diff --git a/pkgs/servers/ucarp/default.nix b/pkgs/servers/ucarp/default.nix new file mode 100644 index 000000000000..321a725cc89a --- /dev/null +++ b/pkgs/servers/ucarp/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchurl, libpcap }: + +stdenv.mkDerivation rec { + pname = "ucarp"; + version = "1.5.2"; + + src = fetchurl { + url = "https://download.pureftpd.org/pub/ucarp/ucarp-${version}.tar.bz2"; + sha256 = "0qidz5sr55nxlmnl8kcbjsrff2j97b44h9l1dmhvvjl46iji7q7j"; + }; + + buildInputs = [ libpcap ]; + + meta = with lib; { + description = "Userspace implementation of CARP"; + longDescription = '' + UCARP allows a couple of hosts to share common virtual IP addresses in + order to provide automatic failover. It is a portable userland + implementation of the secure and patent-free Common Address Redundancy + Protocol (CARP, OpenBSD's alternative to the patents-bloated VRRP). + + Warning: This package has not received any upstream updates for a long + time and can be considered as unmaintained. + ''; + license = with licenses; [ isc bsdOriginal bsd2 gpl2Plus ]; + maintainers = with maintainers; [ oxzi ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 393e83fc1518..d84cf5092644 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9389,6 +9389,8 @@ in ubertooth = callPackage ../applications/radio/ubertooth { }; + ucarp = callPackage ../servers/ucarp { }; + ucl = callPackage ../development/libraries/ucl { }; ucspi-tcp = callPackage ../tools/networking/ucspi-tcp { };