Compare commits
24 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46467a2a89 | ||
|
|
ba75e7ca69 | ||
|
|
4425ffc6fd | ||
|
|
995e08a1af | ||
|
|
c42f7cbbfb | ||
|
|
ff3dff9835 | ||
| 4009196ca0 | |||
|
|
372ee6c5d8 | ||
|
|
34ee11d2bd | ||
|
|
97f3b4ba07 | ||
|
|
53a4b788c6 | ||
|
|
95bdf1a095 | ||
|
|
8823c1127a | ||
|
|
2f9b6d32bd | ||
| fbf44b712c | |||
|
|
6247c02f04 | ||
|
|
125c5e018b | ||
|
|
0cbb5ae2e4 | ||
|
|
2207011c79 | ||
|
|
7cd316787f | ||
|
|
1464610978 | ||
|
|
a5cc3efd90 | ||
| 9391d41b66 | |||
| b69bcf4056 |
2 changed files with 98 additions and 11 deletions
13
ufw-0.35-distutils-setuptools.patch
Normal file
13
ufw-0.35-distutils-setuptools.patch
Normal 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
|
||||
96
ufw.spec
96
ufw.spec
|
|
@ -1,9 +1,9 @@
|
|||
Name: ufw
|
||||
Version: 0.35
|
||||
Release: 20%{?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,13 +36,17 @@ 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
|
||||
BuildRequires: make
|
||||
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
|
|
@ -59,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
|
||||
|
|
@ -120,6 +130,70 @@ 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
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.35-22
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.35-21
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue