commit 7fa1d929db5b91de6ce7b8d12ddf6aa26ac6da96
parent 522c7d93348908cbc690348031349724549093b6
Author: Robin Bron <robin.bron@yourhosting.nl>
Date: Wed, 4 Mar 2026 17:06:50 +0100
Fix gh-action on darwin; fix entrypoint start
Diffstat:
4 files changed, 6 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
@@ -85,7 +85,7 @@ jobs:
apt-get install -yq build-essential
run: |
make -j udphole VERSION=${{ needs.version.outputs.version }}
- strip --strip-all udphole
+ strip udphole
mv udphole ${{ matrix.bin }}
- if: '!matrix.cross'
@@ -93,7 +93,7 @@ jobs:
shell: bash
run: |
make -j udphole VERSION=${{ needs.version.outputs.version }}
- strip --strip-all udphole
+ strip udphole
mv udphole ${{ matrix.bin }}
- name: Upload to release
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
@@ -63,7 +63,7 @@ jobs:
name: Build native
run: |
make -j udphole VERSION=${{ needs.version.outputs.version }}
- strip --strip-all udphole
+ strip udphole
mv udphole ${{ matrix.bin }}
- if: matrix.cross
@@ -78,7 +78,7 @@ jobs:
apt-get install -yq build-essential
run: |
make -j udphole VERSION=${{ needs.version.outputs.version }}
- strip --strip-all udphole
+ strip udphole
mv udphole ${{ matrix.bin }}
- name: Upload artifact
diff --git a/Makefile b/Makefile
@@ -7,7 +7,7 @@ SRC:=
# UNAME_SYSTEM=$(call lc,$(shell uname -s))
BIN?=udphole
-VERSION?=1.3.4
+VERSION?=1.3.5
CC:=gcc
CPP:=g++
diff --git a/entrypoint.sh b/entrypoint.sh
@@ -3,18 +3,7 @@ set -e
CONFIG_PATH="/etc/udphole.conf"
-ARCH="$(uname -m)"
-case "$ARCH" in
- x86_64) ARCH=amd64 ;;
- aarch64) ARCH=arm64 ;;
- riscv64) ARCH=riscv64 ;;
-esac
-
-UDPHBIN="/usr/bin/udphole-linux-${ARCH}"
-
-if [ ! -f "$UDPHBIN" ]; then
- UDPHBIN="/usr/bin/udphole-linux-amd64"
-fi
+UDPHBIN="/usr/bin/udphole"
if [ -f "$CONFIG_PATH" ]; then
echo "Using mounted config: $CONFIG_PATH"