Compare commits

...
Sign in to create a new pull request.

19 commits

Author SHA1 Message Date
Fedora Release Engineering
46467a2a89 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:07:43 +00:00
Python Maint
ba75e7ca69 Rebuilt for Python 3.15 2026-06-03 17:50:08 +02:00
Fedora Release Engineering
4425ffc6fd Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:33:34 +00:00
Python Maint
995e08a1af Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:01:04 +02:00
Python Maint
c42f7cbbfb Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:21:18 +02:00
Fedora Release Engineering
ff3dff9835 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:43:58 +00:00
4009196ca0 Handle unification of /usr/bin and /usr/sbin 2025-06-21 22:27:42 +02:00
Python Maint
372ee6c5d8 Rebuilt for Python 3.14 2025-06-02 20:53:42 +02:00
Fedora Release Engineering
34ee11d2bd Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 13:39:40 +00:00
Fedora Release Engineering
97f3b4ba07 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:10:28 +00:00
Python Maint
53a4b788c6 Rebuilt for Python 3.13 2024-06-07 09:12:11 +02:00
Software Management Team
95bdf1a095 Eliminate use of obsolete %patchN syntax (#2283636) 2024-05-30 12:46:49 +02:00
Fedora Release Engineering
8823c1127a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:01:24 +00:00
Fedora Release Engineering
2f9b6d32bd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:01:55 +00:00
fbf44b712c Switch from deprecated distutils to setuptools for Python 3.12 2023-06-15 23:41:48 +02:00
Python Maint
6247c02f04 Rebuilt for Python 3.12 2023-06-13 21:00:05 +02:00
Fedora Release Engineering
125c5e018b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 05:43:18 +00:00
Fedora Release Engineering
0cbb5ae2e4 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:18:20 +00:00
Python Maint
2207011c79 Rebuilt for Python 3.11 2022-06-13 15:42:50 +02:00
2 changed files with 84 additions and 11 deletions

View file

@ -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

View file

@ -1,9 +1,9 @@
Name: ufw
Version: 0.35
Release: 24%{?dist}
Release: 41%{?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
@ -60,17 +63,23 @@ 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
%patch -P6 -p1 -b .python36
%patch -P7 -p1 -b .permissions
%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
@ -121,6 +130,57 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ufw.service
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.35-40
- Rebuilt for Python 3.15
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.35-38
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.35-37
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 0.35-35
- Rebuilt for Python 3.14
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.35-32
- Rebuilt for Python 3.13
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Robert Scheck <robert@fedoraproject.org> - 0.35-29
- Switch from deprecated distutils to setuptools for Python 3.12
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.35-28
- Rebuilt for Python 3.12
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.35-25
- Rebuilt for Python 3.11
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild