Benjamin Drung [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Merge qt6-base (6.4.2+dfsg-21.1) import into refs/heads/workingbranch
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Don't use yield on CPUs that might not support it
Gbp-Pq: Name armel-noyield.patch
John David Anglin [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Change how stack grows on HPPA.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28
On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.
Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
remove RPATH/RUNPATH from examples' binaries.
Forwarded: not-needed
Last-Update: 2023-07-23
On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.
Gbp-Pq: Name remove_rpath_from_examples.patch
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Avoid trying to build the htmlinfo example
Forwarded: not-needed
This example uses non-free images, so we had to remove it from the original
tarball.
This patch avoid building this example.
Gbp-Pq: Name no_htmlinfo_example.patch
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
force the usage of the shared libzstd library.
Bug: https://bugreports.qt.io/browse/QTBUG-110978
Forwarded: not-needed
The library provides both versions, and the original code prefers the static
version over the shared, while on Debian it should always use the shared
version.
Gbp-Pq: Name force_shared_libzstd.patch
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
cross
Gbp-Pq: Name cross.patch
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.
https://reproducible-builds.org/docs/build-path/
Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
remove non-used privacy-breach code
Forwarded: not-needed
Last-Update: 2015-02-18
This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.
Gbp-Pq: Name remove_privacy_breaches.diff
John Paul Adrian Glaubitz [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Add SH description
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.
SH is working on Debian, so as an intermediate measure re enable it here.
Gbp-Pq: Name Add-SH-detection.patch
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Fix CVE-2023-24607
Forwarded: not-needed
CVE-2023-24607 can trigger a DOS with a specifically crafted string,
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1031871.
This patch https://codereview.qt-project.org/c/qt/qtbase/+/456216,
https://codereview.qt-project.org/c/qt/qtbase/+/457637 and
https://codereview.qt-project.org/c/qt/qtbase/+/457937
See: https://www.qt.io/blog/security-advisory-qt-sql-odbc-driver-plugin
Gbp-Pq: Name cve-2023-24607.patch
Pino Toscano [Tue, 15 Nov 2022 06:15:44 +0000 (07:15 +0100)]
[PATCH] Add/enable Alpha detection
- uncomment the Alpha detection defining Q_PROCESSOR_ALPHA, which is
already used/documented in few places
- set the right machine type in QElfParser for Alpha ELF files
Pick-to: 6.5
Change-Id: I072bdee8b73ad3c86591c764aa7075c114967fd9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Gbp-Pq: Name upstream_Add-enable-Alpha-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:17:57 +0000 (23:17 +0200)]
[PATCH] Add M68k detection
- detect the M68k architecture (Motorola 68000) and define
Q_PROCESSOR_M68K
- set the right machine type in QElfParser for M68k ELF files
Change-Id: Ie5694abbe1ae2bfeb5692defba0ca6062c1d60ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-M68k-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:15:30 +0000 (23:15 +0200)]
[PATCH] Add HPPA detection
- detect the HPPA architecture (PA-RISC) and define Q_PROCESSOR_HPPA
- set the right machine type in QElfParser for HPPA ELF files
Change-Id: I5214ce64ef1fdd0ecca3d6c1694c5db9b2852a22
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-HPPA-detection.patch
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
cve-2023-33285
Gbp-Pq: Name cve-2023-33285.diff
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
cve-2023-32763
Gbp-Pq: Name cve-2023-32763.diff
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
cve-2023-32762
Gbp-Pq: Name cve-2023-32762.diff
Mårten Nordheim [Wed, 10 May 2023 14:43:41 +0000 (16:43 +0200)]
[PATCH] Schannel: Reject certificate not signed by a configured CA certificate
Not entirely clear why, but when building the certificate chain for a
peer the system certificate store is searched for root certificates.
General expectation is that after calling
`sslConfiguration.setCaCertificates()` the system certificates will
not be taken into consideration.
To work around this behavior, we do a manual check that the root of the
chain is part of the configured CA certificates.
Pick-to: 6.5 6.2 5.15
Change-Id: I03666a4d9b0eac39ae97e150b4743120611a11b3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name cve-2023-34410-
ada2c57.diff
Mårten Nordheim [Thu, 25 May 2023 12:40:29 +0000 (14:40 +0200)]
[PATCH] Ssl: Copy the on-demand cert loading bool from default config
Otherwise individual sockets will still load system certificates when
a chain doesn't match against the configured CA certificates.
That's not intended behavior, since specifically setting the CA
certificates means you don't want the system certificates to be used.
Follow-up to/amends
ada2c573c1a25f8d96577734968fe317ddfa292a
This is potentially a breaking change because now, if you ever add a
CA to the default config, it will disable loading system certificates
on demand for all sockets. And the only way to re-enable it is to
create a null-QSslConfiguration and set it as the new default.
Pick-to: 6.5 6.2 5.15
Change-Id: Ic3b2ab125c0cdd58ad654af1cb36173960ce2d1e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Gbp-Pq: Name cve-2023-34410-
57ba626.diff
Ahmad Samir [Thu, 22 Jun 2023 12:56:07 +0000 (15:56 +0300)]
[PATCH] QXmlStreamReader: make fastScanName() indicate parsing status to callers
This fixes a crash while parsing an XML file with garbage data, the file
starts with '<' then garbage data:
- The loop in the parse() keeps iterating until it hits "case 262:",
which calls fastScanName()
- fastScanName() iterates over the text buffer scanning for the
attribute name (e.g. "xml:lang"), until it finds ':'
- Consider a Value val, fastScanName() is called on it, it would set
val.prefix to a number > val.len, then it would hit the 4096 condition
and return (returned 0, now it returns the equivalent of
std::null_opt), which means that val.len doesn't get modified, making
it smaller than val.prefix
- The code would try constructing an XmlStringRef with negative length,
which would hit an assert in one of QStringView's constructors
Add an assert to the XmlStringRef constructor.
Add unittest based on the file from the bug report.
Later on I will replace FastScanNameResult with std::optional<qsizetype>
(std::optional is C++17, which isn't required by Qt 5.15, and we want to
backport this fix).
Credit to OSS-Fuzz.
Fixes: QTBUG-109781
Fixes: QTBUG-114829
Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I455a5eeb47870c2ac9ffd0cbcdcd99c1ae2dd374
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Gbp-Pq: Name cve-2023-37369.diff
Liang Qi [Tue, 10 Oct 2023 12:08:48 +0000 (14:08 +0200)]
[PATCH] xkb: fix build with libxkbcommon 1.6.0 and later
A few XKB_KEY_dead_* defines got removed from 1.6.0. See also
https://github.com/xkbcommon/libxkbcommon/blob/
6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L9-L14
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70/diffs?commit_id=
cb44799b72f611eb4c9d7cc185bc3b09e070be08
Pick-to: 6.6 6.5 6.2 5.15
Fixes: QTBUG-117950
Change-Id: I55861868f2bb29c553d68365fa9b9b6ed01c9aea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Gbp-Pq: Name libxkbcommon_1.6.0.diff
Debian Qt/KDE Maintainers [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
cve-2023-51714
Gbp-Pq: Name cve-2023-51714.diff
Benjamin Drung [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
qt6-base (6.4.2+dfsg-21.1) unstable; urgency=medium
* Non-maintainer upload.
* Rename libraries for 64-bit time_t transition. Closes: #
1062725
[dgit import unpatched qt6-base 6.4.2+dfsg-21.1]
Benjamin Drung [Thu, 29 Feb 2024 21:45:27 +0000 (21:45 +0000)]
Import qt6-base_6.4.2+dfsg-21.1.debian.tar.xz
[dgit import tarball qt6-base 6.4.2+dfsg-21.1 qt6-base_6.4.2+dfsg-21.1.debian.tar.xz]
Patrick Franz [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Merge qt6-base (6.4.2+dfsg-21) import into refs/heads/workingbranch
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Don't use yield on CPUs that might not support it
Gbp-Pq: Name armel-noyield.patch
John David Anglin [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Change how stack grows on HPPA.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28
On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.
Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
remove RPATH/RUNPATH from examples' binaries.
Forwarded: not-needed
Last-Update: 2023-07-23
On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.
Gbp-Pq: Name remove_rpath_from_examples.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Avoid trying to build the htmlinfo example
Forwarded: not-needed
This example uses non-free images, so we had to remove it from the original
tarball.
This patch avoid building this example.
Gbp-Pq: Name no_htmlinfo_example.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
force the usage of the shared libzstd library.
Bug: https://bugreports.qt.io/browse/QTBUG-110978
Forwarded: not-needed
The library provides both versions, and the original code prefers the static
version over the shared, while on Debian it should always use the shared
version.
Gbp-Pq: Name force_shared_libzstd.patch
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
cross
Gbp-Pq: Name cross.patch
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.
https://reproducible-builds.org/docs/build-path/
Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
remove non-used privacy-breach code
Forwarded: not-needed
Last-Update: 2015-02-18
This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.
Gbp-Pq: Name remove_privacy_breaches.diff
John Paul Adrian Glaubitz [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Add SH description
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.
SH is working on Debian, so as an intermediate measure re enable it here.
Gbp-Pq: Name Add-SH-detection.patch
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Fix CVE-2023-24607
Forwarded: not-needed
CVE-2023-24607 can trigger a DOS with a specifically crafted string,
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1031871.
This patch https://codereview.qt-project.org/c/qt/qtbase/+/456216,
https://codereview.qt-project.org/c/qt/qtbase/+/457637 and
https://codereview.qt-project.org/c/qt/qtbase/+/457937
See: https://www.qt.io/blog/security-advisory-qt-sql-odbc-driver-plugin
Gbp-Pq: Name cve-2023-24607.patch
Pino Toscano [Tue, 15 Nov 2022 06:15:44 +0000 (07:15 +0100)]
[PATCH] Add/enable Alpha detection
- uncomment the Alpha detection defining Q_PROCESSOR_ALPHA, which is
already used/documented in few places
- set the right machine type in QElfParser for Alpha ELF files
Pick-to: 6.5
Change-Id: I072bdee8b73ad3c86591c764aa7075c114967fd9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Gbp-Pq: Name upstream_Add-enable-Alpha-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:17:57 +0000 (23:17 +0200)]
[PATCH] Add M68k detection
- detect the M68k architecture (Motorola 68000) and define
Q_PROCESSOR_M68K
- set the right machine type in QElfParser for M68k ELF files
Change-Id: Ie5694abbe1ae2bfeb5692defba0ca6062c1d60ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-M68k-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:15:30 +0000 (23:15 +0200)]
[PATCH] Add HPPA detection
- detect the HPPA architecture (PA-RISC) and define Q_PROCESSOR_HPPA
- set the right machine type in QElfParser for HPPA ELF files
Change-Id: I5214ce64ef1fdd0ecca3d6c1694c5db9b2852a22
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-HPPA-detection.patch
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
cve-2023-33285
Gbp-Pq: Name cve-2023-33285.diff
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
cve-2023-32763
Gbp-Pq: Name cve-2023-32763.diff
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
cve-2023-32762
Gbp-Pq: Name cve-2023-32762.diff
Mårten Nordheim [Wed, 10 May 2023 14:43:41 +0000 (16:43 +0200)]
[PATCH] Schannel: Reject certificate not signed by a configured CA certificate
Not entirely clear why, but when building the certificate chain for a
peer the system certificate store is searched for root certificates.
General expectation is that after calling
`sslConfiguration.setCaCertificates()` the system certificates will
not be taken into consideration.
To work around this behavior, we do a manual check that the root of the
chain is part of the configured CA certificates.
Pick-to: 6.5 6.2 5.15
Change-Id: I03666a4d9b0eac39ae97e150b4743120611a11b3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name cve-2023-34410-
ada2c57.diff
Mårten Nordheim [Thu, 25 May 2023 12:40:29 +0000 (14:40 +0200)]
[PATCH] Ssl: Copy the on-demand cert loading bool from default config
Otherwise individual sockets will still load system certificates when
a chain doesn't match against the configured CA certificates.
That's not intended behavior, since specifically setting the CA
certificates means you don't want the system certificates to be used.
Follow-up to/amends
ada2c573c1a25f8d96577734968fe317ddfa292a
This is potentially a breaking change because now, if you ever add a
CA to the default config, it will disable loading system certificates
on demand for all sockets. And the only way to re-enable it is to
create a null-QSslConfiguration and set it as the new default.
Pick-to: 6.5 6.2 5.15
Change-Id: Ic3b2ab125c0cdd58ad654af1cb36173960ce2d1e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Gbp-Pq: Name cve-2023-34410-
57ba626.diff
Ahmad Samir [Thu, 22 Jun 2023 12:56:07 +0000 (15:56 +0300)]
[PATCH] QXmlStreamReader: make fastScanName() indicate parsing status to callers
This fixes a crash while parsing an XML file with garbage data, the file
starts with '<' then garbage data:
- The loop in the parse() keeps iterating until it hits "case 262:",
which calls fastScanName()
- fastScanName() iterates over the text buffer scanning for the
attribute name (e.g. "xml:lang"), until it finds ':'
- Consider a Value val, fastScanName() is called on it, it would set
val.prefix to a number > val.len, then it would hit the 4096 condition
and return (returned 0, now it returns the equivalent of
std::null_opt), which means that val.len doesn't get modified, making
it smaller than val.prefix
- The code would try constructing an XmlStringRef with negative length,
which would hit an assert in one of QStringView's constructors
Add an assert to the XmlStringRef constructor.
Add unittest based on the file from the bug report.
Later on I will replace FastScanNameResult with std::optional<qsizetype>
(std::optional is C++17, which isn't required by Qt 5.15, and we want to
backport this fix).
Credit to OSS-Fuzz.
Fixes: QTBUG-109781
Fixes: QTBUG-114829
Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I455a5eeb47870c2ac9ffd0cbcdcd99c1ae2dd374
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Gbp-Pq: Name cve-2023-37369.diff
Liang Qi [Tue, 10 Oct 2023 12:08:48 +0000 (14:08 +0200)]
[PATCH] xkb: fix build with libxkbcommon 1.6.0 and later
A few XKB_KEY_dead_* defines got removed from 1.6.0. See also
https://github.com/xkbcommon/libxkbcommon/blob/
6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L9-L14
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70/diffs?commit_id=
cb44799b72f611eb4c9d7cc185bc3b09e070be08
Pick-to: 6.6 6.5 6.2 5.15
Fixes: QTBUG-117950
Change-Id: I55861868f2bb29c553d68365fa9b9b6ed01c9aea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Gbp-Pq: Name libxkbcommon_1.6.0.diff
Debian Qt/KDE Maintainers [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
cve-2023-51714
Gbp-Pq: Name cve-2023-51714.diff
Patrick Franz [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
qt6-base (6.4.2+dfsg-21) unstable; urgency=medium
[ Patrick Franz ]
* Add patch to fix CVE-2023-51714.
[dgit import unpatched qt6-base 6.4.2+dfsg-21]
Patrick Franz [Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +0100)]
Import qt6-base_6.4.2+dfsg-21.debian.tar.xz
[dgit import tarball qt6-base 6.4.2+dfsg-21 qt6-base_6.4.2+dfsg-21.debian.tar.xz]
Patrick Franz [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Merge qt6-base (6.4.2+dfsg-20) import into refs/heads/workingbranch
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Don't use yield on CPUs that might not support it
Gbp-Pq: Name armel-noyield.patch
John David Anglin [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Change how stack grows on HPPA.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28
On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.
Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch
Lisandro Damián Nicanor Pérez Meyer [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
remove RPATH/RUNPATH from examples' binaries.
Forwarded: not-needed
Last-Update: 2023-07-23
On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.
Gbp-Pq: Name remove_rpath_from_examples.patch
Lisandro Damián Nicanor Pérez Meyer [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Avoid trying to build the htmlinfo example
Forwarded: not-needed
This example uses non-free images, so we had to remove it from the original
tarball.
This patch avoid building this example.
Gbp-Pq: Name no_htmlinfo_example.patch
Lisandro Damián Nicanor Pérez Meyer [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
force the usage of the shared libzstd library.
Bug: https://bugreports.qt.io/browse/QTBUG-110978
Forwarded: not-needed
The library provides both versions, and the original code prefers the static
version over the shared, while on Debian it should always use the shared
version.
Gbp-Pq: Name force_shared_libzstd.patch
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
cross
Gbp-Pq: Name cross.patch
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.
https://reproducible-builds.org/docs/build-path/
Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch
Lisandro Damián Nicanor Pérez Meyer [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
remove non-used privacy-breach code
Forwarded: not-needed
Last-Update: 2015-02-18
This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.
Gbp-Pq: Name remove_privacy_breaches.diff
John Paul Adrian Glaubitz [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Add SH description
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.
SH is working on Debian, so as an intermediate measure re enable it here.
Gbp-Pq: Name Add-SH-detection.patch
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Fix CVE-2023-24607
Forwarded: not-needed
CVE-2023-24607 can trigger a DOS with a specifically crafted string,
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1031871.
This patch https://codereview.qt-project.org/c/qt/qtbase/+/456216,
https://codereview.qt-project.org/c/qt/qtbase/+/457637 and
https://codereview.qt-project.org/c/qt/qtbase/+/457937
See: https://www.qt.io/blog/security-advisory-qt-sql-odbc-driver-plugin
Gbp-Pq: Name cve-2023-24607.patch
Pino Toscano [Tue, 15 Nov 2022 06:15:44 +0000 (07:15 +0100)]
[PATCH] Add/enable Alpha detection
- uncomment the Alpha detection defining Q_PROCESSOR_ALPHA, which is
already used/documented in few places
- set the right machine type in QElfParser for Alpha ELF files
Pick-to: 6.5
Change-Id: I072bdee8b73ad3c86591c764aa7075c114967fd9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Gbp-Pq: Name upstream_Add-enable-Alpha-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:17:57 +0000 (23:17 +0200)]
[PATCH] Add M68k detection
- detect the M68k architecture (Motorola 68000) and define
Q_PROCESSOR_M68K
- set the right machine type in QElfParser for M68k ELF files
Change-Id: Ie5694abbe1ae2bfeb5692defba0ca6062c1d60ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-M68k-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:15:30 +0000 (23:15 +0200)]
[PATCH] Add HPPA detection
- detect the HPPA architecture (PA-RISC) and define Q_PROCESSOR_HPPA
- set the right machine type in QElfParser for HPPA ELF files
Change-Id: I5214ce64ef1fdd0ecca3d6c1694c5db9b2852a22
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-HPPA-detection.patch
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
cve-2023-33285
Gbp-Pq: Name cve-2023-33285.diff
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
cve-2023-32763
Gbp-Pq: Name cve-2023-32763.diff
Debian Qt/KDE Maintainers [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
cve-2023-32762
Gbp-Pq: Name cve-2023-32762.diff
Mårten Nordheim [Wed, 10 May 2023 14:43:41 +0000 (16:43 +0200)]
[PATCH] Schannel: Reject certificate not signed by a configured CA certificate
Not entirely clear why, but when building the certificate chain for a
peer the system certificate store is searched for root certificates.
General expectation is that after calling
`sslConfiguration.setCaCertificates()` the system certificates will
not be taken into consideration.
To work around this behavior, we do a manual check that the root of the
chain is part of the configured CA certificates.
Pick-to: 6.5 6.2 5.15
Change-Id: I03666a4d9b0eac39ae97e150b4743120611a11b3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name cve-2023-34410-
ada2c57.diff
Mårten Nordheim [Thu, 25 May 2023 12:40:29 +0000 (14:40 +0200)]
[PATCH] Ssl: Copy the on-demand cert loading bool from default config
Otherwise individual sockets will still load system certificates when
a chain doesn't match against the configured CA certificates.
That's not intended behavior, since specifically setting the CA
certificates means you don't want the system certificates to be used.
Follow-up to/amends
ada2c573c1a25f8d96577734968fe317ddfa292a
This is potentially a breaking change because now, if you ever add a
CA to the default config, it will disable loading system certificates
on demand for all sockets. And the only way to re-enable it is to
create a null-QSslConfiguration and set it as the new default.
Pick-to: 6.5 6.2 5.15
Change-Id: Ic3b2ab125c0cdd58ad654af1cb36173960ce2d1e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Gbp-Pq: Name cve-2023-34410-
57ba626.diff
Ahmad Samir [Thu, 22 Jun 2023 12:56:07 +0000 (15:56 +0300)]
[PATCH] QXmlStreamReader: make fastScanName() indicate parsing status to callers
This fixes a crash while parsing an XML file with garbage data, the file
starts with '<' then garbage data:
- The loop in the parse() keeps iterating until it hits "case 262:",
which calls fastScanName()
- fastScanName() iterates over the text buffer scanning for the
attribute name (e.g. "xml:lang"), until it finds ':'
- Consider a Value val, fastScanName() is called on it, it would set
val.prefix to a number > val.len, then it would hit the 4096 condition
and return (returned 0, now it returns the equivalent of
std::null_opt), which means that val.len doesn't get modified, making
it smaller than val.prefix
- The code would try constructing an XmlStringRef with negative length,
which would hit an assert in one of QStringView's constructors
Add an assert to the XmlStringRef constructor.
Add unittest based on the file from the bug report.
Later on I will replace FastScanNameResult with std::optional<qsizetype>
(std::optional is C++17, which isn't required by Qt 5.15, and we want to
backport this fix).
Credit to OSS-Fuzz.
Fixes: QTBUG-109781
Fixes: QTBUG-114829
Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I455a5eeb47870c2ac9ffd0cbcdcd99c1ae2dd374
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Gbp-Pq: Name cve-2023-37369.diff
Liang Qi [Tue, 10 Oct 2023 12:08:48 +0000 (14:08 +0200)]
[PATCH] xkb: fix build with libxkbcommon 1.6.0 and later
A few XKB_KEY_dead_* defines got removed from 1.6.0. See also
https://github.com/xkbcommon/libxkbcommon/blob/
6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L9-L14
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70/diffs?commit_id=
cb44799b72f611eb4c9d7cc185bc3b09e070be08
Pick-to: 6.6 6.5 6.2 5.15
Fixes: QTBUG-117950
Change-Id: I55861868f2bb29c553d68365fa9b9b6ed01c9aea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Gbp-Pq: Name libxkbcommon_1.6.0.diff
Patrick Franz [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
qt6-base (6.4.2+dfsg-20) unstable; urgency=medium
[ Patrick Franz ]
* Add patch to fix CVE-2023-37369.
[dgit import unpatched qt6-base 6.4.2+dfsg-20]
Patrick Franz [Fri, 22 Dec 2023 15:11:45 +0000 (16:11 +0100)]
Import qt6-base_6.4.2+dfsg-20.debian.tar.xz
[dgit import tarball qt6-base 6.4.2+dfsg-20 qt6-base_6.4.2+dfsg-20.debian.tar.xz]
Patrick Franz [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Merge qt6-base (6.4.2+dfsg-19) import into refs/heads/workingbranch
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Don't use yield on CPUs that might not support it
Gbp-Pq: Name armel-noyield.patch
John David Anglin [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Change how stack grows on HPPA.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28
On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.
Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
remove RPATH/RUNPATH from examples' binaries.
Forwarded: not-needed
Last-Update: 2023-07-23
On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.
Gbp-Pq: Name remove_rpath_from_examples.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Avoid trying to build the htmlinfo example
Forwarded: not-needed
This example uses non-free images, so we had to remove it from the original
tarball.
This patch avoid building this example.
Gbp-Pq: Name no_htmlinfo_example.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
force the usage of the shared libzstd library.
Bug: https://bugreports.qt.io/browse/QTBUG-110978
Forwarded: not-needed
The library provides both versions, and the original code prefers the static
version over the shared, while on Debian it should always use the shared
version.
Gbp-Pq: Name force_shared_libzstd.patch
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
cross
Gbp-Pq: Name cross.patch
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.
https://reproducible-builds.org/docs/build-path/
Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch
Lisandro Damián Nicanor Pérez Meyer [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
remove non-used privacy-breach code
Forwarded: not-needed
Last-Update: 2015-02-18
This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.
Gbp-Pq: Name remove_privacy_breaches.diff
John Paul Adrian Glaubitz [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Add SH description
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.
SH is working on Debian, so as an intermediate measure re enable it here.
Gbp-Pq: Name Add-SH-detection.patch
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Fix CVE-2023-24607
Forwarded: not-needed
CVE-2023-24607 can trigger a DOS with a specifically crafted string,
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1031871.
This patch https://codereview.qt-project.org/c/qt/qtbase/+/456216,
https://codereview.qt-project.org/c/qt/qtbase/+/457637 and
https://codereview.qt-project.org/c/qt/qtbase/+/457937
See: https://www.qt.io/blog/security-advisory-qt-sql-odbc-driver-plugin
Gbp-Pq: Name cve-2023-24607.patch
Pino Toscano [Tue, 15 Nov 2022 06:15:44 +0000 (07:15 +0100)]
[PATCH] Add/enable Alpha detection
- uncomment the Alpha detection defining Q_PROCESSOR_ALPHA, which is
already used/documented in few places
- set the right machine type in QElfParser for Alpha ELF files
Pick-to: 6.5
Change-Id: I072bdee8b73ad3c86591c764aa7075c114967fd9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Gbp-Pq: Name upstream_Add-enable-Alpha-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:17:57 +0000 (23:17 +0200)]
[PATCH] Add M68k detection
- detect the M68k architecture (Motorola 68000) and define
Q_PROCESSOR_M68K
- set the right machine type in QElfParser for M68k ELF files
Change-Id: Ie5694abbe1ae2bfeb5692defba0ca6062c1d60ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-M68k-detection.patch
Pino Toscano [Thu, 6 Oct 2022 21:15:30 +0000 (23:15 +0200)]
[PATCH] Add HPPA detection
- detect the HPPA architecture (PA-RISC) and define Q_PROCESSOR_HPPA
- set the right machine type in QElfParser for HPPA ELF files
Change-Id: I5214ce64ef1fdd0ecca3d6c1694c5db9b2852a22
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_Add-HPPA-detection.patch
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
cve-2023-33285
Gbp-Pq: Name cve-2023-33285.diff
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
cve-2023-32763
Gbp-Pq: Name cve-2023-32763.diff
Debian Qt/KDE Maintainers [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
cve-2023-32762
Gbp-Pq: Name cve-2023-32762.diff
Mårten Nordheim [Wed, 10 May 2023 14:43:41 +0000 (16:43 +0200)]
[PATCH] Schannel: Reject certificate not signed by a configured CA certificate
Not entirely clear why, but when building the certificate chain for a
peer the system certificate store is searched for root certificates.
General expectation is that after calling
`sslConfiguration.setCaCertificates()` the system certificates will
not be taken into consideration.
To work around this behavior, we do a manual check that the root of the
chain is part of the configured CA certificates.
Pick-to: 6.5 6.2 5.15
Change-Id: I03666a4d9b0eac39ae97e150b4743120611a11b3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name cve-2023-34410-
ada2c57.diff
Mårten Nordheim [Thu, 25 May 2023 12:40:29 +0000 (14:40 +0200)]
[PATCH] Ssl: Copy the on-demand cert loading bool from default config
Otherwise individual sockets will still load system certificates when
a chain doesn't match against the configured CA certificates.
That's not intended behavior, since specifically setting the CA
certificates means you don't want the system certificates to be used.
Follow-up to/amends
ada2c573c1a25f8d96577734968fe317ddfa292a
This is potentially a breaking change because now, if you ever add a
CA to the default config, it will disable loading system certificates
on demand for all sockets. And the only way to re-enable it is to
create a null-QSslConfiguration and set it as the new default.
Pick-to: 6.5 6.2 5.15
Change-Id: Ic3b2ab125c0cdd58ad654af1cb36173960ce2d1e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Gbp-Pq: Name cve-2023-34410-
57ba626.diff
Liang Qi [Tue, 10 Oct 2023 12:08:48 +0000 (14:08 +0200)]
[PATCH] xkb: fix build with libxkbcommon 1.6.0 and later
A few XKB_KEY_dead_* defines got removed from 1.6.0. See also
https://github.com/xkbcommon/libxkbcommon/blob/
6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L9-L14
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70/diffs?commit_id=
cb44799b72f611eb4c9d7cc185bc3b09e070be08
Pick-to: 6.6 6.5 6.2 5.15
Fixes: QTBUG-117950
Change-Id: I55861868f2bb29c553d68365fa9b9b6ed01c9aea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Gbp-Pq: Name libxkbcommon_1.6.0.diff
Patrick Franz [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
qt6-base (6.4.2+dfsg-19) unstable; urgency=medium
[ Patrick Franz ]
* Backport upstream patch to fix build with libxkbcommon 1.6.0
(Closes: #
1054674).
[dgit import unpatched qt6-base 6.4.2+dfsg-19]
Patrick Franz [Sat, 28 Oct 2023 09:26:45 +0000 (11:26 +0200)]
Import qt6-base_6.4.2+dfsg-19.debian.tar.xz
[dgit import tarball qt6-base 6.4.2+dfsg-19 qt6-base_6.4.2+dfsg-19.debian.tar.xz]
Patrick Franz [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
Merge qt6-base (6.4.2+dfsg-18) import into refs/heads/workingbranch
Debian Qt/KDE Maintainers [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
Don't use yield on CPUs that might not support it
Gbp-Pq: Name armel-noyield.patch
John David Anglin [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
Change how stack grows on HPPA.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28
On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.
Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch
Lisandro Damián Nicanor Pérez Meyer [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
remove RPATH/RUNPATH from examples' binaries.
Forwarded: not-needed
Last-Update: 2023-07-23
On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.
Gbp-Pq: Name remove_rpath_from_examples.patch
Lisandro Damián Nicanor Pérez Meyer [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
Avoid trying to build the htmlinfo example
Forwarded: not-needed
This example uses non-free images, so we had to remove it from the original
tarball.
This patch avoid building this example.
Gbp-Pq: Name no_htmlinfo_example.patch
Lisandro Damián Nicanor Pérez Meyer [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
force the usage of the shared libzstd library.
Bug: https://bugreports.qt.io/browse/QTBUG-110978
Forwarded: not-needed
The library provides both versions, and the original code prefers the static
version over the shared, while on Debian it should always use the shared
version.
Gbp-Pq: Name force_shared_libzstd.patch
Debian Qt/KDE Maintainers [Tue, 8 Aug 2023 06:40:37 +0000 (07:40 +0100)]
cross
Gbp-Pq: Name cross.patch