From a0af732541dea7e203ec5c6ed0e6dcadc3176801 Mon Sep 17 00:00:00 2001 From: Maxim Storchak Date: Mon, 9 Nov 2020 12:49:59 +0200 Subject: [PATCH] tgt: update to 1.0.80 - add runtime test - drop the patch that has gone upstream Signed-off-by: Maxim Storchak --- net/tgt/Makefile | 6 +++--- net/tgt/patches/110-bzero.patch | 11 ----------- net/tgt/test.sh | 3 +++ 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 net/tgt/patches/110-bzero.patch create mode 100644 net/tgt/test.sh diff --git a/net/tgt/Makefile b/net/tgt/Makefile index 4f83071887..6abaae119d 100644 --- a/net/tgt/Makefile +++ b/net/tgt/Makefile @@ -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 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 index 2ff11b14f6..0000000000 --- a/net/tgt/patches/110-bzero.patch +++ /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 index 0000000000..7d0162e3b4 --- /dev/null +++ b/net/tgt/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +tgtd -V | grep "$2"