Skip to content

Commit

Permalink
ufw: Install for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Apr 18, 2024
1 parent 53fe0b6 commit 80e52dc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From cc07a44f717bb7bdd71c07a7ad84caf6d8ed5c8c Mon Sep 17 00:00:00 2001
From: Garrett Brown <[email protected]>
Date: Tue, 2 Apr 2024 14:12:46 -0700
Subject: [PATCH] Change ufw to use Python 3

---
src/ufw | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ufw b/src/ufw
index c9e80e9..6ae28fa 100755
--- a/src/ufw
+++ b/src/ufw
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
#
# ufw: front-end for Linux firewalling (cli)
#
--
2.34.1

3 changes: 2 additions & 1 deletion meta-networking/recipes-connectivity/ufw/ufw_0.33.bb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ SRC_URI = " \
file://0003-fix-typeerror-on-error.patch \
file://0004-lp1039729.patch \
file://0005-lp1191197.patch \
file://0006-Change-ufw-to-use-Python-3.patch \
"

UPSTREAM_CHECK_URI = "https://launchpad.net/ufw"

SRC_URI[md5sum] = "3747b453d76709e5a99da209fc0bb5f5"
SRC_URI[sha256sum] = "5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8"

inherit setuptools distro_features_check
inherit setuptools3 distro_features_check

RDEPENDS_${PN} = " \
iptables \
Expand Down

0 comments on commit 80e52dc

Please sign in to comment.