tang: tang-show-keys defaults on the default 9090 port
authorNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Wed, 30 Aug 2023 09:00:37 +0000 (11:00 +0200)
committerNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Wed, 30 Aug 2023 09:00:57 +0000 (11:00 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
utils/tang/Makefile
utils/tang/patches/100-tang-show-keys-use-wget.patch

index a93a6d84dd86b8ca3833004bae8b5500ae4152ec..4660fa78696a7ac80b106f286c9f2a4ace742b4c 100644 (file)
@@ -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)/
index 10f5c6db0d6a3eb419facb3c021aad12952fe788..1b3b682fb87da4fd063f3a9a8d6d7629b65a238e 100644 (file)
@@ -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")