Accepting request 578726 from X11:XOrg
- switch from SUSEfirewall2 to firewalld: /etc/sysconfig/SuSEfirewall2.d/services/xdmcp --> /usr/lib/firewalld/services/x11.xml; only handle Xserver TCP/UDP ports 6000-6063; XDMCP port 177 will be handled by firewalld package itself and pushed upstream by firewalld maintainers (boo#1082033) OBS-URL: https://build.opensuse.org/request/show/578726 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=66
This commit is contained in:
commit
236a3c7451
10
xdm.changes
10
xdm.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 13:52:09 UTC 2018 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- switch from SUSEfirewall2 to firewalld:
|
||||||
|
/etc/sysconfig/SuSEfirewall2.d/services/xdmcp -->
|
||||||
|
/usr/lib/firewalld/services/x11.xml; only handle Xserver TCP/UDP
|
||||||
|
ports 6000-6063; XDMCP port 177 will be handled by firewalld
|
||||||
|
package itself and pushed upstream by firewalld maintainers
|
||||||
|
(boo#1082033)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 8 11:14:41 UTC 2018 - sndirsch@suse.com
|
Thu Feb 8 11:14:41 UTC 2018 - sndirsch@suse.com
|
||||||
|
|
||||||
|
22
xdm.spec
22
xdm.spec
@ -67,6 +67,9 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.4
|
|||||||
BuildRequires: pkgconfig(xpm)
|
BuildRequires: pkgconfig(xpm)
|
||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(xtrans)
|
BuildRequires: pkgconfig(xtrans)
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: firewall-macros
|
||||||
|
%endif
|
||||||
Requires: /sbin/pidof
|
Requires: /sbin/pidof
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
Requires: sessreg
|
Requires: sessreg
|
||||||
@ -145,6 +148,16 @@ rm %{buildroot}%{_sysconfdir}/X11/xdm/{GiveConsole,TakeConsole,Xsetup_0}
|
|||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
# SuSE default XDM configuration
|
# SuSE default XDM configuration
|
||||||
tar xf %{SOURCE1}
|
tar xf %{SOURCE1}
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
rm etc/sysconfig/SuSEfirewall2.d/services/xdmcp
|
||||||
|
rmdir etc/sysconfig/SuSEfirewall2.d/services
|
||||||
|
rmdir etc/sysconfig/SuSEfirewall2.d
|
||||||
|
rmdir etc/sysconfig
|
||||||
|
%else
|
||||||
|
rm usr/lib/firewalld/services/x11.xml
|
||||||
|
rmdir usr/lib/firewalld/services
|
||||||
|
rmdir usr/lib/firewalld
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1330
|
%if 0%{?suse_version} >= 1330
|
||||||
patch -p1 < %{PATCH2}
|
patch -p1 < %{PATCH2}
|
||||||
%endif
|
%endif
|
||||||
@ -218,6 +231,9 @@ fi
|
|||||||
%{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \
|
%{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \
|
||||||
default-displaymanager %{_libexecdir}/X11/displaymanagers/xdm 10
|
default-displaymanager %{_libexecdir}/X11/displaymanagers/xdm 10
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
%firewalld_reload
|
||||||
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%if !0%{?suse_version} < 1315
|
%if !0%{?suse_version} < 1315
|
||||||
@ -264,7 +280,13 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%config %{_sysconfdir}/X11/xdm/
|
%config %{_sysconfdir}/X11/xdm/
|
||||||
%dir %{_sysconfdir}/X11/xdm/scripts
|
%dir %{_sysconfdir}/X11/xdm/scripts
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
%dir %{_libexecdir}/firewalld
|
||||||
|
%dir %{_libexecdir}/firewalld/services
|
||||||
|
%{_libexecdir}/firewalld/services/x11.xml
|
||||||
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/xdmcp
|
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/xdmcp
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} < 1315
|
%if 0%{?suse_version} < 1315
|
||||||
%{_sysconfdir}/init.d/xdm
|
%{_sysconfdir}/init.d/xdm
|
||||||
%exclude %{_libexecdir}/X11/display-manager
|
%exclude %{_libexecdir}/X11/display-manager
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:a43bf0e247b6b238b016d7c1cc4f248ad06c9d8a8a5a0d3bc838c84873cadd7b
|
oid sha256:cf6e4a2f312976fec1cf6c0f8a1f6d3e0a7077e654f26a2bc06a24119c28f35a
|
||||||
size 23626
|
size 23754
|
||||||
|
Loading…
Reference in New Issue
Block a user