Add iodine-0.4.1

svn path=/nixpkgs/trunk/; revision=11824
This commit is contained in:
Nicolas Pierron 2008-05-14 08:01:03 +00:00
parent a0e09761e5
commit b96a83dc06
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1 @@
import ./iodine-0.4.1.nix

View File

@ -0,0 +1,21 @@
args: with args;
stdenv.mkDerivation rec {
name = "iodine-0.4.1";
src = fetchurl {
url = "http://code.kryo.se/iodine/${name}.tar.gz";
sha256 = "1d0v6wbrciwd0xi9khrna956v5wy7wy1inllzrn187as358kiiv5";
};
buildInputs = [zlib];
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/sbin/ifconfig,; s,/sbin/route,${nettools}/sbin/route," src/tun.c'';
installFlags = "prefix=\${out}";
meta = {
homepage = http://code.kryo.se/iodine/;
description = "iodine lets you tunnel IPv4 data through a DNS server.";
license = "ISC";
};
}

View File

@ -738,6 +738,10 @@ let pkgs = rec {
inherit fetchurl stdenv;
};
iodine = import ../tools/networking/iodine {
inherit stdenv fetchurl zlib nettools;
};
jdiskreport = import ../tools/misc/jdiskreport {
inherit fetchurl stdenv unzip jdk;
};