diff options
Diffstat (limited to 'network/ufw/ufw.SlackBuild')
-rw-r--r-- | network/ufw/ufw.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/network/ufw/ufw.SlackBuild b/network/ufw/ufw.SlackBuild index 0ce87b08aa..5fd512f1d9 100644 --- a/network/ufw/ufw.SlackBuild +++ b/network/ufw/ufw.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ufw -VERSION=${VERSION:-0.35} +VERSION=${VERSION:-0.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,6 +75,11 @@ find -L . \ patch -p1 --verbose < $CWD/ufw.conf.patch patch -p1 --verbose < $CWD/ufw-0.35-fix-iptables-path.patch +# Python3 support +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |