shorewall: fix build on macos
authorSergey V. Lobanov <redacted>
Wed, 2 Feb 2022 22:41:15 +0000 (01:41 +0300)
committerRosen Penev <redacted>
Thu, 24 Feb 2022 01:13:04 +0000 (17:13 -0800)
commitd865f898b6335fc5e741d6d7f0503f30f51e770d
treeb9c69f084de536bee76f5eec71f98a681f4401d9
parent166f82f3c2537d829fd6e8ee3deae221f6be0678
shorewall: fix build on macos

shorewall macos build fails due to:
1. MacOS bash is too old (3.x), but shorewall requires bash>4
This patch uses OpenWrt tools/bash built for macos (bash 5.x)

2. install.sh detects Darwin using uname and changes install logic,
but it fails in case of cross-platform build
This patch uses fakeuname/host tool to avoid Darwin detection

Signed-off-by: Sergey V. Lobanov <redacted>
net/shorewall/Makefile
git clone https://git.99rst.org/PROJECT