firewalld has cfengine already built-in

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=189
This commit is contained in:
Klaus Kämpf 2020-09-23 08:17:38 +00:00 committed by Git OBS Bridge
parent 98d49dce95
commit ae3ecb7e19
2 changed files with 0 additions and 14 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>CFengine</short>
<description>CFEngine automates large-scale IT computing infrastructure</description>
<port protocol="tcp" port="5308"/>
</service>

View File

@ -55,7 +55,6 @@ Source6: cf-execd
Source7: cf-serverd
Source10: %{name}.cron
Source11: %{name}-rpmlintrc
Source12: %{name}.firewalld
# docs
Source101: http://www.cfengine.org/manuals/cf3-Reference.pdf
Source102: http://www.cfengine.org/manuals/cf3-conceptguide.pdf
@ -241,9 +240,6 @@ done
# Firewall
%if %{with_sfw2}
install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/cfengine
%else
mkdir -p %{buildroot}/%{_prefix}/lib/firewalld/services
install -D -m 644 %{SOURCE12} %{buildroot}/%{_prefix}/lib/firewalld/services/%{name}.xml
%endif
# Ckeabyo dyoes
@ -306,10 +302,6 @@ fi
%config %dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d
%config %dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/cfengine
%else
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%{_prefix}/lib/firewalld/services/%{name}.xml
%endif
%{_mandir}/man8/*
%dir %{basedir}