diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/cheaders.patch | 14 | ||||
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/default.nix | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/cheaders.patch b/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/cheaders.patch new file mode 100644 index 000000000000..69a3e3287371 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/cheaders.patch @@ -0,0 +1,14 @@ +diff --git a/src/dejitter.c b/src/dejitter.c +index 1904ab3..cb3624d 100644 +--- a/src/dejitter.c ++++ b/src/dejitter.c +@@ -22,6 +22,8 @@ + + #include <errno.h> + ++#include <string.h> ++#include <sys/time.h> + #include <unistd.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> diff --git a/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/default.nix new file mode 100644 index 000000000000..e664ee20c237 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/applications/networking/siproxd/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, libosip }: + +stdenv.mkDerivation rec { + name = "siproxd-0.8.2"; + + src = fetchurl { + url = "mirror://sourceforge/siproxd/${name}.tar.gz"; + sha256 = "1l6cyxxhra825jiiw9npa7jrbfgbyfpk4966cqkrw66cn28y8v2j"; + }; + + patches = [ ./cheaders.patch ]; + + buildInputs = [ libosip ]; + + meta = { + homepage = "http://siproxd.sourceforge.net/"; + description = "A masquerading SIP Proxy Server"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + license = stdenv.lib.licenses.gpl2Plus; + }; +} |