iptables-1.8.4-3
- Remove dependencies on initscripts package
This commit is contained in:
parent
195c6f7051
commit
1eb645da34
@ -18,8 +18,22 @@
|
|||||||
# Description: Start, stop and save iptables firewall
|
# Description: Start, stop and save iptables firewall
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
# Source function library.
|
# compat for removed initscripts dependency
|
||||||
. /etc/init.d/functions
|
|
||||||
|
success() {
|
||||||
|
echo -n "[ OK ]"
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
warning() {
|
||||||
|
echo -n "[WARNING]"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
failure() {
|
||||||
|
echo -n "[FAILED]"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
IPTABLES=iptables
|
IPTABLES=iptables
|
||||||
IPTABLES_DATA=/etc/sysconfig/$IPTABLES
|
IPTABLES_DATA=/etc/sysconfig/$IPTABLES
|
||||||
|
@ -19,7 +19,7 @@ Name: iptables
|
|||||||
Summary: Tools for managing Linux kernel packet filtering capabilities
|
Summary: Tools for managing Linux kernel packet filtering capabilities
|
||||||
URL: http://www.netfilter.org/projects/iptables
|
URL: http://www.netfilter.org/projects/iptables
|
||||||
Version: 1.8.4
|
Version: 1.8.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
||||||
Source1: iptables.init
|
Source1: iptables.init
|
||||||
Source2: iptables-config
|
Source2: iptables-config
|
||||||
@ -95,7 +95,6 @@ stable and may change with every new version. It is therefore unsupported.
|
|||||||
%package services
|
%package services
|
||||||
Summary: iptables and ip6tables services for iptables
|
Summary: iptables and ip6tables services for iptables
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: /etc/init.d/functions
|
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
# obsolete old main package
|
# obsolete old main package
|
||||||
Obsoletes: %{name} < 1.4.16.1
|
Obsoletes: %{name} < 1.4.16.1
|
||||||
@ -444,6 +443,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 13 2019 Phil Sutter <psutter@redhat.com> - 1.8.4-3
|
||||||
|
- Remove dependencies on initscripts package
|
||||||
|
|
||||||
* Tue Dec 10 2019 Phil Sutter <psutter@redhat.com> - 1.8.4-2
|
* Tue Dec 10 2019 Phil Sutter <psutter@redhat.com> - 1.8.4-2
|
||||||
- iptables-services requires /etc/init.d/functions
|
- iptables-services requires /etc/init.d/functions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user