shorewall6: fix build on macos
authorSergey V. Lobanov <sergey@lobanov.in>
Fri, 4 Feb 2022 17:34:40 +0000 (20:34 +0300)
committerRosen Penev <rosenp@gmail.com>
Thu, 24 Feb 2022 01:12:40 +0000 (17:12 -0800)
commitdca9828479c8fdd4d011e5e47a322aaea862e23a
tree42fde33a4f0dfb7e4959a112cab221e7489f42ee
parent5da4196dc5ae94fc2bd597c6b52f2348553a1ee0
shorewall6: fix build on macos

shorewall6 macos build fails due to:
1. MacOS bash is too old (3.x), but shorewall6 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 <sergey@lobanov.in>
net/shorewall6/Makefile