Accepting request 24478 from network

Copy from network/open-iscsi based on submit request 24478 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=17
This commit is contained in:
OBS User autobuild 2009-11-16 13:31:24 +00:00 committed by Git OBS Bridge
parent c3ee332065
commit 7e7e11af29
3 changed files with 19 additions and 18 deletions

View File

@ -47,11 +47,10 @@ Date: Thu Jul 31 11:19:58 2008 +0200
2 files changed, 883 insertions(+), 0 deletions(-) 2 files changed, 883 insertions(+), 0 deletions(-)
create mode 100644 kernel/2.6.16-suse.patch create mode 100644 kernel/2.6.16-suse.patch
diff --git a/kernel/2.6.16-suse.patch b/kernel/2.6.16-suse.patch Index: open-iscsi-2.0-870-rc1/kernel/2.6.16-suse.patch
new file mode 100644 ===================================================================
index 0000000..f24babd
--- /dev/null --- /dev/null
+++ b/kernel/2.6.16-suse.patch +++ open-iscsi-2.0-870-rc1/kernel/2.6.16-suse.patch
@@ -0,0 +1,864 @@ @@ -0,0 +1,864 @@
+diff --git a/iscsi_tcp.c b/iscsi_tcp.c +diff --git a/iscsi_tcp.c b/iscsi_tcp.c
+index 908b541..dfd8e31 100644 +index 908b541..dfd8e31 100644
@ -917,11 +916,11 @@ index 0000000..f24babd
+ +
+ unsigned int target_id; + unsigned int target_id;
+ +
diff --git a/kernel/Makefile b/kernel/Makefile Index: open-iscsi-2.0-870-rc1/kernel/Makefile
index 3dae671..139fd7b 100644 ===================================================================
--- a/kernel/Makefile --- open-iscsi-2.0-870-rc1.orig/kernel/Makefile
+++ b/kernel/Makefile +++ open-iscsi-2.0-870-rc1/kernel/Makefile
@@ -49,6 +49,7 @@ all: kernel_check @@ -54,6 +54,7 @@ has_kernel_src: kernel_check
#some constants #some constants
14to19_patch=2.6.14-19_compat.patch 14to19_patch=2.6.14-19_compat.patch
@ -929,9 +928,9 @@ index 3dae671..139fd7b 100644
20to21_patch=2.6.20-21_compat.patch 20to21_patch=2.6.20-21_compat.patch
24_patch=2.6.24_compat.patch 24_patch=2.6.24_compat.patch
all_patches=14to21_patch 20to21_patch 24_patch all_patches=14to21_patch 20to21_patch 24_patch
@@ -62,6 +63,13 @@ unpatch_code=$(shell test -e $(cur_patched) && echo do_unpatch_code ) @@ -69,6 +70,13 @@ KSUBLEVEL = $(shell cat $(KSRC)/Makefile
KSUBLEVEL = $(shell cat $(KSRC)/Makefile | awk -F= '/^SUBLEVEL =/ {print $$2}' | \
sed 's/^[ \t]*//;s/[ \t]*$$//') KSUBLEVEL?=$(shell echo $(KERNELRELEASE) | sed -n 's/.\..\.\([[:digit:]]*\)\..*/\1/p')
+ifeq (16, ${KSUBLEVEL}) +ifeq (16, ${KSUBLEVEL})
+KERNEL_SUSE = $(shell cat $(KBUILD_OUTPUT)/.config | sed -n '/^CONFIG_SUSE_KERNEL=y/p') +KERNEL_SUSE = $(shell cat $(KBUILD_OUTPUT)/.config | sed -n '/^CONFIG_SUSE_KERNEL=y/p')
@ -943,7 +942,7 @@ index 3dae671..139fd7b 100644
KERNEL_TARGET=linux_2_6_$(KSUBLEVEL) KERNEL_TARGET=linux_2_6_$(KSUBLEVEL)
kernel_check: $(KERNEL_TARGET) kernel_check: $(KERNEL_TARGET)
@@ -71,6 +79,8 @@ linux_2_6_15: has_14to19_patch @@ -78,6 +86,8 @@ linux_2_6_15: has_14to19_patch
linux_2_6_16: has_14to19_patch linux_2_6_16: has_14to19_patch
@ -952,7 +951,7 @@ index 3dae671..139fd7b 100644
linux_2_6_17: has_14to19_patch linux_2_6_17: has_14to19_patch
linux_2_6_18: has_14to19_patch linux_2_6_18: has_14to19_patch
@@ -108,6 +118,15 @@ has_14to19_patch: $(14to19_patch) @@ -115,6 +125,15 @@ has_14to19_patch: $(14to19_patch)
cp $(14to19_patch) $@ cp $(14to19_patch) $@
ln -s $@ $(cur_patched) ln -s $@ $(cur_patched)
@ -968,6 +967,3 @@ index 3dae671..139fd7b 100644
has_20to21_patch: $(20to21_patch) has_20to21_patch: $(20to21_patch)
echo "Patching source code for linux-2.6.20-21 ..." echo "Patching source code for linux-2.6.20-21 ..."
if [ -e $(cur_patched) ]; then \ if [ -e $(cur_patched) ]; then \
--
1.5.2.4

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 3 19:09:35 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 21 14:36:45 CEST 2009 - crrodriguez@suse.de Sun Jun 21 14:36:45 CEST 2009 - crrodriguez@suse.de

View File

@ -26,7 +26,7 @@ Group: Productivity/Networking/Other
PreReq: %fillup_prereq %insserv_prereq PreReq: %fillup_prereq %insserv_prereq
AutoReqProv: on AutoReqProv: on
Version: 2.0.870 Version: 2.0.870
Release: 27 Release: 28
Provides: linux-iscsi Provides: linux-iscsi
Obsoletes: linux-iscsi Obsoletes: linux-iscsi
%define iscsi_release 865 %define iscsi_release 865