aboutsummaryrefslogtreecommitdiff
path: root/network/ufw/ufw.SlackBuild
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2020-09-16 07:38:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-16 07:38:10 +0700
commitbf06b402834ef1e5442a2ffbc2702660ac7b3f91 (patch)
tree1819b3039cacd84982e499a69e74f8f30a721250 /network/ufw/ufw.SlackBuild
parent6ce129f610446077be70f76104570de43b8e8e05 (diff)
network/ufw: Updated for version 0.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ufw/ufw.SlackBuild')
-rw-r--r--network/ufw/ufw.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/network/ufw/ufw.SlackBuild b/network/ufw/ufw.SlackBuild
index 0ce87b08aadc6..5fd512f1d9362 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 \