tgt: update to 1.0.80 13886/head
authorMaxim Storchak <m.storchak@gmail.com>
Mon, 9 Nov 2020 10:49:59 +0000 (12:49 +0200)
committerMaxim Storchak <m.storchak@gmail.com>
Mon, 9 Nov 2020 10:49:59 +0000 (12:49 +0200)
- add runtime test
- drop the patch that has gone upstream

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
net/tgt/Makefile
net/tgt/patches/110-bzero.patch [deleted file]
net/tgt/test.sh [new file with mode: 0644]

index 4f830718879d110e8947c5dc265c044d8188eb49..6abaae119d4a8bcfaadc39fdb5c4311396fbb5de 100644 (file)
@@ -4,12 +4,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tgt
-PKG_VERSION:=1.0.79
-PKG_RELEASE:=3
+PKG_VERSION:=1.0.80
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/fujita/tgt/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=6736d799a202ff665549359859441c6d2b5e3425bffef9ee60ab5a101342a40d
+PKG_HASH:=e2255482f1a2797c115a6d545c37428b10a4ba6276a2af787da5378fa4e34e75
 
 PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
 PKG_LICENSE:=GPL-2.0-only
diff --git a/net/tgt/patches/110-bzero.patch b/net/tgt/patches/110-bzero.patch
deleted file mode 100644 (file)
index 2ff11b1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/usr/iscsi/target.c
-+++ b/usr/iscsi/target.c
-@@ -224,7 +224,7 @@ get_redirect_address(char *callback, char *buffer, int buflen,
- {
-       char *p, *addr, *port;
--      bzero(buffer, buflen);
-+      memset(buffer, 0, buflen);
-       if (call_program(callback, NULL, NULL, buffer, buflen, 0))
-               return -1;
diff --git a/net/tgt/test.sh b/net/tgt/test.sh
new file mode 100644 (file)
index 0000000..7d0162e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+tgtd -V | grep "$2"