Centos
CentOS 8:哪個 repo 有最新版本的 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
它時,它找不到任何更新的版本,只是返回通常的“無事可做”消息。我需要哪個倉庫?謝謝。
firewalld
: 沒有找到 CentOS 8 更新,但是從後來的 “source.src.rpm"建構el8包相當容易: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