aboutsummaryrefslogtreecommitdiff
path: root/net/tgt/patches
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2014-06-11 10:09:08 +0300
committerMaxim Storchak <m.storchak@gmail.com>2014-06-11 10:09:08 +0300
commitbf1f6fc33009c672946c1c4a29b2d1c3b6d16849 (patch)
treeca6a86ca3c11ec9fa7ff50fadeae3ff84ca1d00e /net/tgt/patches
parent52cd0103c09c777eb7d9136ef179925a4f14bd70 (diff)
tgt: update to 1.0.48 and add all stuff announced in the the previous commit
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'net/tgt/patches')
-rw-r--r--net/tgt/patches/010-fallocate.patch4
-rw-r--r--net/tgt/patches/020-usr_Makefile.patch16
-rw-r--r--net/tgt/patches/030-Makefile.patch6
3 files changed, 13 insertions, 13 deletions
diff --git a/net/tgt/patches/010-fallocate.patch b/net/tgt/patches/010-fallocate.patch
index cb8ddb40e..9d572d6b0 100644
--- a/net/tgt/patches/010-fallocate.patch
+++ b/net/tgt/patches/010-fallocate.patch
@@ -1,5 +1,5 @@
---- tgt-1.0.42/usr/util.h.orig 2013-12-26 16:18:54.000000000 +0200
-+++ tgt-1.0.42/usr/util.h 2013-12-26 16:19:10.000000000 +0200
+--- tgt-1.0.48.orig/usr/util.h 2014-06-04 15:03:53.000000000 +0300
++++ tgt-1.0.48/usr/util.h 2014-06-04 15:17:48.548123039 +0300
@@ -212,11 +212,6 @@
*/
static inline int unmap_file_region(int fd, off_t offset, off_t length)
diff --git a/net/tgt/patches/020-usr_Makefile.patch b/net/tgt/patches/020-usr_Makefile.patch
index 33b235bf8..2deb305c0 100644
--- a/net/tgt/patches/020-usr_Makefile.patch
+++ b/net/tgt/patches/020-usr_Makefile.patch
@@ -1,5 +1,5 @@
---- tgt-1.0.46.orig/usr/Makefile 2014-04-06 09:55:49.000000000 +0300
-+++ tgt-1.0.46/usr/Makefile 2014-04-06 09:57:04.000000000 +0300
+--- tgt-1.0.48.orig/usr/Makefile 2014-06-04 15:03:53.000000000 +0300
++++ tgt-1.0.48/usr/Makefile 2014-06-04 15:17:56.373670618 +0300
@@ -1,13 +1,13 @@
sbindir ?= $(PREFIX)/sbin
libdir ?= $(PREFIX)/lib/tgt
@@ -18,8 +18,8 @@
TGTD_OBJS += $(addprefix iscsi/, conn.o param.o session.o \
iscsid.o target.o chap.o sha1.o md5.o transport.o iscsi_tcp.o \
-@@ -21,8 +21,9 @@
- MODULES += bs_glfs.so
+@@ -25,8 +25,9 @@
+ CFLAGS += -DUSE_SYSTEMD
endif
-ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
@@ -30,16 +30,16 @@
TGTD_OBJS += bs_aio.o
LIBS += -laio
endif
-@@ -47,7 +48,7 @@
-
- LIBS += -lpthread -ldl
+@@ -55,7 +56,7 @@
+ LIBS += -lsystemd-daemon
+ endif
-PROGRAMS += tgtd tgtadm tgtimg
+PROGRAMS += tgtd tgtadm
TGTD_OBJS += tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o \
concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o \
ssc.o libssc.o bs_rdwr.o bs_ssc.o \
-@@ -74,14 +75,8 @@
+@@ -82,14 +83,8 @@
-include $(TGTADM_DEP)
diff --git a/net/tgt/patches/030-Makefile.patch b/net/tgt/patches/030-Makefile.patch
index 5ef9b8274..ab54f2291 100644
--- a/net/tgt/patches/030-Makefile.patch
+++ b/net/tgt/patches/030-Makefile.patch
@@ -1,6 +1,6 @@
---- tgt-1.0.46.orig/Makefile 2014-04-06 09:55:49.000000000 +0300
-+++ tgt-1.0.46/Makefile 2014-04-06 09:57:04.000000000 +0300
-@@ -63,7 +63,7 @@
+--- tgt-1.0.48.orig/Makefile 2014-06-04 15:03:53.000000000 +0300
++++ tgt-1.0.48/Makefile 2014-06-04 15:18:13.132963670 +0300
+@@ -64,7 +64,7 @@
$(MAKE) -C conf clean
.PHONY: install