CentOS 8:哪个存储库具有最新版本的 FirewallD?

CentOS 8:哪个存储库具有最新版本的 FirewallD?

我正在运行带有以下存储库的 CentOS 8.4 服务器:

~]$ dnf repolist
repo id          repo name
appstream        CentOS Linux 8 - AppStream
baseos           CentOS Linux 8 - BaseOS
epel             Extra Packages for Enterprise Linux 8 - x86_64
epel-modular     Extra Packages for Enterprise Linux Modular 8 - x86_64
extras           CentOS Linux 8 - Extras
remi-modular     Remi's Modular repository for Enterprise Linux 8 - x86_64
remi-safe        Safe Remi's RPM repository for Enterprise Linux 8 - x86_64

当前fireWalld版本是 0.8.2,它相当旧,并且导致fail2ban.我想更新一下。当我运行时,sudo dnf update firewalld它找不到任何较新的版本,只是返回通常的“无事可做”消息。我需要哪个回购协议?谢谢。

答案1

firewalld:没有找到 CentOS 8 更新,但构建起来相当容易埃尔8来自后来的“source.src.rpm”的软件包:firewalld-0.9.4

使用旧的/简化的“rpmmacros”(CentOS 8版本与“2021年firewalld.spec”不匹配) https://www.linuxquestions.org/questions/linux-software-2/need-rpm-package-for-php-version-5-2-7-and-up-on-redhat-5-1-a- 766486/#13

从 Fedora 34 更新开始 $ wget https://dl.fedoraproject.org/pub/fedora/linux/updates/34/Everything/source/tree/Packages/f/firewalld-0.9.4-1.fc34.src.rpm

$ rpm -Uvh firewalld-0.9.4-1.fc34.src.rpm
# dnf builddep /home/name/rpms/SPECS/firewalld.spec

$ cd /home/name/rpms/SPECS/    
$ rpmbuild -bb firewalld.spec
.
Wrote: /home/knudfl/rpms/RPMS/noarch/firewalld-0.9.4-1.el8.noarch.rpm
Wrote: /home/knudfl/rpms/RPMS/noarch/python3-firewall-0.9.4-1.el8.noarch.rpm
Wrote: /home/knudfl/rpms/RPMS/noarch/firewalld-filesystem-0.9.4-1.el8.noarch.rpm
Wrote: /home/knudfl/rpms/RPMS/noarch/firewall-applet-0.9.4-1.el8.noarch.rpm
Wrote: /home/knudfl/rpms/RPMS/noarch/firewall-config-0.9.4-1.el8.noarch.rpm

链接到包https://drive.google.com/drive/folders/1KLZM0ZrxygWMMPLMrSEB5UEsJIjsnSBJ?usp=sharing

相关内容