2012-05-15 11:25:00 +02:00
|
|
|
#
|
|
|
|
# spec file for package xtrans
|
|
|
|
#
|
- Update to 1.5.0
xtrans is a library of code that is shared among various X packages to handle
network protocol transport in a modular fashion, allowing a single place to
add new transport types - but it is *not* a shared library, more like a \
"header-only" library. It is used by the X server, the XIM support in libX11,
libICE, the X font server, and related components. Because this is not a
shared library, the changes in this release will only take effect in consumers
that are rebuilt on a system with this release of xtrans installed.
This release makes progress towards resolving CVE-2020-25697, reported in
https://www.openwall.com/lists/oss-security/2020/11/09/3 . Clients will no
longer attempt to connect to sockets in the abstract namespace, though
servers will still bind to them to prevent other programs binding to those
names to intercept connections from clients using libraries built with older
versions of libxtrans or libxcb while the servers are running. Clients can
also now specify a full Unix domain socket pathname to connect to, instead
of relying on built-in defaults under /tmp. (Note that libX11 1.4.0 and later
relies on libxcb for making connections instead of libxtrans, so X11 protocol
clients will get this support in an upcoming release of libxcb, and the changes
in xtrans will only affect clients of other protocols using libxtrans, such as
XIM, ICE, SM, and the font service protocols.)
This release also removes support for System V UNIX platforms other than
Solaris and the illumos family - OS'es from SCO, AT&T's Unix Systems Group,
Novell, and NCR are no longer supported.
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xtrans?expand=0&rev=28
2023-06-10 12:44:26 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-05-15 11:25:00 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-19 02:07:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-15 11:25:00 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xtrans
|
- Update to 1.5.0
xtrans is a library of code that is shared among various X packages to handle
network protocol transport in a modular fashion, allowing a single place to
add new transport types - but it is *not* a shared library, more like a \
"header-only" library. It is used by the X server, the XIM support in libX11,
libICE, the X font server, and related components. Because this is not a
shared library, the changes in this release will only take effect in consumers
that are rebuilt on a system with this release of xtrans installed.
This release makes progress towards resolving CVE-2020-25697, reported in
https://www.openwall.com/lists/oss-security/2020/11/09/3 . Clients will no
longer attempt to connect to sockets in the abstract namespace, though
servers will still bind to them to prevent other programs binding to those
names to intercept connections from clients using libraries built with older
versions of libxtrans or libxcb while the servers are running. Clients can
also now specify a full Unix domain socket pathname to connect to, instead
of relying on built-in defaults under /tmp. (Note that libX11 1.4.0 and later
relies on libxcb for making connections instead of libxtrans, so X11 protocol
clients will get this support in an upcoming release of libxcb, and the changes
in xtrans will only affect clients of other protocols using libxtrans, such as
XIM, ICE, SM, and the font service protocols.)
This release also removes support for System V UNIX platforms other than
Solaris and the illumos family - OS'es from SCO, AT&T's Unix Systems Group,
Novell, and NCR are no longer supported.
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xtrans?expand=0&rev=28
2023-06-10 12:44:26 +02:00
|
|
|
Version: 1.5.0
|
2012-05-15 11:25:00 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Library to handle network protocol transport in X
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/X11
|
2019-08-19 02:07:01 +02:00
|
|
|
URL: https://xorg.freedesktop.org/
|
- Update to 1.5.0
xtrans is a library of code that is shared among various X packages to handle
network protocol transport in a modular fashion, allowing a single place to
add new transport types - but it is *not* a shared library, more like a \
"header-only" library. It is used by the X server, the XIM support in libX11,
libICE, the X font server, and related components. Because this is not a
shared library, the changes in this release will only take effect in consumers
that are rebuilt on a system with this release of xtrans installed.
This release makes progress towards resolving CVE-2020-25697, reported in
https://www.openwall.com/lists/oss-security/2020/11/09/3 . Clients will no
longer attempt to connect to sockets in the abstract namespace, though
servers will still bind to them to prevent other programs binding to those
names to intercept connections from clients using libraries built with older
versions of libxtrans or libxcb while the servers are running. Clients can
also now specify a full Unix domain socket pathname to connect to, instead
of relying on built-in defaults under /tmp. (Note that libX11 1.4.0 and later
relies on libxcb for making connections instead of libxtrans, so X11 protocol
clients will get this support in an upcoming release of libxcb, and the changes
in xtrans will only affect clients of other protocols using libxtrans, such as
XIM, ICE, SM, and the font service protocols.)
This release also removes support for System V UNIX platforms other than
Solaris and the illumos family - OS'es from SCO, AT&T's Unix Systems Group,
Novell, and NCR are no longer supported.
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xtrans?expand=0&rev=28
2023-06-10 12:44:26 +02:00
|
|
|
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
|
2013-11-25 17:41:32 +01:00
|
|
|
Patch0: p_xauth.diff
|
2019-03-22 14:41:45 +01:00
|
|
|
Patch1: n_unifdef-LBXPROXY_t-and-TEST_t.patch
|
2020-09-30 11:09:39 +02:00
|
|
|
Patch2: u_xtrans-noarch-pkgconfig.patch
|
2019-08-19 02:07:01 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-05-15 11:25:00 +02:00
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
2013-11-25 17:41:32 +01:00
|
|
|
BuildRequires: pkgconfig(xshmfence)
|
2012-05-15 11:25:00 +02:00
|
|
|
# Package was named xorg-x11-xtrans-devel until 12.2
|
|
|
|
# We use 7.7 for Provides/Obsoletes, since we're renaming the packages when
|
|
|
|
# X11R7.7 is in RC1, and xorg-x11-xtrans-devel was version 7.6
|
|
|
|
Provides: xorg-x11-xtrans-devel = 7.7
|
|
|
|
Obsoletes: xorg-x11-xtrans-devel < 7.7
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
xtrans is a library of code that is shared among various X packages to
|
|
|
|
handle network protocol transport in a modular fashion, allowing a
|
|
|
|
single place to add new transport types. It is used by the X server,
|
|
|
|
libX11, libICE, the X font server, and related components.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2019-08-19 02:07:01 +02:00
|
|
|
%patch0
|
2019-03-22 14:41:45 +01:00
|
|
|
%patch1 -p1 -R
|
2020-09-30 11:05:56 +02:00
|
|
|
%patch2 -p1
|
2012-05-15 11:25:00 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir=%{_docdir}/xtrans
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%pre
|
|
|
|
test -L usr/include/X11 && rm usr/include/X11
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
2019-08-19 02:07:01 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README.md
|
2012-05-21 10:12:32 +02:00
|
|
|
%doc doc/xtrans.xml
|
2012-05-15 11:25:00 +02:00
|
|
|
%{_includedir}/X11/Xtrans/
|
2019-08-19 02:07:01 +02:00
|
|
|
%dir %{_datadir}/aclocal
|
2012-05-15 11:25:00 +02:00
|
|
|
%{_datadir}/aclocal/xtrans.m4
|
|
|
|
%{_datadir}/pkgconfig/xtrans.pc
|
|
|
|
|
|
|
|
%changelog
|