added open-iscsi

svn path=/nixpkgs/trunk/; revision=23541
This commit is contained in:
Rob Vermaas 2010-08-30 09:40:44 +00:00
parent f6e0a38226
commit 1776b95afe
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, kernel}:
stdenv.mkDerivation rec {
name = "open-iscsi-2.0-871";
src = fetchurl {
url = "http://www.open-iscsi.org/bits/${name}.tar.gz";
sha256 = "1jvx1agybaj4czhz41bz37as076spicsmlh5pjksvwl2mr38gsmw";
};
KSRC = "${kernel}/lib/modules/*/build";
DESTDIR="$(out)";
preConfigure = ''
sed -i 's|/usr/|/|' Makefile
'';
patches = [./kernel.patch];
meta = {
description = "Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720.";
license = "GPLv2+";
homepage = http://www.open-iscsi.org ;
};
}

View File

@ -0,0 +1,12 @@
*** open-iscsi-2.0-871/kernel/Makefile 2009-07-11 05:55:58.000000000 +0200
--- open-iscsi-2.0-871-new/kernel/Makefile 2010-08-30 11:37:56.000000000 +0200
***************
*** 101,106 ****
--- 101,107 ----
linux_2_6_29: $(unpatch_code)
linux_2_6_30: $(unpatch_code)
+ linux_2_6_32: $(unpatch_code)
do_unpatch_code:

View File

@ -4607,6 +4607,8 @@ let
nvidia_x11_legacy173 = callPackage ../os-specific/linux/nvidia-x11/legacy173.nix { };
openafsClient = callPackage ../servers/openafs-client { };
openiscsi = callPackage ../os-specific/linux/open-iscsi { };
wis_go7007 = callPackage ../os-specific/linux/wis-go7007 { };