diff --git a/utils/tang/Makefile b/utils/tang/Makefile index a93a6d84dd..4660fa7869 100644 --- a/utils/tang/Makefile +++ b/utils/tang/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tang PKG_VERSION:=14 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/latchset/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/ diff --git a/utils/tang/patches/100-tang-show-keys-use-wget.patch b/utils/tang/patches/100-tang-show-keys-use-wget.patch index 10f5c6db0d..1b3b682fb8 100644 --- a/utils/tang/patches/100-tang-show-keys-use-wget.patch +++ b/utils/tang/patches/100-tang-show-keys-use-wget.patch @@ -1,10 +1,13 @@ diff --git a/src/tang-show-keys b/src/tang-show-keys -index 0c33c3a..f017e84 100755 +index 0c33c3a..4b64bda 100755 --- a/src/tang-show-keys +++ b/src/tang-show-keys -@@ -27,7 +27,7 @@ fi +@@ -25,9 +25,9 @@ if [ $# -gt 1 ]; then + exit 1 + fi - port=${1-80} +-port=${1-80} ++port=${1-9090} -adv=$(curl -sSf "localhost:$port/adv") +adv=$(wget -qO- "http://127.0.0.1:$port/adv")