shorewall6: service script: invoke shorewall6 instead of shorewall -6 [release 5.2.8-3mamba;Tue Jul 25 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 17:47:18 +01:00
parent c6cd94497a
commit 32ba68756d

View File

@ -2,13 +2,13 @@
%define maj3ver %(echo %version | cut -d. -f1-3) %define maj3ver %(echo %version | cut -d. -f1-3)
Name: shorewall Name: shorewall
Version: 5.2.8 Version: 5.2.8
Release: 2mamba Release: 3mamba
Summary: Shoreline Firewall, a high-level tool for configuring Netfilter Summary: Shoreline Firewall, a high-level tool for configuring Netfilter
Group: Network/Security Group: Network/Security
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://shorewall.org/index.htm URL: https://shorewall.org/
Source: https://shorewall.org/pub/shorewall/%{majver}/shorewall-%{maj3ver}/shorewall-%{version}.tar.bz2 Source: https://shorewall.org/pub/shorewall/%{majver}/shorewall-%{maj3ver}/shorewall-%{version}.tar.bz2
Source1: shorewall-conf Source1: shorewall-conf
Source2: shorewall-interfaces Source2: shorewall-interfaces
@ -27,6 +27,7 @@ License: GPL
BuildArch: noarch BuildArch: noarch
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl BuildRequires: libperl
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: shorewall-core >= %{version} BuildRequires: shorewall-core >= %{version}
@ -40,6 +41,7 @@ The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool
%prep %prep
%setup -q -a6 -a10 %setup -q -a6 -a10
sed -i "s|shorewall -6|shorewall6|" shorewall6-%{version}/shorewall6.service
%build %build
cd shorewall6-%{version} cd shorewall6-%{version}
@ -126,6 +128,9 @@ rm -f %{buildroot}%{_sysconfdir}/init.d/shorewall6
#README.txt #README.txt
%changelog %changelog
* Tue Jul 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.8-3mamba
- shorewall6: service script: invoke shorewall6 instead of shorewall -6
* Sun Aug 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.8-2mamba * Sun Aug 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.8-2mamba
- update default configuration and systemd service management - update default configuration and systemd service management