shorewall-core: fix build on macos
authorSergey V. Lobanov <redacted>
Wed, 2 Feb 2022 00:32:38 +0000 (03:32 +0300)
committerRosen Penev <redacted>
Thu, 24 Feb 2022 01:13:16 +0000 (17:13 -0800)
commit6f1e8ab67c6772132ac6e489cb353ce8719a6b4c
tree6a986d5febb4078286f9c22ee7cd518b77afc8c9
parentd865f898b6335fc5e741d6d7f0503f30f51e770d
shorewall-core: fix build on macos

shorewall-core macos build fails due to:
1. MacOS bash is too old (3.x), but shorewall-core 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-core/Makefile
git clone https://git.99rst.org/PROJECT