coturn: init at 4.5.0.3 (#16284)
This commit is contained in:
committed by
Franz Pletz
parent
bc08bef615
commit
8e47786c0e
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, openssl, libevent }:
|
||||
|
||||
with { inherit (stdenv.lib) optional; };
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "coturn-${version}";
|
||||
version = "4.5.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coturn";
|
||||
repo = "coturn";
|
||||
rev = "${version}";
|
||||
sha256 = "1xr4dp3p16m4rq9mdsprs6s50rnif6hk38xx9siyykgfjnwr6i9g";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl libevent ];
|
||||
|
||||
patches = [ ./pure-configure.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://coturn.net/;
|
||||
license = with licenses; [ bsd3 ];
|
||||
description = "A TURN server";
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.ralith ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
diff --git a/configure b/configure
|
||||
index 28a0625..ea25488 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -624,12 +624,6 @@ fi
|
||||
|
||||
TMPDIR="."
|
||||
|
||||
-if [ -d /var/tmp ] ; then
|
||||
- TMPDIR="/var/tmp"
|
||||
-elif [ -d /tmp ] ; then
|
||||
- TMPDIR=/tmp
|
||||
-fi
|
||||
-
|
||||
${ECHO_CMD} Use TMP dir ${TMPDIR}
|
||||
|
||||
#########################
|
||||
Reference in New Issue
Block a user