diff options
| author | Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> | 2023-08-30 11:00:37 +0200 |
|---|---|---|
| committer | Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> | 2023-08-30 11:00:57 +0200 |
| commit | 46c42d0a76bea063bb7e1a7272ec7ca1add7c4f5 (patch) | |
| tree | e83f68e4117c6071ca813fea84904acb95bb9d8e /utils | |
| parent | 148b1b2d5edaf75cc4c1e104bfb02dc35bcd7de4 (diff) | |
tang: tang-show-keys defaults on the default 9090 port
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/tang/Makefile | 2 | ||||
| -rw-r--r-- | utils/tang/patches/100-tang-show-keys-use-wget.patch | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/utils/tang/Makefile b/utils/tang/Makefile index a93a6d84d..4660fa786 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 10f5c6db0..1b3b682fb 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") |
