Accepting request 657258 from home:pmonrealgonzalez:branches:network
- Update the firewall rules in Tumbleweed OBS-URL: https://build.opensuse.org/request/show/657258 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=165
This commit is contained in:
parent
c41fcd05a7
commit
cf45c4e386
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 11 11:56:43 UTC 2018 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||
|
||||
- Update the firewall rules in Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 26 11:07:42 UTC 2018 - Vítězslav Čížek <vcizek@suse.com>
|
||||
|
||||
|
12
openssh.spec
12
openssh.spec
@ -20,13 +20,19 @@
|
||||
%ifnarch ppc
|
||||
%define sandbox_seccomp 1
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1500
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_with susefirewall
|
||||
%bcond_without tirpc
|
||||
%else
|
||||
%bcond_without susefirewall
|
||||
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_without tirpc
|
||||
%else
|
||||
%bcond_with tirpc
|
||||
%endif
|
||||
|
||||
%define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
|
||||
%define _appdefdir %( grep "configdirspec=" $( which xmkmf ) | sed -r 's,^[^=]+=.*-I(.*)/config.*$,\\1/app-defaults,' )
|
||||
%define CHECKSUM_SUFFIX .hmac
|
||||
@ -226,7 +232,7 @@ install -m 644 contrib/ssh-copy-id.1 %{buildroot}%{_mandir}/man1
|
||||
sed -i -e s@%{_prefix}/libexec@%{_libexecdir}@g %{buildroot}%{_sysconfdir}/ssh/sshd_config
|
||||
|
||||
%if %{with susefirewall}
|
||||
#install firewall definitions
|
||||
# install firewall definitions
|
||||
mkdir -p %{buildroot}%{_fwdefdir}
|
||||
install -m 644 %{SOURCE7} %{buildroot}%{_fwdefdir}/sshd
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user