update sbindir path [release 5.2.8-2mamba;Sun Aug 08 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:47:59 +01:00
parent d7802974bd
commit 8dfdc677e1

View File

@ -2,18 +2,17 @@
%define maj3ver %(echo %version | cut -d. -f1-3) %define maj3ver %(echo %version | cut -d. -f1-3)
Name: shorewall-core Name: shorewall-core
Version: 5.2.8 Version: 5.2.8
Release: 1mamba Release: 2mamba
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: http://www.shorewall.net/index.htm URL: https://shorewall.org/index.htm
Source: http://www.shorewall.net/pub/shorewall/%{majver}/shorewall-%{maj3ver}/shorewall-core-%{version}.tar.bz2 Source: http://www.shorewall.net/pub/shorewall/%{majver}/shorewall-%{maj3ver}/shorewall-core-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables utility, Shorewall configures Netfilter to match your requirements. Shorewall can be used on a dedicated firewall system, a multi-function gateway/router/server or on a standalone GNU/Linux system. Shorewall does not use Netfilter's ipchains compatibility mode; as a consequence, Shorewall can take advantage of Netfilter's connection state tracking capabilities to create a stateful firewall. The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables utility, Shorewall configures Netfilter to match your requirements. Shorewall can be used on a dedicated firewall system, a multi-function gateway/router/server or on a standalone GNU/Linux system. Shorewall does not use Netfilter's ipchains compatibility mode; as a consequence, Shorewall can take advantage of Netfilter's connection state tracking capabilities to create a stateful firewall.
@ -25,6 +24,8 @@ The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool
./configure \ ./configure \
VENDOR=linux \ VENDOR=linux \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \ --sysconfdir=%{_sysconfdir} \
--initdir=%{_initrddir} --initdir=%{_initrddir}
@ -33,6 +34,7 @@ The Shoreline Firewall, more commonly known as "Shorewall", is a high-level tool
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
DESTDIR=%{buildroot} ./install.sh shorewallrc.default DESTDIR=%{buildroot} ./install.sh shorewallrc.default
mv %{buildroot}/usr/man/* %{buildroot}/%{_mandir}/ mv %{buildroot}/usr/man/* %{buildroot}/%{_mandir}/
mv %{buildroot}/sbin %{buildroot}/usr/
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -40,19 +42,15 @@ mv %{buildroot}/usr/man/* %{buildroot}/%{_mandir}/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_datadir}/shorewall %dir %{_datadir}/shorewall
/sbin/shorewall %{_sbindir}/shorewall
%{_mandir}/shorewall.8.gz %{_datadir}/shorewall/*
%{_datadir}/shorewall/lib.core %{_mandir}/shorewall.8*
%{_datadir}/shorewall/coreversion
%{_datadir}/shorewall/functions
%{_datadir}/shorewall/lib.base
%{_datadir}/shorewall/lib.cli
%{_datadir}/shorewall/lib.common
%{_datadir}/shorewall/shorewallrc
%{_datadir}/shorewall/wait4ifup
%doc COPYING %doc COPYING
%changelog %changelog
* Sun Aug 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.8-2mamba
- update sbindir path
* Fri Sep 25 2020 Automatic Build System <autodist@mambasoft.it> 5.2.8-1mamba * Fri Sep 25 2020 Automatic Build System <autodist@mambasoft.it> 5.2.8-1mamba
- automatic version update by autodist - automatic version update by autodist