diff --git a/pkgs/tools/networking/oslrd/default.nix b/pkgs/tools/networking/oslrd/default.nix new file mode 100644 index 000000000000..18fdae2a44f8 --- /dev/null +++ b/pkgs/tools/networking/oslrd/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, bison, flex }: + +stdenv.mkDerivation rec { + name = "olsrd-0.6.5.4"; + + src = fetchurl { + url = "http://www.olsr.org/releases/0.6/${name}.tar.bz2"; + sha256 = "757327b9a22b066bd0cab2a8e1cdd1c462f474bb99864a175388aa5f0c70504c"; + }; + + buildInputs = [ bison flex ]; + + preConfigure = '' + makeFlags="prefix=$out ETCDIR=$out/etc" + ''; + + meta = { + description = "An adhoc wireless mesh routing daemon"; + license = "BSD"; + homepage = "http://olsr.org/"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37631ac6708a..6e91d928128b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1361,6 +1361,8 @@ let optipng = callPackage ../tools/graphics/optipng { }; + oslrd = callPackage ../tools/networking/oslrd { }; + ossec = callPackage ../tools/security/ossec {}; otpw = callPackage ../os-specific/linux/otpw { };