aboutsummaryrefslogtreecommitdiff
path: root/network/ufw
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
parent6ce129f610446077be70f76104570de43b8e8e05 (diff)
network/ufw: Updated for version 0.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ufw')
-rw-r--r--network/ufw/ufw.SlackBuild7
-rw-r--r--network/ufw/ufw.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/network/ufw/ufw.SlackBuild b/network/ufw/ufw.SlackBuild
index 0ce87b08aadc..5fd512f1d936 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 \
diff --git a/network/ufw/ufw.info b/network/ufw/ufw.info
index a65a7c07a831..1d396dca15f3 100644
--- a/network/ufw/ufw.info
+++ b/network/ufw/ufw.info
@@ -1,8 +1,8 @@
PRGNAM="ufw"
-VERSION="0.35"
+VERSION="0.36"
HOMEPAGE="https://launchpad.net/ufw"
-DOWNLOAD="https://launchpad.net/ufw/0.35/0.35/+download/ufw-0.35.tar.gz"
-MD5SUM="b7cd2dd4e4e98e46df125fee06edff92"
+DOWNLOAD="https://launchpad.net/ufw/0.36/0.36/+download/ufw-0.36.tar.gz"
+MD5SUM="6d8ab1506da21ae003f4628f93d05781"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""