mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Add iodine-0.4.1
svn path=/nixpkgs/trunk/; revision=11824
This commit is contained in:
parent
a0e09761e5
commit
b96a83dc06
1
pkgs/tools/networking/iodine/default.nix
Normal file
1
pkgs/tools/networking/iodine/default.nix
Normal file
@ -0,0 +1 @@
|
||||
import ./iodine-0.4.1.nix
|
21
pkgs/tools/networking/iodine/iodine-0.4.1.nix
Normal file
21
pkgs/tools/networking/iodine/iodine-0.4.1.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user