Sync from SUSE:SLFO:Main xtrans revision 20669a45c3e5c2244bf6dd848e3ee4b6
This commit is contained in:
10
p_xauth.diff
10
p_xauth.diff
@@ -1,6 +1,8 @@
|
|||||||
--- Xtranssock.c.orig 2009-10-16 23:25:57.000000000 +0200
|
Index: Xtranssock.c
|
||||||
+++ Xtranssock.c 2010-04-04 16:10:29.000000000 +0200
|
===================================================================
|
||||||
@@ -1790,12 +1790,15 @@
|
--- Xtranssock.c.orig
|
||||||
|
+++ Xtranssock.c
|
||||||
|
@@ -1719,12 +1719,15 @@ UnixHostReallyLocal (const char *host)
|
||||||
|
|
||||||
{
|
{
|
||||||
char hostnamebuf[256];
|
char hostnamebuf[256];
|
||||||
@@ -14,5 +16,5 @@
|
|||||||
+ } else if(xauthlocalname && strcmp (xauthlocalname, host) == 0) {
|
+ } else if(xauthlocalname && strcmp (xauthlocalname, host) == 0) {
|
||||||
+ return (1);
|
+ return (1);
|
||||||
} else {
|
} else {
|
||||||
#if defined(IPv6) && defined(AF_INET6)
|
#ifdef HAVE_GETADDRINFO
|
||||||
struct addrinfo *localhostaddr;
|
struct addrinfo *localhostaddr;
|
||||||
|
BIN
xtrans-1.4.0.tar.bz2
(Stored with Git LFS)
BIN
xtrans-1.4.0.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
xtrans-1.6.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
xtrans-1.6.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,89 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 12 18:35:29 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fixed license: MIT --> X11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 9 03:29:47 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.6.0
|
||||||
|
Support for using getaddrinfo(), inet_ntop(), and struct sockaddr_storage
|
||||||
|
was originally added to support IPv6, and only used if IPv6 support was
|
||||||
|
enabled. Two decades later, these interfaces are ubiquitous and OS'es have
|
||||||
|
starting marking the old interfaces as deprecated, so this release changes
|
||||||
|
to use the modern interface whenever we can now. (Note that this depends
|
||||||
|
on the configure script or meson.build setting the appropriate HAVE_*
|
||||||
|
defines in the calling code, so this may not be fully effective in code
|
||||||
|
whose configure script was generated with a pre-1.6 version of xtrans.m4
|
||||||
|
or whose meson.build has not had equivalent updates.)
|
||||||
|
- refreshed p_xauth.diff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 9 18:12:52 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.5.2
|
||||||
|
* This release fixes two small regressions introduced in the 1.5.1
|
||||||
|
release - one breaks builds when HAVE_STRCASECMP is not defined
|
||||||
|
(which mainly happens on Windows platforms) and the other breaks
|
||||||
|
builds when IPv6 support is disabled.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 13 19:15:17 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.5.1
|
||||||
|
* gitlab CI: add xz-utils to container for "make distcheck"
|
||||||
|
* gitlab CI: collect config.log to help diagnose failures
|
||||||
|
* gitlab CI: add libc-dev to required packages in build container
|
||||||
|
* LocalInitTransports: Fix -Wuseless-cast warning for getenv() call
|
||||||
|
* SocketCreateListener: Fix -Wuseless-cast warning in bind() call
|
||||||
|
* Clear numerous -Wsign-compare warnings from gcc 14.1
|
||||||
|
* SocketINETConnect: return failure when malloc() fails
|
||||||
|
* ParseAddress: return failure when strdup() fails
|
||||||
|
* MakeAllCOTSServerListeners: Initialize temp_ciptrs
|
||||||
|
* GetMyNetworkId: Avoid writing to NULL pointer if malloc() fails
|
||||||
|
* GetPeerNetworkId: Avoid writing to NULL pointer if malloc() fails
|
||||||
|
* GetPeerNetworkId: avoid calling strlen() on a NULL pointer
|
||||||
|
* SocketOpen: avoid leak of out-of-range fd
|
||||||
|
* is_numeric: Add TRANS_SERVER to required ifdefs
|
||||||
|
* update .gitignore
|
||||||
|
* TRANS(ParseAddress): Fix "assignment discards ‘const’ qualifier" warnings
|
||||||
|
* TRANS(GetHostname): Fix "‘strncpy’ output truncated.." warning
|
||||||
|
* Fix string length check
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 12:17:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 10 10:39:31 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 30 08:49:47 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
Wed Sep 30 08:49:47 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
14
xtrans.spec
14
xtrans.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xtrans
|
# spec file for package xtrans
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: xtrans
|
Name: xtrans
|
||||||
Version: 1.4.0
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to handle network protocol transport in X
|
Summary: Library to handle network protocol transport in X
|
||||||
License: MIT
|
License: X11
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
URL: https://xorg.freedesktop.org/
|
URL: https://xorg.freedesktop.org/
|
||||||
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
|
||||||
Patch0: p_xauth.diff
|
Patch0: p_xauth.diff
|
||||||
Patch1: n_unifdef-LBXPROXY_t-and-TEST_t.patch
|
Patch1: n_unifdef-LBXPROXY_t-and-TEST_t.patch
|
||||||
Patch2: u_xtrans-noarch-pkgconfig.patch
|
Patch2: u_xtrans-noarch-pkgconfig.patch
|
||||||
@@ -45,9 +45,9 @@ libX11, libICE, the X font server, and related components.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch -P 0
|
||||||
%patch1 -p1 -R
|
%patch -P 1 -p1 -R
|
||||||
%patch2 -p1
|
%patch -P 2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --docdir=%{_docdir}/xtrans
|
%configure --docdir=%{_docdir}/xtrans
|
||||||
|
Reference in New Issue
Block a user