tcpcrypt: patch tcpcryptd to run under uid 93 instead of 666

This commit is contained in:
Peter Simons
2013-09-11 17:24:32 +02:00
parent e761405c50
commit c749c24076
2 changed files with 32 additions and 3 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
{ fetchurl, stdenv
{ fetchurl, stdenv, autoconf, automake, libtool
, openssl, libcap, libnfnetlink, libnetfilter_queue
}:
@@ -14,9 +14,13 @@ stdenv.mkDerivation rec {
name = "${name}.tar.gz";
};
buildInputs = [ openssl libcap libnfnetlink libnetfilter_queue ];
dontStrip = true;
preConfigure = "cd user";
buildInputs = [ autoconf automake libtool openssl libcap libnfnetlink libnetfilter_queue ];
patches = [ ./0001-Run-tcpcryptd-under-uid-93-instead-of-666.patch ];
preConfigure = "cd user; autoreconf -i";
meta = {
homepage = "http://tcpcrypt.org/";