!9 增加iptable.init的可执行权限
Merge pull request !9 from zhouxudong8/zhouxudong
This commit is contained in:
commit
82f68d5a8e
@ -2,7 +2,7 @@
|
||||
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions
|
||||
Name: iptables
|
||||
Version: 1.8.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: IP packet filter administration utilities
|
||||
License: GPLv2 and Artistic Licence 2.0 and ISC
|
||||
URL: https://www.netfilter.org/
|
||||
@ -88,7 +88,7 @@ install -m 0755 -d %{buildroot}%{_includedir}/libipulog/
|
||||
install -m 0644 include/libipulog/*.h %{buildroot}%{_includedir}/libipulog
|
||||
|
||||
install -m 0755 -d %{buildroot}/%{script_path}
|
||||
install -m 0644 -c %{SOURCE1} %{buildroot}/%{script_path}/iptables.init
|
||||
install -m 0755 -c %{SOURCE1} %{buildroot}/%{script_path}/iptables.init
|
||||
sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g' < %{SOURCE1} > ip6tables.init
|
||||
install -m 0755 ip6tables.init %{buildroot}/%{script_path}/ip6tables.init
|
||||
install -m 0755 -d %{buildroot}%{_sysconfdir}/sysconfig
|
||||
@ -248,6 +248,9 @@ fi
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.8.1-4
|
||||
- add executable permissions to iptables.init
|
||||
|
||||
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.8.1-3
|
||||
- optimization the patch
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user