--- xtrans-1.6.0.orig/.gitlab-ci.yml +++ xtrans-1.6.0/.gitlab-ci.yml @@ -0,0 +1,105 @@ +# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml: +# +# This CI uses the freedesktop.org ci-templates. +# Please see the ci-templates documentation for details: +# https://freedesktop.pages.freedesktop.org/ci-templates/ + +.templates_sha: &template_sha 185ede0e9b9b1924b92306ab8b882a6294e92613 # see https://docs.gitlab.com/ee/ci/yaml/#includefile + + +include: + # Debian container builder template + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/debian.yml' + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/ci-fairy.yml' + - template: Security/SAST.gitlab-ci.yml + + +stages: + - prep # prep work like rebuilding the container images if there is a change + - build # for actually building and testing things in a container + - test + - deploy + + +variables: + FDO_UPSTREAM_REPO: 'xorg/lib/libxtrans' + FDO_DISTRIBUTION_VERSION: 'stable' + # The tag should be updated each time the list of packages is updated. + # Changing a tag forces the associated image to be rebuilt. + # Note: the tag has no meaning, we use a date format purely for readability + FDO_DISTRIBUTION_TAG: '2023-10-13.1' + FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake make libc-dev xutils-dev xmlto xorg-sgml-doctools w3m xsltproc fop xz-utils' + + +# +# Verify that commit messages are as expected +# +check-commits: + extends: + - .fdo.ci-fairy + stage: prep + script: + - ci-fairy check-commits --junit-xml=results.xml + except: + - master@xorg/lib/libxtrans + variables: + GIT_DEPTH: 100 + artifacts: + reports: + junit: results.xml + +# +# Verify that the merge request has the allow-collaboration checkbox ticked +# +check-merge-request: + extends: + - .fdo.ci-fairy + stage: deploy + script: + - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml + artifacts: + when: on_failure + reports: + junit: results.xml + allow_failure: true + + +# +# Build a container with the given tag and the packages pre-installed. +# This only happens if/when the tag changes, otherwise the existing image is +# re-used. +# +container-prep: + extends: + - .fdo.container-build@debian + stage: prep + variables: + GIT_STRATEGY: none + + +# +# The default build, runs on the image built above. +# +build: + stage: build + extends: + - .fdo.distribution-image@debian + script: + - autoreconf -ivf + - mkdir _builddir + - pushd _builddir > /dev/null + - ../configure --disable-silent-rules --enable-specs --enable-xaw7 --enable-xaw7 + - make + - make check + - make distcheck + - popd > /dev/null + artifacts: + name: "automake-logs-$CI_JOB_NAME" + when: always + expire_in: 1 week + paths: + - _builddir/config.log --- xtrans-1.6.0.orig/ChangeLog +++ xtrans-1.6.0/ChangeLog @@ -1,917 +1,3 @@ -commit cf05ba4a10c90da2c63805a5375e983b174e28b0 -Author: Alan Coopersmith -Date: Sat Mar 8 16:07:43 2025 -0800 - - xtrans 1.6.0 - - Signed-off-by: Alan Coopersmith - -commit c8c291390f4befb7d813d7fce6caeb6607561903 -Author: Alan Coopersmith -Date: Mon Jan 20 09:54:21 2025 -0800 - - is_numeric: Add defined(X11_t) to checks - - Fixes builds of XTS which still builds X11 client side code (unlike - libX11 which relies on xcb instead of xtrans now for X11 connections). - - Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs") - Signed-off-by: Alan Coopersmith - Part-of: - -commit 633ac2f03369eb93b70958c783722cfe3e93aacc -Author: Alan Coopersmith -Date: Sat Jan 18 12:00:41 2025 -0800 - - Convert one more IPv6 ifdef to HAVE_GETADDRINFO - - If getaddrinfo returned multiple addresses, try another when first fails, - even if we're only using IPv4. - - Fixes: 0241531 ("if getaddrinfo() is available, use it, even if IPv6 support is disabled") - Signed-off-by: Alan Coopersmith - Part-of: - -commit 2c4a122ca0512936d4306ef449f6b7b2566d6785 -Author: Alan Coopersmith -Date: Sat Jan 18 11:50:59 2025 -0800 - - if sockaddr_storage is available, use it, even if IPv6 support is disabled - - Support for using sockaddr_storage was originally added to support IPv6, - and only used if IPv6 support was enabled. Two decades later, support - for sockaddr_storage is ubiquitous and can simplify our code paths, - so use the modern interface whenever we can now. - - Signed-off-by: Alan Coopersmith - Part-of: - -commit deb755c0ad4575a7542e2abcba986a003fddb198 -Author: Alan Coopersmith -Date: Sat Jan 18 11:07:30 2025 -0800 - - if inet_ntop() is available, use it, even if IPv6 support is disabled - - Support for using inet_ntop() was originally added to support IPv6, - and only used if IPv6 support was enabled. Two decades later, support - for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa() - as deprecated, so use the modern interface whenever we can now. - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 02415310dd4997b4a7943814381c0b52d91eb8de -Author: Alan Coopersmith -Date: Sat Jan 11 13:06:06 2025 -0800 - - if getaddrinfo() is available, use it, even if IPv6 support is disabled - - Support for using getaddrinfo() was originally added to support IPv6, - and only used if IPv6 support was enabled. Two decades later, support - for getaddrinfo() is ubiquitous and OS'es have marked gethostbyname() - as deprecated, so use the modern interface whenever we can now. - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 7aa12b634fadf2c414080f1ba3d373430cf2d8f2 -Author: Alan Coopersmith -Date: Sat Jan 11 12:24:03 2025 -0800 - - Simplify ifdefs for IPv6 support - - Instead of checking for AF_INET6 at every ifdef, just check once per file - and report that IPv6 support is not available, instead of silently not - building support for it that configure said we were going to build. - - Signed-off-by: Alan Coopersmith - Part-of: - -commit e58ae2d27f7baee28319faa02b77cdc344e2f0ca -Author: Alan Coopersmith -Date: Sat Nov 16 16:37:06 2024 -0800 - - SocketOpenCOTSServer: handle -Wconditional-uninitialized warning - - Clears warning from clang 13: - - .../include/X11/Xtrans/Xtranssock.c:670:14: warning: variable 'ciptr' - may be uninitialized when used here [-Wconditional-uninitialized] - setsockopt (ciptr->fd, SOL_SOCKET, SO_REUSEADDR, - ^~~~~ - .../include/X11/Xtrans/Xtranssock.c:624:25: note: initialize the - variable 'ciptr' to silence this warning - XtransConnInfo ciptr; - ^ - = NULL - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 3fc4f55eb36c02fab3a5b04610d91c481d6a5aec -Author: Alan Coopersmith -Date: Sat Nov 16 15:08:20 2024 -0800 - - SocketOpenCOTSClientBase: handle -Wconditional-uninitialized warning - - Clears warning from clang 13: - - .../include/X11/Xtrans/Xtranssock.c:602:12: warning: variable 'ciptr' - may be uninitialized when used here [-Wconditional-uninitialized] - return ciptr; - ^~~~~ - .../include/X11/Xtrans/Xtranssock.c:575:25: note: initialize the - variable 'ciptr' to silence this warning - XtransConnInfo ciptr; - ^ - = NULL - - Signed-off-by: Alan Coopersmith - Part-of: - -commit dc71da9eb353f2e41af96923f292c621aeddd37f -Author: Alan Coopersmith -Date: Sat Nov 16 14:46:29 2024 -0800 - - Clear -Wmissing-variable-declarations from clang 13 - - Silences 7 warnings of the form: - - .../include/X11/Xtrans/Xtranslcl.c:1347:12: warning: no previous extern - declaration for non-static variable '_FSTransLocalFuncs' - [-Wmissing-variable-declarations] - Xtransport TRANS(LocalFuncs) = { - ^ - .../include/X11/Xtrans/Xtranslcl.c:1347:1: note: declare 'static' if the - variable is not intended to be used outside of this translation unit - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 1dda77bb6ac9f473513a80e8ce5b32c4bde3448a -Author: Alan Coopersmith -Date: Sat Nov 16 14:23:25 2024 -0800 - - Quiet -Wformat-pedantic warnings from clang 13 for non-void-* args to %p - - Clears 23 warnings of the form: - .../include/X11/Xtrans/Xtrans.c:129:36: warning: format specifies type - 'void *' but the argument has type 'XtransConnInfo' - (aka 'struct _XtransConnInfo *') [-Wformat-pedantic] - prmsg (3,"FreeConnInfo(%p)\n", ciptr); - ~~ ^~~~~ - - Signed-off-by: Alan Coopersmith - Part-of: - -commit e69d45306f38367ce3a0a5fa126beeb4e6370585 -Author: Alan Coopersmith -Date: Sat Nov 9 09:17:22 2024 -0800 - - accept const pointers for buf argument to TRANS(Write) - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 0dc46e7ed5bdd876467f9dbb314ba6b8094e541b -Author: Alan Coopersmith -Date: Sat Nov 9 09:04:34 2024 -0800 - - xtrans 1.5.2 - - Signed-off-by: Alan Coopersmith - -commit d312424a6f2d5bff18f150dfecfc632b334fb878 -Author: Alan Coopersmith -Date: Tue Oct 22 14:44:46 2024 -0700 - - is_numeric: Add !defined(IPv6) to checks - - Fixes builds without IPv6 support, since old IPv4 code uses is_numeric() - - Closes: #6 - Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs") - Signed-off-by: Alan Coopersmith - Part-of: - -commit ae99ac32f61e0db92a45179579030a23fe1b5770 -Author: Peter Harris -Date: Tue Oct 15 09:51:33 2024 -0400 - - Fix build when HAVE_STRCASECMP is not defined - - Regression introduced in commit 4792e9e798de327572aba1575438b6936a55c7ef - "Clear numerous -Wsign-compare warnings from gcc 14.1". - - Part-of: - -commit df6ae7c7e0b6241a05ad2814bced637b00b1a83f -Author: Alan Coopersmith -Date: Sat Oct 12 13:39:19 2024 -0700 - - xtrans 1.5.1 - - Signed-off-by: Alan Coopersmith - -commit 0f153064bfa4bb69e86f3f2383f2f421f2360319 -Author: Alan Coopersmith -Date: Sat Aug 24 18:19:45 2024 -0700 - - is_numeric: Add TRANS_SERVER to required ifdefs - - Avoids -Wunused-function warnings when only building for TRANS_CLIENT - code, such as libFS. - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 957adac35fb77d5a72f676d697f32ce94ab7392f -Author: Alan Coopersmith -Date: Sat Aug 24 18:12:16 2024 -0700 - - SocketOpen: avoid leak of out-of-range fd - - Clears gcc 14.1 warning: - - /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_FSTransSocketOpen’: - /usr/include/X11/Xtrans/Xtranssock.c:425:9: warning: leak of file descriptor - [CWE-775] [-Wanalyzer-fd-leak] - 425 | free (ciptr); - | ^~~~~~~~~~~~ - [...] - | 415 | || ciptr->fd >= sysconf(_SC_OPEN_MAX) - | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | | - | | | (62) ...to here - | | (63) following ‘true’ branch... - [...] - - Signed-off-by: Alan Coopersmith - Part-of: - -commit bea5a32105aebdc99f84f9ee4b70de7a116eb1d7 -Author: Alan Coopersmith -Date: Sat Aug 24 17:49:58 2024 -0700 - - GetPeerNetworkId: avoid calling strlen() on a NULL pointer - - Various failure states may leave addr set to NULL instead of a string. - - Clears warnings from gcc 14.1: - - /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetPeerNetworkId’: - /usr/include/X11/Xtrans/Xtransutil.c:402:62: warning: use of NULL ‘addr’ - where non-null expected [CWE-476] [-Wanalyzer-null-argument] - 402 | hostname = malloc (strlen (ciptr->transptr->TransName) + strlen (addr) + 2); - | ^~~~~~~~~~~~ - : note: argument 1 of ‘__builtin_strlen’ must be non-null - - Signed-off-by: Alan Coopersmith - Part-of: - -commit e5390ab716fb470ac4b5fd7a4133eabbfaac994e -Author: Alan Coopersmith -Date: Sat Aug 24 17:44:41 2024 -0700 - - GetPeerNetworkId: Avoid writing to NULL pointer if malloc() fails - - Clears gcc 14.1 warning: - - /usr/include/X11/Xtrans/Xtransutil.c:403:5: warning: use of possibly-NULL - ‘hostname’ where non-null expected [CWE-690] - [-Wanalyzer-possible-null-argument] - 403 | strcpy (hostname, ciptr->transptr->TransName); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - : note: argument 1 of ‘__builtin_strcpy’ must be non-null - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 215e8db07d05d425714b05b8a439c73735f9d04f -Author: Alan Coopersmith -Date: Sat Aug 24 17:40:10 2024 -0700 - - GetMyNetworkId: Avoid writing to NULL pointer if malloc() fails - - Clears warnings from gcc 14.1: - - In file included from /usr/include/X11/Xtrans/transport.c:70: - /usr/include/X11/Xtrans/Xtransutil.c: In function ‘_IceTransGetMyNetworkId’: - /usr/include/X11/Xtrans/Xtransutil.c:253:9: warning: use of possibly-NULL - ‘networkId’ where non-null expected [CWE-690] - [-Wanalyzer-possible-null-argument] - 253 | sprintf (networkId, "%s/%s:%s", transName, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 254 | hostnamebuf, saddr->sun_path); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - : note: argument 1 of ‘__builtin_sprintf’ must be non-null - - /usr/include/X11/Xtrans/Xtransutil.c:283:9: warning: use of possibly-NULL - ‘networkId’ where non-null expected [CWE-690] - [-Wanalyzer-possible-null-argument] - 283 | sprintf (networkId, "%s/%s:%s", transName, hostnamebuf, portnumbuf); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - : note: argument 1 of ‘__builtin_sprintf’ must be non-null - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 376744aa60ff8df0ddbcf090f0177c15706df71e -Author: Alan Coopersmith -Date: Sat Aug 24 17:33:13 2024 -0700 - - MakeAllCOTSServerListeners: Initialize temp_ciptrs - - I don't think this is strictly necessary, but it shouldn't hurt and - makes gcc 14.1 stop warning about: - - /usr/include/X11/Xtrans/Xtrans.c: In function - ‘_IceTransMakeAllCOTSServerListeners’: - /usr/include/X11/Xtrans/Xtrans.h:108:21: warning: use of uninitialized - value ‘temp_ciptrs[j]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] - 108 | #define TRANS(func) _IceTrans##func - /usr/include/X11/Xtrans/Xtrans.c:1203:21: note: in expansion of macro ‘TRANS’ - 1203 | TRANS(Close) (temp_ciptrs[j]); - | ^~~~~ - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 742462a572e524ae82a8c18106c03820da322102 -Author: Alan Coopersmith -Date: Sat Aug 24 17:23:10 2024 -0700 - - ParseAddress: return failure when strdup() fails - - Clears warning from gcc 14.1: - In file included from /usr/include/X11/Xtrans/transport.c:69: - /usr/include/X11/Xtrans/Xtrans.c: In function ‘_IceTransParseAddress’: - /usr/include/X11/Xtrans/Xtrans.c:246:19: warning: use of possibly-NULL ‘mybuf’ - where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] - 246 | if ( ((mybuf = strchr (mybuf,'/')) == NULL) && - | ^~~~~~~~~~~~~~~~~~ - - Signed-off-by: Alan Coopersmith - Part-of: - -commit e9ead32308c588e5c12dbfb6a6452e0f2c88bafd -Author: Alan Coopersmith -Date: Sat Aug 24 17:18:01 2024 -0700 - - SocketINETConnect: return failure when malloc() fails - - Clears warning from gcc 14.1: - In file included from /usr/include/X11/Xtrans/transport.c:67: - /usr/include/X11/Xtrans/Xtranssock.c: In function ‘_IceTransSocketINETConnect’: - /usr/include/X11/Xtrans/Xtranssock.c:1385:33: warning: dereference of - possibly-NULL ‘addrlist’ [CWE-690] [-Wanalyzer-possible-null-dereference] - 1385 | addrlist->firstaddr = NULL; - | ^ - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 4792e9e798de327572aba1575438b6936a55c7ef -Author: Alan Coopersmith -Date: Sat Aug 24 17:11:28 2024 -0700 - - Clear numerous -Wsign-compare warnings from gcc 14.1 - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 9ad6c6764f0517f91492c04ae03a59f53229ef69 -Author: Alan Coopersmith -Date: Sat Aug 24 16:52:05 2024 -0700 - - SocketCreateListener: Fix -Wuseless-cast warning in bind() call - - sockname is defined as struct sockaddr * in the arguments to - SocketCreateListener so we don't need to cast to that when calling bind() - - Signed-off-by: Alan Coopersmith - Part-of: - -commit 9ed4f5ec909cf262a2404012768858792f976e36 -Author: Alan Coopersmith -Date: Sat Aug 24 16:51:17 2024 -0700 - - LocalInitTransports: Fix -Wuseless-cast warning for getenv() call - - Signed-off-by: Alan Coopersmith - Part-of: - -commit edd3f51328df9c621277168c9dd77b1e80ccfd7c -Author: Robert Royals -Date: Sun Jul 21 22:54:27 2024 +0100 - - Fix string length check - - Part-of: - -commit 656d27ed32af4082e8062c1d7c42b65ea3a6b80f -Author: Kim Woelders -Date: Thu Mar 28 18:01:20 2024 +0100 - - TRANS(GetHostname): Fix "‘strncpy’ output truncated.." warning - - Occurs when compiling xserver master with gcc 13.2.1. - - In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69: - In function ‘_XSERVTransGetHostname’, - inlined from ‘_XSERVTransConvertAddress’ at /local/stuff/xorg/include/X11/Xtrans/Xtransutil.c:188:12: - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:1352:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 1352 | strncpy (buf, name.nodename, len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:1350:11: note: length computed here - 1350 | len = strlen (name.nodename); - | ^~~~~~~~~~~~~~~~~~~~~~ - - Signed-off-by: Kim Woelders - Part-of: - -commit 6171150fe9f8edad3f1cfb14cec59e6a42a9c15b -Author: Kim Woelders -Date: Thu Mar 28 17:29:26 2024 +0100 - - TRANS(ParseAddress): Fix "assignment discards ‘const’ qualifier" warnings - - Occurs when compiling xserver master with gcc 13.2.1. - - In file included from /local/stuff/xorg/include/X11/Xtrans/transport.c:69, - from ../os/xstrans.c:17: - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c: In function ‘_XSERVTransParseAddress’: - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:216:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - 216 | _host = ""; - | ^ - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:217:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - 217 | _port = address; - | ^ - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:229:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - 229 | _host = ""; - | ^ - /local/stuff/xorg/include/X11/Xtrans/Xtrans.c:230:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - 230 | _port = address + 5; - | ^ - - Signed-off-by: Kim Woelders - Part-of: - -commit c219be946b1d8a641dcbc7a60904293f105e2866 -Author: Enrico Weigelt, metux IT consult -Date: Wed Apr 3 12:11:48 2024 +0200 - - update .gitignore - - Add some yet missing auto-generated files. - - Signed-off-by: Enrico Weigelt, metux IT consult - -commit 806f04c6e4529358f160e53135baf105e4ecf3b8 -Author: Alan Coopersmith -Date: Fri Oct 13 13:37:49 2023 -0700 - - gitlab CI: add libc-dev to required packages in build container - - Resolves configure failure: - configure:3823: checking whether the C compiler works - configure:3845: gcc conftest.c >&5 - /usr/bin/ld: cannot find Scrt1.o: No such file or directory - /usr/bin/ld: cannot find crti.o: No such file or directory - collect2: error: ld returned 1 exit status - configure:3849: $? = 1 - configure:3889: result: no - - Signed-off-by: Alan Coopersmith - -commit 3aa3c318ded5da802e181f0d29b94ab6a692e387 -Author: Alan Coopersmith -Date: Fri Oct 13 13:32:15 2023 -0700 - - gitlab CI: collect config.log to help diagnose failures - - Signed-off-by: Alan Coopersmith - -commit 6d5a4512b5ee4757a474df3f5e938784da963de1 -Author: Alan Coopersmith -Date: Fri Oct 13 13:26:49 2023 -0700 - - gitlab CI: add xz-utils to container for "make distcheck" - - Also update to latest ci-templates - - Signed-off-by: Alan Coopersmith - -commit 3b3a3bd75d86aec78f6ef893b198c3efc378bc64 -Author: Alan Coopersmith -Date: Fri Jun 2 17:29:41 2023 -0700 - - xtrans 1.5.0 - - Signed-off-by: Alan Coopersmith - -commit 232a11a947564762689e63c3a6603d3f956f696d -Author: Demi Marie Obenour -Date: Thu Dec 15 14:48:13 2022 -0500 - - DISPLAY starting with unix: or / is always a socket path - - Do not consider anything else in this case. - - Signed-off-by: Demi Marie Obenour - -commit b898f415e7c31de5b4beb06b22a5498049852e53 -Author: Demi Marie Obenour -Date: Thu Dec 15 14:43:37 2022 -0500 - - Allow full paths to sockets on non-macOS - - This adds explicit checks for addresses that start with / or unix: and - uses full paths in this case. - - Signed-off-by: Demi Marie Obenour - -commit e24adec1203cd25423ab2835a5be4f6b828b72a5 -Author: Demi Marie Obenour -Date: Thu Dec 17 03:28:45 2020 +0000 - - Remove client-side abstract socket support - - CVE-2020-25697 and the Flatpak documentation show that clients using - abstract sockets without mutual authentication is unsafe. - TRANS_ABSTRACT remains supported, but it is now a no-op on the client - side. Abstract sockets are still supported for servers, as the X server - authenticates the client via other methods. - - Signed-off-by: Demi Marie Obenour - -commit 9d77996f9f972da63c06099fd8c0f0529159b98f -Author: Alan Coopersmith -Date: Sat Feb 25 09:33:29 2023 -0800 - - Remove "All rights reserved" from Oracle copyright notices - - Oracle no longer includes this term in our copyright & license notices. - - Signed-off-by: Alan Coopersmith - -commit 9ae32feef793082a302e65d31514a958604c761d -Author: Olivier Fourdan -Date: Tue Jun 25 14:59:59 2019 +0200 - - Allow partial connection to succeed - - Xwayland can optionally be socket-activated by the Wayland compositor, - in which case it would use only the sockets provided by the compositor. - - However, that prevents other transport protocols from working, because - when it's given a socket from the Wayland compositor, it would disable - all other connections and rely solely on the given socket. - - Change `MakeAllCOTSServerListeners` to allow for partial connections so - that if `partial` is set to a non-zero value by the caller, we do not - bail out in the address is already in use. - - That allows to continue trying with other protocols even if the local - connection fails (as this is already handled by the socket from the - Wayland compositor). - - Related: https://gitlab.freedesktop.org/xorg/xserver/issues/817 - Signed-off-by: Olivier Fourdan - -commit c761c6505d49e8381a3eae94f2e5e118cbdf6487 -Author: Keith Packard -Date: Wed Jan 29 12:54:26 2014 -0800 - - Use font server ErrorF/VErrorF instead of private versions - - XTrans creates custom ErrorF/VErrorF functions when the including - project doesn't provide them, however the test for that is weak and xtrans - ends up using the private versions for the font server as well. - - This means that all xtrans error messages will not be included in the - font server log. It also causes redefinition warnings when building - the font server (which is how this problem was identified). - - However, the font server doesn't currently provide a VErrorF function, - so instead of just always relying on the font server to provide these - functions, this patch uses a new TRANS_HAS_ERRORF define to select - whether the project-provided or internal versions will be used. A - patch to the font server that adds VErrorF and defines - TRANS_HAS_ERRORF will be required to fix this bug. - - Signed-off-by: Keith Packard - -commit 8c0f5228e75aa949963aa8d27dcfa2648db2e197 -Author: Keith Packard -Date: Wed Jan 29 12:54:25 2014 -0800 - - move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPEN - - Don't define this function unless it is actually going to be used. - - Signed-off-by: Keith Packard - -commit 3309c75906a56de86607f59481304b3a2812162f -Author: Alan Coopersmith -Date: Tue May 10 09:18:15 2022 -0700 - - gitlab CI: add a basic build test - - Signed-off-by: Alan Coopersmith - -commit c069ede3c97f543d9bbe9ed67e56c74142921cc5 -Author: Alan Coopersmith -Date: Tue May 10 09:15:11 2022 -0700 - - Fix spelling/wording issues - - Found by using: - codespell --builtin clear,rare,usage,informal,code,names - - Signed-off-by: Alan Coopersmith - -commit 16a015524f3820f969362c2d10a3664999a12c3b -Author: Alan Coopersmith -Date: Tue May 10 09:11:07 2022 -0700 - - Build xz tarballs instead of bzip2 - - Signed-off-by: Alan Coopersmith - -commit 7898badde44cf518da6879c2622b6db9cd709c7d -Author: Ray Strode -Date: Fri May 6 14:23:59 2022 -0400 - - Automatically disable inet6 transport if ipv6 is disabled on machine - - If a machine is booted with ipv6.disable=1, trying to bind to an - AF_INET6 socket will fail with AFNOSUPPORT. - - The tcp transport automatically falls back to ipv4 in this case, but - the more specific inet6 transport just fails. - - This failure leads to MakeAllCOTSServerListeners returning a partial - success. - - Unfortunately, the X server can't really contiue with partial successes - from this function if -displayfd is in use, since that would, in other - cases, potentially lead to the -displayfd electing a display number that - is potentially partially in use by a rogue program. - - This commit addresses the issue by automatically disabling transports - when they fail with AFNOSUPPORT, leading them to get ignored, rather than - proceeding and ultimately returning from MakeAllCOTSServerListerns with - partial=TRUE. - -commit 3b5df889f58a99980a35a7b4a18eb4e7d2abeac4 -Author: Adam Jackson -Date: Wed Oct 9 14:05:47 2019 -0400 - - TEST_t is never defined - - This didn't even correspond to any of the testing protocol extensions! - Apparently there used to be some test programs in xtrans itself, and - they've not been a thing since 1994: - - https://cgit.freedesktop.org/~alanc/xc-historical/commit/?id=73bf4832c427855b2ce111d47dd1f181564b8d06 - - Reviewed-by: Alan Coopersmith - -commit d0d471579ca69365d4cd5a548ce6fc8b4662d467 -Author: Adam Jackson -Date: Wed Sep 25 11:09:52 2019 -0400 - - Remove non-Solaris SysV support - - Reviewed-by: Alan Coopersmith - -commit 521682b8b72e3ad50c9ae66a9b35249100188eb2 -Author: Adam Jackson -Date: Tue Sep 24 21:29:46 2019 -0400 - - Delete SCO support - - Reviewed-by: Alan Coopersmith - -commit 3f8b27a9dff68792fdc448782459a6d41cade9ff -Author: Adam Jackson -Date: Tue Sep 24 19:48:17 2019 -0400 - - unifdef USG and NCR - - Reviewed-by: Alan Coopersmith - -commit c4262efc9688e495261d8b23a12f956ab38e006f -Author: Alan Coopersmith -Date: Sat Mar 16 14:25:35 2019 -0700 - - xtrans 1.4.0 - - Signed-off-by: Alan Coopersmith - -commit faa42207a0653535ab80825b0acb50b417702ec4 -Author: Alan Coopersmith -Date: Fri Dec 7 19:52:43 2018 -0800 - - Update configure.ac bug URL for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit cd22de616c77328da3410b1eaab541c2d331ffdb -Author: Alan Coopersmith -Date: Mon Nov 19 23:12:07 2018 -0800 - - Update README for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit 06cfa80fb3d03ca03fd92f9687a77958338e012c -Author: Alan Coopersmith -Date: Sun Sep 30 17:04:51 2018 -0700 - - Use fchmod() instead of chmod() when creating named pipes - - Signed-off-by: Alan Coopersmith - -commit 7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50 -Author: Alan Coopersmith -Date: Sat Aug 25 11:18:52 2018 -0700 - - Use strcasecmp if it's available, instead of lowercasing strings - - Signed-off-by: Alan Coopersmith - -commit 941cfa50bc2d45f20943fd21bab98e2eceeeb259 -Author: Alan Coopersmith -Date: Sat Aug 25 10:45:04 2018 -0700 - - Set freeXLOCAL to NULL after freeing it to prevent double frees - - We shouldn't be calling the LocalEndTransports routine twice, but - just make sure if we do, we don't call free twice on the same pointer. - - Signed-off-by: Alan Coopersmith - -commit a97e5fc6e4f294294d75500068892aea11952773 -Author: Rin Okuyama -Date: Tue Feb 21 06:18:37 2017 +0000 - - avoid -Wformat errors from clang - - https://bugs.freedesktop.org/show_bug.cgi?id=99882 - - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 28366676effaa512e43bfd2276a317389a992511 -Author: Emil Velikov -Date: Mon Mar 9 12:00:52 2015 +0000 - - autogen.sh: use quoted string variables - - Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent - fall-outs, when they contain space. - - Signed-off-by: Emil Velikov - Reviewed-by: Peter Hutterer - Signed-off-by: Peter Hutterer - -commit 8554cf05262ab6ad6e8da5f11022e5dc2a452e38 -Author: Peter Hutterer -Date: Tue Jan 24 10:32:07 2017 +1000 - - autogen.sh: use exec instead of waiting for configure to finish - - Syncs the invocation of configure with the one from the server. - - Signed-off-by: Peter Hutterer - Reviewed-by: Emil Velikov - -commit 560d7550e23e9b14056b4a9b2569c2f256015f8a -Author: Jeremy Huddleston Sequoia -Date: Sat Sep 10 22:09:51 2016 -0700 - - Update strlcpy macro check to also check HAVE_STRLCPY - - xorg-server moved from HAS_STRLCPY to HAVE_STRLCPY in 2011 - - cf-xserver: d829a7c5cb42c979b58f3547136df5b05d906423 - - Signed-off-by: Jeremy Huddleston Sequoia - -commit 2e4c338eda8ec6996b7bacc1d0c7dfe7de925864 -Author: Adam Jackson -Date: Thu Sep 1 09:28:58 2016 -0400 - - Revert "Make FreeConnInfo static" - - ajax: 75419e6b6d985ea8796f05d1acb5e154b065c9b9 of xtrans also - seems to have broken xtest. - - And indeed it does, xts5 knows a fair amount about xlib internals for - some reason. Whether that's cromulent or not, we want to be able to run - automatic tests from top-of-tree, so we can't leave this broken. - - This reverts commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9. - - Signed-off-by: Adam Jackson - -commit 3810e026323210df6ec6cf818f01832a63e9fbb9 -Author: Adam Jackson -Date: Wed May 18 12:58:31 2016 -0400 - - Remove GetMyAddr - - Again, pre-xcb libX11 was the only consumer. - - Reviewed-by: Keith Packard - Signed-off-by: Adam Jackson - -commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9 -Author: Adam Jackson -Date: Wed May 18 12:50:48 2016 -0400 - - Make FreeConnInfo static - - libX11 used to need this in the XOpenDisplay code, but hasn't since xcb - became mandatory. - - Reviewed-by: Keith Packard - Signed-off-by: Adam Jackson - -commit 0794b1b712a90b40e2b019c9edc6f96874493c52 -Author: Adam Jackson -Date: Wed May 18 12:41:41 2016 -0400 - - unifdef LBXPROXY_t and TEST_t - - LBX is dead, and TEST_t is unused. - - Reviewed-by: Keith Packard - Signed-off-by: Adam Jackson - -commit 473e77563b16fa7c42db9403c1382e9483e3666c -Author: Adam Jackson -Date: Wed May 18 12:38:02 2016 -0400 - - Remove CLTS code - - Never been used, as far as I can tell. - - Reviewed-by: Keith Packard - Signed-off-by: Adam Jackson - -commit b167145a51153eccc16a3e43f7ed0faea7e6c762 -Author: Adam Jackson -Date: Wed May 18 15:19:50 2016 -0400 - - autogen: Add a default patch prefix - - Signed-off-by: Adam Jackson - -commit cc29fbc1fe86ae4dfe2f4eaae7352ea86aa4acac -Author: Alan Coopersmith -Date: Sat Nov 28 13:04:21 2015 -0800 - - Remove support for SysV on x86 platforms other than Solaris & SCO - - No other x86 SysV platforms have ever been supported in the modular - build systems, so we don't need to keep carrying around a bunch of - ifdef's for them. - - Signed-off-by: Alan Coopersmith - Reviewed-by: Mark Kettenis - -commit 3ba0b7a37b9053662ff42f0b4caa856856098475 -Author: Richard PALO -Date: Tue Nov 17 07:02:27 2015 +0100 - - Replace 'sun' with '__sun' - - Globally replace #ifdef and #if defined usage of 'sun' with '__sun' such - that strict ISO compiler modes such as -ansi or -std=c99 can be used. - - Signed-off-by: Richard PALO - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 1d31b87e8045f3fc89b1914187a9a13861d35f2d -Author: Julien Cristau -Date: Wed Jul 29 20:36:13 2015 +0200 - - Make sure LONG64 is defined in Xtrans.h - - Xtrans.h defines BytesReadable_t as int or long depending on whether - LONG64 is defined. We need to make sure Xmd.h is included so our idea - of BytesReadable_t is consistent across compilation units. - - Debian bug#749120 - - Reported-by: Michael Tautschnig - Signed-off-by: Julien Cristau - Reviewed-by: Alan Coopersmith - commit 7cbad9fe2e61cd9d5caeaf361826a6f4bd320f03 Author: Keith Packard Date: Sat Sep 20 10:02:05 2014 -0700 --- xtrans-1.6.0.orig/autogen.sh +++ xtrans-1.6.0/autogen.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf -v --install || exit 1 +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix || + git config --local format.subjectPrefix "PATCH libxtrans" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi --- xtrans-1.6.0.orig/debian/README.source +++ xtrans-1.6.0/debian/README.source @@ -0,0 +1,73 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. + +quilt is actually invoked by the Debian X packaging through a larger +set of scripts called XSFBS. XSFBS brings some other X specific +features such as managing dependencies and conflicts due to the video +and input driver ABIs. +XSFBS itself is maintained in a separate repository at + git://git.debian.org/pkg-xorg/xsfbs.git +and it is pulled inside the other Debian X repositories when needed. + +The XSFBS patching system requires a build dependency on quilt. Also +a dependency on $(STAMP_DIR)/patch has to be added to debian/rules +so that the XSFBS patching occurs before the actual build. So the +very first target of the build (likely the one running autoreconf) +should depend on $(STAMP_DIR)/patch. It should also not depend on +anything so that parallel builds are correctly supported (nothing +should probably run while patching is being done). And finally, the +clean target should depend on the xsfclean target so that patches +are unapplied on clean. + +When the upstream sources contain some DFSG-nonfree files, they are +listed in text files in debian/prune/ in the "debian-*" branch of +the Debian repository. XSFBS' scripts then take care of removing +these listed files during the build so as to generate a modified +DFSG-free .orig.tar.gz tarball. --- xtrans-1.6.0.orig/debian/changelog +++ xtrans-1.6.0/debian/changelog @@ -0,0 +1,286 @@ +xtrans (1.6.0-1) unstable; urgency=medium + + [ Debian Janitor ] + * Remove constraints unnecessary since buster: + + Build-Depends: Drop versioned constraint on xmlto, xorg-sgml-doctools and + xutils-dev. + * Bump debhelper from old 12 to 13. + + debian/rules: Drop --fail-missing argument to dh_missing, which is now the + default. + * Fix day-of-week for changelog entry 0.2+cvs.20050513-1. + * Update standards version to 4.6.1, no changes needed. + + [ Timo Aaltonen ] + * New upstream release. + * control: Migrate to pkgconf. + + -- Timo Aaltonen Sat, 20 Sep 2025 22:28:49 +0300 + +xtrans (1.4.0-1) unstable; urgency=medium + + [ Timo Aaltonen ] + * New upstream release. (Closes: #952467) + * Use debhelper-compat, bump to 12. + * rules: Migrate to dh. + * control: Bump policy to 4.5.0. + * watch: Update upstream git url. + * xsfbs: Removed. + + [ Daniel Kahn Gillmor ] + * correct URLs in debian/ to use https where possible + * fix up Vcs-* fields + + -- Timo Aaltonen Wed, 26 Feb 2020 13:53:10 +0200 + +xtrans (1.3.5-1) unstable; urgency=medium + + * New upstream release. + + -- Maarten Lankhorst Tue, 04 Nov 2014 14:22:28 +0100 + +xtrans (1.3.4-1) unstable; urgency=medium + + * New upstream release. + + -- Julien Cristau Sun, 13 Apr 2014 18:58:37 +0200 + +xtrans (1.3.2-1) unstable; urgency=low + + [ Michele Cane ] + * New upstream release. + * Bump Standards-Version to 3.9.4, no changes needed. + + -- Julien Cristau Sun, 24 Nov 2013 16:54:35 +0100 + +xtrans (1.2.7-1) unstable; urgency=low + + * New upstream release. + * Drop dh_testroot from debian/rules clean. + * Bump xutils-dev, xmlto and xorg-sgml-doctools build-deps. + + -- Julien Cristau Sat, 05 May 2012 17:27:47 +0200 + +xtrans (1.2.6-2) unstable; urgency=low + + [ Julien Cristau ] + * Remove David and Brice from Uploaders. + * Drop obsolete Pre-Depends on x11-common. + + [ Steve Langasek ] + * Mark xtrans-dev Multi-Arch: foreign + + -- Steve Langasek Fri, 17 Jun 2011 10:03:47 -0700 + +xtrans (1.2.6-1) unstable; urgency=low + + [ Julien Cristau ] + * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no + good reason. Thanks, Colin Watson! + * Remove myself from Uploaders + + [ Cyril Brulebois ] + * New upstream release. + * Update debian/copyright from upstream COPYING. + * Bump xutils-dev build-dep for new macros. + * Add pkg-config build-dep. + * Add xmlto, xorg-sgml-doctools, and w3m build-dep for the doc. + * Pass --with-xmlto and --without-fop (we want html and txt only). + * Pass --docdir=/usr/share/doc/xtrans-dev and add this directory to + xtrans-dev.install file. + * Switch from --list-missing to --fail-missing for additional safety. + * No longer pass --disable-shared, this option is gone. + * Add myself to Uploaders. + + -- Cyril Brulebois Sat, 20 Nov 2010 23:20:03 +0100 + +xtrans (1.2.5-1) unstable; urgency=low + + * New upstream release. + * Bump xutils-dev build-dep for new util-macros. + * xtrans.pc moved to /usr/share/. + * Bump Standards-Version to 3.8.3. + + -- Julien Cristau Mon, 07 Dec 2009 15:00:56 +0100 + +xtrans (1.2.4-1) unstable; urgency=low + + * New upstream release. + * Add README.source, bump Standards-Version to 3.8.2. + + -- Brice Goglin Sat, 01 Aug 2009 09:26:20 +0200 + +xtrans (1.2.3-3) unstable; urgency=low + + * Upload to unstable. Now really. + + -- Julien Cristau Mon, 16 Feb 2009 21:58:58 +0100 + +xtrans (1.2.3-2) experimental; urgency=low + + * Upload to unstable. + + -- Julien Cristau Mon, 16 Feb 2009 01:34:31 +0100 + +xtrans (1.2.3-1) experimental; urgency=low + + * New upstream release. + * Bump xutils-dev build-dep to >= 1:7.4+4 for util-macros 1.2. + + -- Julien Cristau Fri, 16 Jan 2009 04:53:05 +0100 + +xtrans (1.2.2-1) experimental; urgency=low + + [ Brice Goglin ] + * Add a link to www.X.org and a reference to the upstream module + in the long description. + + [ Julien Cristau ] + * New upstream release. + * Switch to running autoreconf at build time. Update debian/rules, and + build-depend on automake and xutils-dev. + * Stop looking for nostrip (we don't build anything anyway); allow parallel + builds using sample code from policy. + + -- Julien Cristau Tue, 23 Dec 2008 16:39:04 +0100 + +xtrans (1.2-2) unstable; urgency=low + + * Pull from upstream git, yet more fixes for abstract socket handling. + + -- Julien Cristau Thu, 22 May 2008 17:26:57 +0200 + +xtrans (1.2-1) unstable; urgency=high + + * High urgency upload for RC bug fix. + * New upstream release + + fixes abstract unix domain sockets (closes: #480142) + + fixes xserver build on kfreebsd (closes: #472357) + + returns failure instead of 'try again' when opening a unix domain socket + returns ENOENT (closes: #385976) + + -- Julien Cristau Fri, 09 May 2008 11:21:29 +0200 + +xtrans (1.1-1) unstable; urgency=low + + * New upstream release. + * debian/control updates: + + Add myself to Uploaders + + Bump Standards-Version to 3.7.3 (no changes) + + Drop the XS- prefix for Vcs headers + + -- Julien Cristau Fri, 07 Mar 2008 13:29:58 +0100 + +xtrans (1.0.4-1) unstable; urgency=low + + * New upstream release. + * Add upstream URL to debian/copyright. + * Add myself to Uploaders, and remove Branden with his permission. + + -- Brice Goglin Wed, 22 Aug 2007 20:02:32 +0200 + +xtrans (1.0.3-2) unstable; urgency=low + + * Remove Fabio from Uploaders, with his permission. + * Add XS-Vcs-Git and XS-Vcs-Browser. + * Drop outdated CVS info from the long description. + * Complete debian/copyright from COPYING. + * Install the upstream README. + * Upload to unstable. + + -- Julien Cristau Thu, 12 Apr 2007 18:23:54 +0200 + +xtrans (1.0.3-1) experimental; urgency=low + + * New upstream release. + + All our patches are now included upstream. + * Install upstream ChangeLog. + + -- Julien Cristau Mon, 12 Feb 2007 19:14:55 +0100 + +xtrans (1.0.1-3) unstable; urgency=low + + * Include patch 02_sunlen_nonbsd_sock.patch from upstream (see + upstream bug #4982). Follows on from 02_gnu-kbsd_sock_un.diff. + Closes: #338290. + + -- Drew Parsons Mon, 16 Oct 2006 22:39:05 +1000 + +xtrans (1.0.1-2) unstable; urgency=low + + [ Andres Salomon ] + * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build; + idempotency fix. + + [ David Nusinow ] + * Upload to unstable + + -- David Nusinow Mon, 28 Aug 2006 21:28:23 +0000 + +xtrans (1.0.1-1) experimental; urgency=low + + * New upstream release + * Remove security patch from previous upload. It's now included in this + release by upstream. + * Append a super-minor version number to x11-common pre-depends to shut + lintian up + * Bump debhelper compat to 5 + * Run dh_install with --list-missing + + -- David Nusinow Sat, 1 Jul 2006 23:27:34 -0400 + +xtrans (1.0.0-6) unstable; urgency=high + + * Security update. Fix for setuid privledge escalation vulernabilities. + See https://lists.freedesktop.org/archives/xorg/2006-June/016146.html for + the full advisory. + * Bump standards version to 3.7.2.0 + * Change build-depends-indep to build-depends because of quilt and debhelper + being used in the clean target + + -- David Nusinow Fri, 30 Jun 2006 02:15:39 -0400 + +xtrans (1.0.0-5) unstable; urgency=low + + * Reorder makeshlib command in rules file so that ldconfig is run + properly. Thanks Drew Parsons and Steve Langasek. + * Add quilt to build-depends + + -- David Nusinow Wed, 19 Apr 2006 02:48:22 -0400 + +xtrans (1.0.0-4) unstable; urgency=low + + * Upload to unstable + + -- David Nusinow Thu, 23 Mar 2006 22:46:37 -0500 + +xtrans (1.0.0-3) experimental; urgency=low + + * Bump x11-common version requirement. Thanks Kurt Roeckx. (closes: #351779) + + -- David Nusinow Sun, 19 Mar 2006 23:29:08 -0500 + +xtrans (1.0.0-2) experimental; urgency=low + + * Port patches from trunk + + hurd/804_maxhostnamelen.diff + + freebsd/003_gnu-kbsd_sock_un.diff + + -- David Nusinow Sun, 5 Mar 2006 20:51:47 -0500 + +xtrans (1.0.0-1) experimental; urgency=low + + * First upload to Debian + + -- David Nusinow Thu, 29 Dec 2005 20:55:24 -0500 + +xtrans (0.99.0-1) breezy; urgency=low + + * Bump to new upstream. + + -- Daniel Stone Wed, 10 Aug 2005 20:04:46 +1000 + +xtrans (0.2+cvs.20050513-1) breezy; urgency=low + + * First xtrans release. + + -- Daniel Stone Fri, 13 May 2005 00:12:17 +1000 --- xtrans-1.6.0.orig/debian/control +++ xtrans-1.6.0/debian/control @@ -0,0 +1,35 @@ +Source: xtrans +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Uploaders: Cyril Brulebois +Build-Depends: + debhelper-compat (= 13), + quilt, + automake, + xutils-dev, + pkgconf, + xmlto, + xorg-sgml-doctools, + w3m, +Standards-Version: 4.6.1 +Vcs-Git: https://salsa.debian.org/xorg-team/lib/xtrans.git +Vcs-Browser: https://salsa.debian.org/xorg-team/lib/xtrans + +Package: xtrans-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: X transport library (development files) + xtrans includes a number of routines to make X implementations + transport-independent; at time of writing, it includes support for UNIX + sockets, IPv4, IPv6, and DECnet. + . + xtrans is not actually a library in itself; it includes .c files which are + then used in the compilation of X servers, libraries, et al. + . + More information about X.Org can be found at: + + . + This module can be found at + https://cgit.freedesktop.org/xorg/lib/libxtrans/ --- xtrans-1.6.0.orig/debian/copyright +++ xtrans-1.6.0/debian/copyright @@ -0,0 +1,126 @@ +This package was downloaded from +https://www.x.org/releases/individual/lib/ + +Debianised by Daniel Stone . + +Copyright 1993, 1994, 1998, 2002 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from The Open Group. + +______________________________________________________________________________ + +Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name NCR not be used in advertising +or publicity pertaining to distribution of the software without specific, +written prior permission. NCR makes no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +NCR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN +NO EVENT SHALL NCR BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +______________________________________________________________________________ + +Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +______________________________________________________________________________ + +(c) Copyright 1996 by Sebastien Marineau and Holger Veit + + + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +HOLGER VEIT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of Sebastien Marineau or +Holger Veit shall not be used in advertising or otherwise to promote +the sale, use or other dealings in this Software without prior written +authorization from Holger Veit or Sebastien Marineau. + +______________________________________________________________________________ + +Copyright © 2003 Keith Packard, Noah Levitt + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Keith Packard not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. Keith Packard makes no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. --- xtrans-1.6.0.orig/debian/rules +++ xtrans-1.6.0/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# debian/rules for the Debian xtrans-dev package. +# Copyright © 2004 Scott James Remnant +# Copyright © 2005 Daniel Stone +# Copyright © 2005 David Nusinow + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +override_dh_auto_configure: + dh_auto_configure -- \ + --libdir=/usr/lib \ + --docdir=/usr/share/doc/xtrans-dev \ + --with-xmlto \ + --without-fop \ + +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +%: + dh $@ --with quilt \ + --builddirectory=build/ --- xtrans-1.6.0.orig/debian/watch +++ xtrans-1.6.0/debian/watch @@ -0,0 +1,3 @@ +#git=https://gitlab.freedesktop.org/xorg/lib/libxtrans.git +version=3 +https://www.x.org/releases/individual/lib/ xtrans-(.*)\.tar\.gz --- xtrans-1.6.0.orig/debian/xtrans-dev.install +++ xtrans-1.6.0/debian/xtrans-dev.install @@ -0,0 +1,4 @@ +usr/include/X11/Xtrans/* +usr/share/aclocal/xtrans.m4 +usr/share/pkgconfig/xtrans.pc +usr/share/doc/xtrans-dev/