Up to [cvs.NetBSD.org] / pkgsrc / x11 / xtrans
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
xtrans: 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.) Alan Coopersmith (12): accept const pointers for buf argument to TRANS(Write) Quiet -Wformat-pedantic warnings from clang 13 for non-void-* args to %p Clear -Wmissing-variable-declarations from clang 13 SocketOpenCOTSClientBase: handle -Wconditional-uninitialized warning SocketOpenCOTSServer: handle -Wconditional-uninitialized warning Simplify ifdefs for IPv6 support if getaddrinfo() is available, use it, even if IPv6 support is disabled if inet_ntop() is available, use it, even if IPv6 support is disabled if sockaddr_storage is available, use it, even if IPv6 support is disabled Convert one more IPv6 ifdef to HAVE_GETADDRINFO is_numeric: Add defined(X11_t) to checks xtrans 1.6.0
xtrans: 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. Alan Coopersmith (2): is_numeric: Add !defined(IPv6) to checks xtrans 1.5.2 Peter Harris (1): Fix build when HAVE_STRCASECMP is not defined
xtrans: update to 1.5.1. Alan Coopersmith (15): 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 xtrans 1.5.1 Enrico Weigelt, metux IT consult (1): update .gitignore Kim Woelders (2): TRANS(ParseAddress): Fix "assignment discards ‘const’ qualifier" warnings TRANS(GetHostname): Fix "‘strncpy’ output truncated.." warning Robert Royals (1): Fix string length check
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. Adam Jackson (4): unifdef USG and NCR Delete SCO support Remove non-Solaris SysV support TEST_t is never defined Alan Coopersmith (5): Build xz tarballs instead of bzip2 Fix spelling/wording issues gitlab CI: add a basic build test Remove "All rights reserved" from Oracle copyright notices xtrans 1.5.0 Demi Marie Obenour (3): Remove client-side abstract socket support Allow full paths to sockets on non-macOS DISPLAY starting with unix: or / is always a socket path Keith Packard (2): move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPEN Use font server ErrorF/VErrorF instead of private versions Olivier Fourdan (1): Allow partial connection to succeed Ray Strode (1): Automatically disable inet6 transport if ipv6 is disabled on machine
x11: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./x11/py-qt4/distinfo PyQt4_gpl_mac-4.12.3.tar.gz
x11: Remove SHA1 hashes for distfiles
xtrans: update to 1.4.0. This release drops a bunch of dead code, including support only used by lbxproxy and pre-1.4.0 versions of libX11, as well as support for obsolete SysV x86 platforms. It also provides some bug fixes & other maintenance work. Adam Jackson (6): autogen: Add a default patch prefix Remove CLTS code unifdef LBXPROXY_t and TEST_t Make FreeConnInfo static Remove GetMyAddr Revert "Make FreeConnInfo static" Alan Coopersmith (7): Remove support for SysV on x86 platforms other than Solaris & SCO Set freeXLOCAL to NULL after freeing it to prevent double frees Use strcasecmp if it's available, instead of lowercasing strings Use fchmod() instead of chmod() when creating named pipes Update README for gitlab migration Update configure.ac bug URL for gitlab migration xtrans 1.4.0 Emil Velikov (1): autogen.sh: use quoted string variables Jeremy Huddleston Sequoia (1): Update strlcpy macro check to also check HAVE_STRLCPY Julien Cristau (1): Make sure LONG64 is defined in Xtrans.h Peter Hutterer (1): autogen.sh: use exec instead of waiting for configure to finish Richard PALO (1): Replace 'sun' with '__sun' Rin Okuyama (1): avoid -Wformat errors from clang
Add SHA512 digests for distfiles for x11 category Problems found locating distfiles: Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2 Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz Package xservers: missing distfile xservers-3.3.6.5.tar.bz2 Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update to 1.3.5: Here's a release of Xtrans that includes a bunch of const fixes and a new Listen function which the X server wants to allow -nolisten tcp by default. Alan Coopersmith (7): Update docs to note that TransName is now const char * Add const qualifiers to TRANS(Open...) address args Add const qualifiers to TRANS(Reopen...) port args Add const qualifiers to TRANS(CreateListener) port args Add const qualifiers to TRANS(Connect) args Add const qualifiers to TRANS(MakeAll*ServerListeners) port args Add const qualifiers to TRANS(OpenC{L,O}TS{Server,Client}) args Keith Packard (2): Add TRANS(Listen) function to re-enable specific listen sockets xtrans 1.3.5
Update to 1.3.4: I'm happy to announce xtrans-1.3.4 Hans de Goede (2): configure: Also add -D_DEFAULT_SOURCE to .pc cflags to shut up glibc warnings xtrans 1.3.4 Mark Kettenis (1): Increase UNIX socket buffer size Thomas Klausner (2): Cast ctype(3) function arguments to unsigned char. Add missing headers for free() and strlen().
Update to 1.3.3: Changes: Gaetan Nadon (3): xtrans.m4: fix warning by replacing obsolete AC_HELP_STRING xtrans.m4: replace deprecated AC_HAVE_LIBRARY with AC_CHECK_LIB xtrans.m4: remove AC_TYPE_SIGNAL and Imake SIGNALRETURNSINT Hans de Goede (1): xtrans 1.3.3 Jon TURNEY (1): Add TransIsListening() Mark Kettenis (3): Remove unused static inlines Fix alignment issues in FD passing code Don't restrict FD passing to Linux & Solaris Łukasz Stelmach (2): Define TRANS_RECEIVED flag for transports Enable systemd socket activation
Update to 1.3.2: Another round of fixes for the fd sending API's: improves portability, fixes build failures on BSD & Solaris when building with the new API disabled, and enables the new API for Solaris.
Upgrade to 1.3.1 with upstream patches (will be in 1.3.2). Same changes as in the previous try except that the patches fix the breakage :)
revert 1.3.1, it breaks libFS, libXfont, libX11, ...
Update to 1.3.1: 1.3.1: Here's a new 1.3.1 release of libXtrans. The only interesting change is that it now requires applications to specify that they want FD passing support by defining XTRANS_SEND_FDS; the X server will do that only on Linux. When non-Linux FD passing support is integrated, we can change what the X server does Keith Packard (3): Revert "Remove 'Readv' interface" Add SEND_FDS version of Readv Update to version 1.3.1 Mark Kettenis (1): Don't include file descriptor passing code by default 1.3.0: Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (3): Remove unused TLI ("STREAMSCONN") code from xtrans Docs: convert function synopses to docbook funcsynopsis markup Docs: Drop pre-C89 TRANS() from docs since it's no longer in the headers Colin Walters (1): autogen.sh: Implement GNOME Build API Keith Packard (3): Remove 'Readv' interface Add APIs to send file descriptors through the network Update to version 1.3.0 Łukasz Stelmach (1): Add const qualifier to unix_nolisten
Update to 1.2.7. 1.2.7: This release features a lot of cleanups, both from manual inspection and from automated static code analysis, along with a couple bug fixes and various documentation & build configuration improvments. 1.2.6: This minor release converts the libxtrans API documentation from troff to DocBook/XML and updates it for the current state of the code. It also includes some minor bug fixes, and of course, the usual recent collection of build configuration improvements and janitorial cleanups.
Update to xtrans-1.2.5. This release moved the xtrans.pc file from lib/pkgconfig to share/pkgconfig. AFAICT pkgsrc deals with this properly. Changes: Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Move Xtrans interface docs from xorg-docs module xtrans 1.2.5 Xtranssock: assume that we have getaddrinfo if ipv6 is enabled Move xtrans.pc to /usr/share/pkg-config Don't use -lws2_32 on Cygwin Silence root ownership warnings on Cygwin
Update to 1.2.4: Alan Coopersmith (6): Fix libICE build after code motion in d192bac409... Constify string argument to is_numeric Constify path argument to trans_mkdir() xfs segfaults in _FontTransSocketReopen when cloning itself Fix ifdef checks for SVR4 to do the right thing on Solaris Version 1.2.4 Benjamin Close (2): Revert "Fix "XXX declared 'static' but not defined"" Update is_numeric base on the declaration change in 389e01fb51ba2d708015e27d8fc17c88a0e55802 Paulo Cesar Pereira de Andrade (1): Janitor: Correct make distcheck and compiler warnings. Tomas Carnecky (2): Fix "warning: format not a string literal and no format arguments" Fix "XXX declared 'static' but not defined"
Update to 1.2.3: Alan Coopersmith (4): 18748: xtrans.m4 causes configure --help to list --enable-ipv6 in wrong case. Switch ChangeLog generation to use XORG_CHANGELOG from xorg-macros 1.2 Add bugzilla, mailing list & git repo pointers to README Version 1.2.3 Alan Hourihane (1): add winsock check for windows builds
Update to 1.2.2: Adam Jackson (5): Massive ifdef cleanup, dropping a ton of unsupported platform code. Drastically simplify TRANS_OPEN_MAX. Remove DECNET support. Finish removing OS/2 support xtrans 1.2.2 Jeremy Huddleston (2): Apple: Allow Xquartz to provide an additional fd to xtrans since the dynamic addition code in the server isn't bulletproof yet. Added a flag to enable "The OS already took care of securing this, please skip checking xauth" for use with Apple launchd sockets.
Re-enable abstract socket support under Linux (remove comment and first hunk of patch-aa). Abstract socket support was previously patched disabled because it was broken ( see http://bugs.freedesktop.org/show_bug.cgi?id=15884 ). The fix is in two parts. The first part is corrected in xtrans 1.2.1: Connection failure for abstract socket is ECONNREFUSED, not ENOENT. The second part is in an upcoming release of libX11, but the upstream changes have been pulled into Pkgsrc as the patches libX11/patches/patch-a[ik]. Tested on the same Linux system that prompted Bug#15884. Bump PKGREVISION.
Update to 1.2.1: Adam Jackson (2): Connection failure for abstract socket is ECONNREFUSED, not ENOENT. xtrans 1.2.1 Alan Coopersmith (2): LocalClose() takes a ConnInfoPtr, not an fd Clear some pointer type mismatch warnings Bill Nottingham (1): Ignore mkdir() errors when creating the abstract socket. James Cloos (1): Remove extraneous execute bit from .c file Jeremy Huddleston (1): Launchd: This functionality has been moved into xorg-server
Disable HAVE_ABSTRACT_SOCKETS as a workaround for bugs in the abstract socket implementation, see: http://bugs.freedesktop.org/show_bug.cgi?id=15884 This change only affects Linux as other platforms don't use the abstract sockets code to start with. But anyway, bump PKGREVISION.
Update to 1.2: Alan Coopersmith (1): Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARC Alan Hourihane (2): fix build for MAKEWORD disable UNIXCONN on MINGW Colin Harrison (2): Only call WSAGetLastError() if there has been an Update to winsock2 James Cloos (1): Fix length calculation for the path for abstract unix domain sockets Julien Cristau (2): BSD44SOCKETS is the wrong check for SOCK_MAXADDRLEN Bump to 1.2 Loïc Minier (1): Bug #10489: Don't retry unix socket connect()s on ENOENT.
Fix xtrans-1.1 on NetBSD (testing rocks).
Update to 1.1: Adam Jackson (2): Add support for the abstract socket namespace under Linux. xtrans 1.1 Ben Byer (5): suppress warning about socket directory ownership on OS X changes to support launchd on OS X removed cvs tags Fix for incorrect processing of recycled launchd socket on OS X make launchd error messages less scary Dodji Seketeli (2): libxtrans: fix linux compilation breakage libxtrans: fixed a typo in my last commit Jeremy Huddleston (1): Fixed #ifdef checks that were using i386 to use __i386__
Change an #ifdef hpux to #ifdef __hpux. This makes unix socket transport work.
Don't define a local weak in6addr_any. Any sane IPv6 setup has and if it doesn't include it, your lost mostly anyway. The weak alias creates a conflict on HP-UX tho. Bump revision.
Update xtrans to version 1.0.4. Changes: -- Fix typo in Xtranslcl.c (sprintf with size argument should be snprintf)
Forgotten makepatchsum.
Update to xtrans-1.0.3 (irrelevant Makefile change) and fix ctype usage.
Include sys/stat.h explictly in Xtranssock.c as S_IFMT and friends are used. It is not pulled in indirectly at least on DragonFly. Bump revision.
Import x11/xtrans-1.0.2: Network API translation layer to insulate X applications and libraries from OS network vageries. This is from the modular X.org X11 project.
Initial revision