2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, zlib, nettools }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-09-21 22:05:38 +02:00
|
|
|
name = "iodine-0.6.0-rc1";
|
2010-07-28 13:55:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://code.kryo.se/iodine/${name}.tar.gz";
|
2011-09-21 22:05:38 +02:00
|
|
|
sha256 = "dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60";
|
2010-07-28 13:55:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2013-08-05 01:00:34 +02:00
|
|
|
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/bin/ifconfig,; s,/sbin/route,${nettools}/bin/route," src/tun.c'';
|
2010-07-28 13:55:54 +02:00
|
|
|
|
|
|
|
installFlags = "prefix=\${out}";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.kryo.se/iodine/;
|
|
|
|
description = "Tool to tunnel IPv4 data through a DNS server";
|
|
|
|
license = "ISC";
|
|
|
|
};
|
|
|
|
}
|