Commit 0c9852a7 authored by Mihai Moldovan's avatar Mihai Moldovan Committed by Mihai Moldovan

{debian/control,nx-libs.spec}: add proper dependencies upon xkbcomp for RPM and DEB packages.

Backported from Arctica GH 3.6.x branch. v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
parent 1537eb05
...@@ -31,6 +31,10 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low ...@@ -31,6 +31,10 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low
* nx-X11: use the "old", non-NX header location. * nx-X11: use the "old", non-NX header location.
Affects: Affects:
- 1270_nx-X11_CVE-2017-2624-Use-timingsafe_memcmp-to-c.full.patch - 1270_nx-X11_CVE-2017-2624-Use-timingsafe_memcmp-to-c.full.patch
* {debian/control,nx-libs.spec}:
- Add proper dependencies upon xkbcomp for RPM and DEB packages.
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
[ Mike Gabriel ] [ Mike Gabriel ]
* debian/libxinerama1.postinst.in: * debian/libxinerama1.postinst.in:
......
...@@ -1007,6 +1007,8 @@ Depends: ...@@ -1007,6 +1007,8 @@ Depends:
# </Workaround> # </Workaround>
${shlibs:Depends}, ${shlibs:Depends},
${misc:Depends}, ${misc:Depends},
# For /usr/bin/xkbcomp
x11-xkb-utils,
Recommends: Recommends:
xfonts-base, xfonts-base,
xkb-data, xkb-data,
......
...@@ -599,6 +599,20 @@ Requires: xorg-x11-fonts-core ...@@ -599,6 +599,20 @@ Requires: xorg-x11-fonts-core
# works without the dependency. # works without the dependency.
Requires: xkeyboard-config Requires: xkeyboard-config
# For /usr/bin/xkbcomp
%if 0%{?fedora} || 0%{?rhel}
Requires: xorg-x11-xkb-utils
%else
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1310
Requires: xkbcomp
%else
# Older *SUSE versions bundle xkbcomp in xorg-x11. Ugly, but nothing we could change.
Requires: xorg-x11
%endif
%endif
%endif
%description -n nxagent %description -n nxagent
NX is a software suite which implements very efficient compression of NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X the X11 protocol. This increases performance when using X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment