From 2207011c79e3866e1e0633f2fb9c4ec69a7cf2a1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:42:50 +0200 Subject: [PATCH 01/19] Rebuilt for Python 3.11 --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 4315c92..a05662d 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 24%{?dist} +Release: 25%{?dist} Summary: Uncomplicated Firewall License: GPLv3 @@ -121,6 +121,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Mon Jun 13 2022 Python Maint - 0.35-25 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 0.35-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 0cbb5ae2e4156c54e9bae4b3e643d253454812dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:18:20 +0000 Subject: [PATCH 02/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index a05662d..46cf364 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 25%{?dist} +Release: 26%{?dist} Summary: Uncomplicated Firewall License: GPLv3 @@ -121,6 +121,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.35-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 0.35-25 - Rebuilt for Python 3.11 From 125c5e018b72f379ad3ae0f45448806cbf1652e1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 05:43:18 +0000 Subject: [PATCH 03/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 46cf364..9b5b419 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Uncomplicated Firewall License: GPLv3 @@ -121,6 +121,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.35-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.35-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 6247c02f044d6044e56dcfaa31faeaed477e05ef Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 21:00:05 +0200 Subject: [PATCH 04/19] Rebuilt for Python 3.12 --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 9b5b419..9d9452b 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 27%{?dist} +Release: 28%{?dist} Summary: Uncomplicated Firewall License: GPLv3 @@ -121,6 +121,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Tue Jun 13 2023 Python Maint - 0.35-28 +- Rebuilt for Python 3.12 + * Sat Jan 21 2023 Fedora Release Engineering - 0.35-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From fbf44b712c71d7971c6df229781555657baa10ca Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Thu, 15 Jun 2023 23:41:48 +0200 Subject: [PATCH 05/19] Switch from deprecated distutils to setuptools for Python 3.12 --- ufw-0.35-distutils-setuptools.patch | 13 +++++++++++++ ufw.spec | 11 +++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 ufw-0.35-distutils-setuptools.patch diff --git a/ufw-0.35-distutils-setuptools.patch b/ufw-0.35-distutils-setuptools.patch new file mode 100644 index 0000000..dd816ed --- /dev/null +++ b/ufw-0.35-distutils-setuptools.patch @@ -0,0 +1,13 @@ +--- ufw-0.35/setup.py 2016-02-18 06:26:44.000000000 +0100 ++++ ufw-0.35/setup.py.distutils-setuptools 2023-06-15 23:17:13.651168188 +0200 +@@ -26,8 +26,8 @@ + # + + from __future__ import print_function +-from distutils.command.install import install as _install +-from distutils.core import setup ++from setuptools.command.install import install as _install ++from setuptools import setup + import errno + import os + import re diff --git a/ufw.spec b/ufw.spec index 9d9452b..d78812d 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,9 +1,9 @@ Name: ufw Version: 0.35 -Release: 28%{?dist} +Release: 29%{?dist} Summary: Uncomplicated Firewall -License: GPLv3 +License: GPL-3.0-only URL: https://launchpad.net/%{name} Source0: https://launchpad.net/%{name}/%{version}/%{version}/+download/ufw-%{version}.tar.gz # systemd service file @@ -36,10 +36,13 @@ Patch6: ufw-0.35-python36.patch Patch7: ufw-0.35-permissions.patch # Don't prepend /usr/bin/env to sys.executable, which is always an absolute path Patch8: ufw-0.35-no-pointless-env.patch +# Switch to Python setuptools because Python 3.12 removed deprecated distutils +Patch9: ufw-0.35-distutils-setuptools.patch BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: iptables BuildRequires: gettext BuildRequires: systemd @@ -71,6 +74,7 @@ rm -f profiles/*.additional-profiles %patch6 -p1 -b .python36 %patch7 -p1 -b .permissions %patch8 -p1 -b .no-pointless-env +%patch9 -p1 -b .distutils-setuptools %build %py3_build @@ -121,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Thu Jun 15 2023 Robert Scheck - 0.35-29 +- Switch from deprecated distutils to setuptools for Python 3.12 + * Tue Jun 13 2023 Python Maint - 0.35-28 - Rebuilt for Python 3.12 From 2f9b6d32bd4e20e474578b84e7d756b569fcc584 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:01:55 +0000 Subject: [PATCH 06/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index d78812d..a534c4f 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.35-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jun 15 2023 Robert Scheck - 0.35-29 - Switch from deprecated distutils to setuptools for Python 3.12 From 8823c1127a1ab4533814a05cc298123ea37a634b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:01:24 +0000 Subject: [PATCH 07/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index a534c4f..d175c46 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 30%{?dist} +Release: 31%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.35-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.35-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 95bdf1a09513fad95698afaf4849f3a93389ae06 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 08/19] Eliminate use of obsolete %patchN syntax (#2283636) --- ufw.spec | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ufw.spec b/ufw.spec index d175c46..187591c 100644 --- a/ufw.spec +++ b/ufw.spec @@ -63,18 +63,18 @@ manipulating the firewall. %prep %setup -q -%patch0 -p1 -b .trans-dir -%patch1 -p1 -b .libexec-dir -%patch2 -p1 -b .default-enabled -%patch3 -p1 -b .default-allow-ssh -%patch4 -p1 -b .multicast +%patch -P0 -p1 -b .trans-dir +%patch -P1 -p1 -b .libexec-dir +%patch -P2 -p1 -b .default-enabled +%patch -P3 -p1 -b .default-allow-ssh +%patch -P4 -p1 -b .multicast rm -f profiles/*.multicast -%patch5 -p1 -b .additional-profiles +%patch -P5 -p1 -b .additional-profiles rm -f profiles/*.additional-profiles -%patch6 -p1 -b .python36 -%patch7 -p1 -b .permissions -%patch8 -p1 -b .no-pointless-env -%patch9 -p1 -b .distutils-setuptools +%patch -P6 -p1 -b .python36 +%patch -P7 -p1 -b .permissions +%patch -P8 -p1 -b .no-pointless-env +%patch -P9 -p1 -b .distutils-setuptools %build %py3_build From 53a4b788c6b9940125b5288becad53073c8ee83a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:12:11 +0200 Subject: [PATCH 09/19] Rebuilt for Python 3.13 --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 187591c..f5680c2 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 31%{?dist} +Release: 32%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Fri Jun 07 2024 Python Maint - 0.35-32 +- Rebuilt for Python 3.13 + * Sat Jan 27 2024 Fedora Release Engineering - 0.35-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 97f3b4ba071872113688cb807ce7fd046f311b4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:10:28 +0000 Subject: [PATCH 10/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index f5680c2..5478257 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 32%{?dist} +Release: 33%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.35-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 0.35-32 - Rebuilt for Python 3.13 From 34ee11d2bd97e456266fb01dd53d2b2349e0000f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:39:40 +0000 Subject: [PATCH 11/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 5478257..3dc5c7f 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 33%{?dist} +Release: 34%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.35-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 0.35-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 372ee6c5d81f0a33f46eb6c2a47418aa2930bdb4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:53:42 +0200 Subject: [PATCH 12/19] Rebuilt for Python 3.14 --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 3dc5c7f..f3e0074 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 34%{?dist} +Release: 35%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -125,6 +125,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Mon Jun 02 2025 Python Maint - 0.35-35 +- Rebuilt for Python 3.14 + * Sun Jan 19 2025 Fedora Release Engineering - 0.35-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4009196ca0b78448ac80164aa59b60061fdb0275 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sat, 21 Jun 2025 22:27:42 +0200 Subject: [PATCH 13/19] Handle unification of /usr/bin and /usr/sbin --- ufw.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ufw.spec b/ufw.spec index f3e0074..d1c6a6e 100644 --- a/ufw.spec +++ b/ufw.spec @@ -76,6 +76,11 @@ rm -f profiles/*.additional-profiles %patch -P8 -p1 -b .no-pointless-env %patch -P9 -p1 -b .distutils-setuptools +%if 0%{?fedora} >= 42 || 0%{?rhel} >= 11 +# Unify /usr/bin and /usr/sbin +sed -e "s/'sbin'/'bin'/" -i setup.py +%endif + %build %py3_build From ff3dff9835a6a9a0d01d8fcd96a56987d59b1915 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:43:58 +0000 Subject: [PATCH 14/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index d1c6a6e..d650995 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 35%{?dist} +Release: 36%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.35-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 0.35-35 - Rebuilt for Python 3.14 From c42f7cbbfbfbeb715c927a63593d81bf4b489acf Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:21:18 +0200 Subject: [PATCH 15/19] Rebuilt for Python 3.14.0rc2 bytecode --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index d650995..0873824 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 36%{?dist} +Release: 37%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Fri Aug 15 2025 Python Maint - 0.35-37 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 0.35-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 995e08a1af8a02ca71eda2b8099e709bef47fefb Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 15:01:04 +0200 Subject: [PATCH 16/19] Rebuilt for Python 3.14.0rc3 bytecode --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 0873824..e3cdda7 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 37%{?dist} +Release: 38%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Fri Sep 19 2025 Python Maint - 0.35-38 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 0.35-37 - Rebuilt for Python 3.14.0rc2 bytecode From 4425ffc6fdae7c037e03b69b279789c31b945d34 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:33:34 +0000 Subject: [PATCH 17/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index e3cdda7..2f0b1fa 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 38%{?dist} +Release: 39%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.35-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Sep 19 2025 Python Maint - 0.35-38 - Rebuilt for Python 3.14.0rc3 bytecode From ba75e7ca69ce8a6d9f666e2628e6cb1bcd7513db Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 3 Jun 2026 17:50:08 +0200 Subject: [PATCH 18/19] Rebuilt for Python 3.15 --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 2f0b1fa..97dce35 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 39%{?dist} +Release: 40%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Wed Jun 03 2026 Python Maint - 0.35-40 +- Rebuilt for Python 3.15 + * Sat Jan 17 2026 Fedora Release Engineering - 0.35-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 46467a2a89335a255dc9b75a767a4795ac474828 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:07:43 +0000 Subject: [PATCH 19/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- ufw.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ufw.spec b/ufw.spec index 97dce35..fb021cd 100644 --- a/ufw.spec +++ b/ufw.spec @@ -1,6 +1,6 @@ Name: ufw Version: 0.35 -Release: 40%{?dist} +Release: 41%{?dist} Summary: Uncomplicated Firewall License: GPL-3.0-only @@ -130,6 +130,9 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.35-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Wed Jun 03 2026 Python Maint - 0.35-40 - Rebuilt for Python 3.15