mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user