Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2403cc4b3c | ||
|
|
f3bb64deb1 |
3 changed files with 35 additions and 7 deletions
|
|
@ -1,11 +1,19 @@
|
|||
#!/bin/sh
|
||||
# config: /etc/sysconfig/arptables
|
||||
|
||||
# Source 'em up
|
||||
. /etc/init.d/functions
|
||||
|
||||
ARPTABLES_CONFIG=/etc/sysconfig/arptables
|
||||
|
||||
# compat for removed initscripts dependency
|
||||
|
||||
success() {
|
||||
echo -n "[ OK ]"
|
||||
return 0
|
||||
}
|
||||
|
||||
failure() {
|
||||
echo -n "[FAILED]"
|
||||
return 1
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ ! -x /usr/sbin/arptables ]; then
|
||||
exit 4
|
||||
|
|
|
|||
|
|
@ -18,8 +18,22 @@
|
|||
# Description: Start, stop and save iptables firewall
|
||||
### END INIT INFO
|
||||
|
||||
# Source function library.
|
||||
. /etc/init.d/functions
|
||||
# compat for removed initscripts dependency
|
||||
|
||||
success() {
|
||||
echo -n "[ OK ]"
|
||||
return 0
|
||||
}
|
||||
|
||||
warning() {
|
||||
echo -n "[WARNING]"
|
||||
return 1
|
||||
}
|
||||
|
||||
failure() {
|
||||
echo -n "[FAILED]"
|
||||
return 1
|
||||
}
|
||||
|
||||
IPTABLES=iptables
|
||||
IPTABLES_DATA=/etc/sysconfig/$IPTABLES
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Name: iptables
|
|||
Summary: Tools for managing Linux kernel packet filtering capabilities
|
||||
URL: http://www.netfilter.org/projects/iptables
|
||||
Version: 1.8.3
|
||||
Release: 5%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
||||
Source1: iptables.init
|
||||
Source2: iptables-config
|
||||
|
|
@ -446,6 +446,12 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 19 2019 Phil Sutter <psutter@redhat.com> - 1.8.3-7
|
||||
- Drop leftover include in arptables-nft-helper
|
||||
|
||||
* Fri Dec 13 2019 Phil Sutter <psutter@redhat.com> - 1.8.3-6
|
||||
- Remove dependencies on initscripts package
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue