From 131f53ab839f080bd334c7803e07b1725abbacaf Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Feb 15 2023 00:59:07 +0000 Subject: update 2023-02-15 00:59 --- diff --git a/packages/0/000product/.files b/packages/0/000product/.files index 3140ffa..ca8743d 100644 Binary files a/packages/0/000product/.files and b/packages/0/000product/.files differ diff --git a/packages/0/000product/.rev b/packages/0/000product/.rev index 63c9bab..1e6d90d 100644 --- a/packages/0/000product/.rev +++ b/packages/0/000product/.rev @@ -24568,4 +24568,11 @@ staging-bot Automatic update + + 953e97894e5a4dd9f3737e31b032bfbf + unknown + + staging-bot + Automatic update + diff --git a/packages/0/000product/.servicemark b/packages/0/000product/.servicemark index ea755f8..bbfc56c 100644 --- a/packages/0/000product/.servicemark +++ b/packages/0/000product/.servicemark @@ -1 +1 @@ -09edd79785a992528ce92aefe6b95eee +80dd7361858333fb8749e58fbecaf447 diff --git a/packages/0/000product/MicroOS-dvd5-dvd-x86_64.kiwi b/packages/0/000product/MicroOS-dvd5-dvd-x86_64.kiwi index 8d03740..bd98a12 100644 --- a/packages/0/000product/MicroOS-dvd5-dvd-x86_64.kiwi +++ b/packages/0/000product/MicroOS-dvd5-dvd-x86_64.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -35,11 +35,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:microos:20230213,openSUSE MicroOS + cpe:/o:opensuse:microos:20230214,openSUSE MicroOS en_US - obsproduct://build.opensuse.org/openSUSE:Factory/MicroOS/20230213/x86_64 + obsproduct://build.opensuse.org/openSUSE:Factory/MicroOS/20230214/x86_64 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/MicroOS.product b/packages/0/000product/MicroOS.product index ebbe03e..a6c1971 100644 --- a/packages/0/000product/MicroOS.product +++ b/packages/0/000product/MicroOS.product @@ -6,7 +6,7 @@ MicroOS MicroOS-release - 20230213 + 20230214 0 MicroOS diff --git a/packages/0/000product/openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi b/packages/0/000product/openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi index 68930c6..9ec58a0 100644 --- a/packages/0/000product/openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi +++ b/packages/0/000product/openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -36,11 +36,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse-addon-nonoss:20230213,openSUSE NonOSS Addon + cpe:/o:opensuse:opensuse-addon-nonoss:20230214,openSUSE NonOSS Addon af ar be_BY bg br ca cy el et ga gl gu_IN he hi_IN hr ka km ko lt mk nn pa_IN rw sk sl sr_CS ss st tg th tr uk ve vi xh zu - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/20230213/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/20230213/x86_64 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/20230214/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE-Addon-NonOss/20230214/x86_64 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE-Addon-NonOss.product b/packages/0/000product/openSUSE-Addon-NonOss.product index 8970ac8..2eeb359 100644 --- a/packages/0/000product/openSUSE-Addon-NonOss.product +++ b/packages/0/000product/openSUSE-Addon-NonOss.product @@ -4,7 +4,7 @@ openSUSE openSUSE-Addon-NonOss - 20230213 + 20230214 0 openSUSE NonOSS Addon non oss addon diff --git a/packages/0/000product/openSUSE-cd-mini-i586.kiwi b/packages/0/000product/openSUSE-cd-mini-i586.kiwi index b5f2546..76c0748 100644 --- a/packages/0/000product/openSUSE-cd-mini-i586.kiwi +++ b/packages/0/000product/openSUSE-cd-mini-i586.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -32,11 +32,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse:20230213,openSUSE Tumbleweed + cpe:/o:opensuse:opensuse:20230214,openSUSE Tumbleweed cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/i586 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/i586 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE-cd-mini-x86_64.kiwi b/packages/0/000product/openSUSE-cd-mini-x86_64.kiwi index 3e32fe9..d17a169 100644 --- a/packages/0/000product/openSUSE-cd-mini-x86_64.kiwi +++ b/packages/0/000product/openSUSE-cd-mini-x86_64.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -35,11 +35,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse:20230213,openSUSE Tumbleweed + cpe:/o:opensuse:opensuse:20230214,openSUSE Tumbleweed cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/x86_64 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/x86_64 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE-dvd5-dvd-i586.kiwi b/packages/0/000product/openSUSE-dvd5-dvd-i586.kiwi index 70184c7..c89f8fc 100644 --- a/packages/0/000product/openSUSE-dvd5-dvd-i586.kiwi +++ b/packages/0/000product/openSUSE-dvd5-dvd-i586.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -32,11 +32,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse:20230213,openSUSE Tumbleweed + cpe:/o:opensuse:opensuse:20230214,openSUSE Tumbleweed cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/i586 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/i586 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE-dvd5-dvd-x86_64.kiwi b/packages/0/000product/openSUSE-dvd5-dvd-x86_64.kiwi index 327bd16..3f904bd 100644 --- a/packages/0/000product/openSUSE-dvd5-dvd-x86_64.kiwi +++ b/packages/0/000product/openSUSE-dvd5-dvd-x86_64.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -35,11 +35,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse:20230213,openSUSE Tumbleweed + cpe:/o:opensuse:opensuse:20230214,openSUSE Tumbleweed cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/x86_64 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/x86_64 openSUSE /usr/share/kiwi/modules/plugins/tumbleweed /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE-ftp-ftp-i586_x86_64.kiwi b/packages/0/000product/openSUSE-ftp-ftp-i586_x86_64.kiwi index 451b6b4..44ed564 100644 --- a/packages/0/000product/openSUSE-ftp-ftp-i586_x86_64.kiwi +++ b/packages/0/000product/openSUSE-ftp-ftp-i586_x86_64.kiwi @@ -1,4 +1,4 @@ - + The SUSE Team build@opensuse.org @@ -24,7 +24,7 @@ openSUSE ftp true - openSUSE-20230213-i586-x86_64 + openSUSE-20230214-i586-x86_64 true / $DISTNAME-$FLAVOR @@ -36,11 +36,11 @@ true -x -2 openSUSE - 20230213 + 20230214 11 - cpe:/o:opensuse:opensuse:20230213,openSUSE Tumbleweed + cpe:/o:opensuse:opensuse:20230214,openSUSE Tumbleweed cs da de el en en_GB en_US es fr hu it ja pl pt pt_BR ru zh zh_CN zh_TW - obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230213/x86_64 + obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/i586 obsproduct://build.opensuse.org/openSUSE:Factory/openSUSE/20230214/x86_64 openSUSE 2 /usr/share/kiwi/modules/plugins/tumbleweed diff --git a/packages/0/000product/openSUSE.product b/packages/0/000product/openSUSE.product index 9ae6eaf..b9eaa43 100644 --- a/packages/0/000product/openSUSE.product +++ b/packages/0/000product/openSUSE.product @@ -4,7 +4,7 @@ openSUSE openSUSE - 20230213 + 20230214 0 openSUSE diff --git a/packages/0/000product/unsorted.yml b/packages/0/000product/unsorted.yml index d3e6eb9..81822b0 100644 --- a/packages/0/000product/unsorted.yml +++ b/packages/0/000product/unsorted.yml @@ -96,6 +96,9 @@ unsorted: - LibVNCServer-devel - Mesa-32bit: [x86_64] - Mesa-KHR-devel + - Mesa-demo-egl-32bit: [x86_64] + - Mesa-demo-es-32bit: [x86_64] + - Mesa-demo-x-32bit: [x86_64] - Mesa-devel - Mesa-dri-32bit: [x86_64] - Mesa-dri-devel @@ -2505,6 +2508,8 @@ unsorted: - cri-o: [x86_64] - cri-o-kubeadm-criconfig: [x86_64] - cri-tools + - criterion + - criterion-lang - criu-devel: [x86_64] # devel package of opensuse_microos:criu - criu-plugin-amdgpu: [x86_64] - crmsh @@ -7539,6 +7544,9 @@ unsorted: - include-what-you-use-tools - indent - indent-lang + - indi + - indi-devel + - indi-plugins - indicator-common - indriya - indriya-javadoc @@ -10883,6 +10891,8 @@ unsorted: - libcreg-devel - libcreg-tools - libcreg1 + - libcriterion3 + - libcriterion3-devel - libcriu2: [x86_64] - libcroco - libcroco-devel @@ -11062,6 +11072,8 @@ unsorted: - libdisomaster1 - libdispatch-devel: [x86_64] - libdispatch1_3: [x86_64] + - libdisplay-info-devel + - libdisplay-info1 - libdjvulibre-devel - libdlm-devel - libdmapsharing-3_0-2 @@ -12255,14 +12267,19 @@ unsorted: - libindi - libindi-devel - libindi-plugins + - libindiAlignmentDriver1 - libindiAlignmentDriver2 - libindicator-devel - libindicator3-7 - libindicator3-devel - libindicator7 + - libindiclient1 - libindiclient2 + - libindiclientqt1 - libindiclientqt2 + - libindidriver1 - libindidriver2 + - libindilx200-1 - libindilx200-2 - libinfinipath4 - libinfinipath4-32bit: [x86_64] @@ -18530,6 +18547,8 @@ unsorted: - ocaml - ocaml-astring - ocaml-astring-devel + - ocaml-augeas + - ocaml-augeas-devel - ocaml-base64 - ocaml-base64-devel - ocaml-benchmark @@ -44613,6 +44632,7 @@ unsorted: - vulkan-devel - vulkan-devel-32bit: [x86_64] - vulkan-headers + - vulkan-tools-32bit: [x86_64] - vulkan-validationlayers - vulkan-validationlayers-devel - vym @@ -45398,7 +45418,6 @@ unsorted: - yast2-core-devel - yast2-devtools - yast2-dns-manager - - yast2-dns-server - yast2-docker: [x86_64] - yast2-fcoe-client - yast2-firstboot-wsl diff --git a/packages/0/000release-packages/.files b/packages/0/000release-packages/.files index 543c74c..bbcc899 100644 Binary files a/packages/0/000release-packages/.files and b/packages/0/000release-packages/.files differ diff --git a/packages/0/000release-packages/.rev b/packages/0/000release-packages/.rev index 0a90778..d1844e9 100644 --- a/packages/0/000release-packages/.rev +++ b/packages/0/000release-packages/.rev @@ -14777,4 +14777,11 @@ staging-bot Automatic update + + 4bd730a1fec9750a6a036e91e083c6ef + unknown + + staging-bot + Automatic update + diff --git a/packages/0/000release-packages/.servicemark b/packages/0/000release-packages/.servicemark index 86db35f..9cd2fff 100644 --- a/packages/0/000release-packages/.servicemark +++ b/packages/0/000release-packages/.servicemark @@ -1 +1 @@ -e4843a207f6ed97c1c96dc892c9766ad +6de54cf8cdcbdebb57852dd1092cf9ae diff --git a/packages/0/000release-packages/weakremovers.inc b/packages/0/000release-packages/weakremovers.inc index 30687a3..3e374db 100644 --- a/packages/0/000release-packages/weakremovers.inc +++ b/packages/0/000release-packages/weakremovers.inc @@ -10050,11 +10050,6 @@ Provides: weakremover(libimaevm1) Provides: weakremover(libimaevm2) Provides: weakremover(libimobiledevice6) Provides: weakremover(libinchi0) -Provides: weakremover(libindiAlignmentDriver1) -Provides: weakremover(libindiclient1) -Provides: weakremover(libindiclientqt1) -Provides: weakremover(libindidriver1) -Provides: weakremover(libindilx200-1) Provides: weakremover(libinfinity-1_0-0) Provides: weakremover(libiniparser0) Provides: weakremover(libinsighttoolkit4) @@ -28456,6 +28451,7 @@ Provides: weakremover(yast2-ca-management) Provides: weakremover(yast2-crowbar) Provides: weakremover(yast2-dbus-server) Provides: weakremover(yast2-dhcp-server) +Provides: weakremover(yast2-dns-server) Provides: weakremover(yast2-http-server) Provides: weakremover(yast2-inetd) Provides: weakremover(yast2-inetd-doc) diff --git a/packages/_/_project/_staging_workflow b/packages/_/_project/_staging_workflow index 27c9037..5ab8bec 100644 --- a/packages/_/_project/_staging_workflow +++ b/packages/_/_project/_staging_workflow @@ -16,10 +16,7 @@ - - - diff --git a/packages/c/cfengine-masterfiles/.files b/packages/c/cfengine-masterfiles/.files index 15b7c72..562017c 100644 Binary files a/packages/c/cfengine-masterfiles/.files and b/packages/c/cfengine-masterfiles/.files differ diff --git a/packages/c/cfengine-masterfiles/.rev b/packages/c/cfengine-masterfiles/.rev index d4ae2f3..efc0da5 100644 --- a/packages/c/cfengine-masterfiles/.rev +++ b/packages/c/cfengine-masterfiles/.rev @@ -191,4 +191,12 @@ 886681 + + d26962029d4697878844f8f4fadbcdc5 + 3.21.0 + + dimstar_suse + + 1065784 + diff --git a/packages/c/cfengine-masterfiles/cfengine-masterfiles-rpmlintrc b/packages/c/cfengine-masterfiles/cfengine-masterfiles-rpmlintrc deleted file mode 100644 index 8a6774e..0000000 --- a/packages/c/cfengine-masterfiles/cfengine-masterfiles-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter(".* is not allowed anymore in FHS 2.2."); \ No newline at end of file diff --git a/packages/c/cfengine-masterfiles/cfengine-masterfiles.changes b/packages/c/cfengine-masterfiles/cfengine-masterfiles.changes index 4a89266..71674ab 100644 --- a/packages/c/cfengine-masterfiles/cfengine-masterfiles.changes +++ b/packages/c/cfengine-masterfiles/cfengine-masterfiles.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 14 16:12:22 UTC 2023 - Klaus Kämpf + +- Update to 3.21.0 + * https://github.com/cfengine/masterfiles/blob/3.21.0/CHANGELOG.md + +------------------------------------------------------------------- Sun Apr 18 02:52:25 UTC 2021 - Ferdinand Thiessen - Fixed SPEC file: Replaced broken URL with current upstream diff --git a/packages/c/cfengine-masterfiles/cfengine-masterfiles.spec b/packages/c/cfengine-masterfiles/cfengine-masterfiles.spec index e1c7d6c..3ff96e3 100644 --- a/packages/c/cfengine-masterfiles/cfengine-masterfiles.spec +++ b/packages/c/cfengine-masterfiles/cfengine-masterfiles.spec @@ -1,7 +1,7 @@ # # spec file for package cfengine-masterfiles # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,24 +22,19 @@ %define srcname masterfiles Name: cfengine-masterfiles -Version: 3.15.3 +Version: 3.21.0 Release: 0 Summary: CFEngine promises master files -License: MIT AND LGPL-3.0-or-later +License: LGPL-3.0-or-later AND MIT Group: Productivity/Networking/System URL: https://cfengine.com/ Source: https://github.com/cfengine/masterfiles/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz -# wtf? SLE_11 does not honor rpmlintrc -Source1: %{name}-rpmlintrc BuildRequires: autoconf BuildRequires: automake BuildRequires: cfengine BuildRequires: findutils Requires: cfengine BuildArch: noarch -%if 0%{?suse_version} <= 1130 -BuildRequires: -post-build-checks -%endif %if 0%{?fedora_version} == 20 || 0%{?rhel_version} >= 700 BuildRequires: perl-Exporter %endif @@ -66,6 +61,5 @@ autoreconf -fiv %license LICENSE %doc README.md CONTRIBUTING.md %{basedir}/masterfiles -%{basedir}/modules/packages %changelog diff --git a/packages/c/cfengine-masterfiles/masterfiles-3.15.3.tar.gz b/packages/c/cfengine-masterfiles/masterfiles-3.15.3.tar.gz deleted file mode 120000 index 0b62a05..0000000 --- a/packages/c/cfengine-masterfiles/masterfiles-3.15.3.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeicuvyivddtsgakap3dzwhfyerdldzl4ibyh2z5iuhyhcu7ysgvi2q \ No newline at end of file diff --git a/packages/c/cfengine-masterfiles/masterfiles-3.21.0.tar.gz b/packages/c/cfengine-masterfiles/masterfiles-3.21.0.tar.gz new file mode 120000 index 0000000..0f5d8e5 --- /dev/null +++ b/packages/c/cfengine-masterfiles/masterfiles-3.21.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeigmny2jx6wdqt4oblafuerw46rgzs3koqcc3rmkuvjtdh67igu3ny \ No newline at end of file diff --git a/packages/d/dos2unix/.files b/packages/d/dos2unix/.files index 8a7c1c3..e97dc85 100644 Binary files a/packages/d/dos2unix/.files and b/packages/d/dos2unix/.files differ diff --git a/packages/d/dos2unix/.rev b/packages/d/dos2unix/.rev index 94ea776..2301714 100644 --- a/packages/d/dos2unix/.rev +++ b/packages/d/dos2unix/.rev @@ -474,4 +474,12 @@ 982368 + + 533ac8e02eaeee2035fd5bb4bbd5ce60 + 7.4.4 + + dimstar_suse + + 1065517 + diff --git a/packages/d/dos2unix/dos2unix-7.4.3.tar.gz b/packages/d/dos2unix/dos2unix-7.4.3.tar.gz deleted file mode 120000 index 2a4d67b..0000000 --- a/packages/d/dos2unix/dos2unix-7.4.3.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeifvxo3d2vqhf5yx6vvfxxgjsypf75wnxpakwg4wklnb5gxuu7dpje \ No newline at end of file diff --git a/packages/d/dos2unix/dos2unix-7.4.3.tar.gz.asc b/packages/d/dos2unix/dos2unix-7.4.3.tar.gz.asc deleted file mode 100644 index 3f518ae..0000000 --- a/packages/d/dos2unix/dos2unix-7.4.3.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEE+PG+pJBJagnMoyjMOMH1crEnJb4FAmKcqHEACgkQOMH1crEn -Jb6FzQf/amQ0a4wwfj693FkVGK5cWUkw/pigJxvY6Nl6ZXueoWaLbo0K+KgzmUs8 -P1diLapEeFZrg3f+6Td2gwNd6UNTLCQ5whFeG8Gws8FEllUX0kdDuIdlaLITwIGM -xiQBNDvB/J1UsZqtJW7S7x5IkmvLFtFRHqToHTWQuMjgKcgzl/OKzgdY7ilh202t -e/Wps+3ElzNU+kvFMxrYKl+0vJVImu86xaOx+CErwJ5PKUhS1vQlZYFCwissqw4A -vXzrf+5DFMlR1227uXOH3RKud3AeILXSK1xDVLkqkT81TLJE503webTJdhCQ6j+T -waLZHJlgHriG1ulHGVwpk3NtRumA4Q== -=O/kI ------END PGP SIGNATURE----- diff --git a/packages/d/dos2unix/dos2unix-7.4.4.tar.gz b/packages/d/dos2unix/dos2unix-7.4.4.tar.gz new file mode 120000 index 0000000..a9e0d10 --- /dev/null +++ b/packages/d/dos2unix/dos2unix-7.4.4.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeidwt4gf2meaarmbns4nmraovio5ict77juob7fiuifmnxnrrspinq \ No newline at end of file diff --git a/packages/d/dos2unix/dos2unix-7.4.4.tar.gz.asc b/packages/d/dos2unix/dos2unix-7.4.4.tar.gz.asc new file mode 100644 index 0000000..11d62bd --- /dev/null +++ b/packages/d/dos2unix/dos2unix-7.4.4.tar.gz.asc @@ -0,0 +1,10 @@ +-----BEGIN PGP SIGNATURE----- + +iQEcBAABAgAGBQJj56DhAAoJEDjB9XKxJyW+dkkH/03xe8W6P39iTIv8Z+FSzS6D +jUqA0hHWOEu67rQZmYQiVe/hSOxerttEDbf4BBxfAycKPabsMhDAStpFbemNFJD8 +Nz/PVxaQhw5cujPfBi+YOCFyFkwt8nwZmjCf4q/dhX+BIHk9HWJB5WrNvGWVgoyW +GQccd+qwkZUV8fuAz2AkB09jEqwaNdUU1oVRoh6QGAQlNhAKC7i70gAFKECxzQPf +L2bAskEuESDKisdER3s5d1S/i0OdHJx4SA0U8Z+ofUb8s+PpPymW3VZI/cCOweWu +87U8VCADEi3kN6aazI9gitofJKPZflrIIC40hGVTw8FVJpooz7Mwf0/pR1x0tEY= +=HND+ +-----END PGP SIGNATURE----- diff --git a/packages/d/dos2unix/dos2unix.changes b/packages/d/dos2unix/dos2unix.changes index a31ef2f..7fde510 100644 --- a/packages/d/dos2unix/dos2unix.changes +++ b/packages/d/dos2unix/dos2unix.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sun Feb 12 10:02:30 UTC 2023 - Andreas Stieger + +- update to 7.4.4: + * translation updates + +------------------------------------------------------------------- Mon Jun 6 16:03:41 UTC 2022 - Илья Индиго - Added directory with localized man pages. diff --git a/packages/d/dos2unix/dos2unix.spec b/packages/d/dos2unix/dos2unix.spec index 1d56092..e040595 100644 --- a/packages/d/dos2unix/dos2unix.spec +++ b/packages/d/dos2unix/dos2unix.spec @@ -1,7 +1,7 @@ # # spec file for package dos2unix # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: dos2unix -Version: 7.4.3 +Version: 7.4.4 Release: 0 Summary: Text converters to and from DOS/MAC to UNIX License: BSD-2-Clause @@ -48,8 +48,10 @@ export RPM_OPT_FLAGS %install %make_install docdir=%{_defaultdocdir}/%{name} HTMLEXT="html" %find_lang dos2unix --all-name --with-man +rm %{buildroot}%{_defaultdocdir}/%{name}/COPYING.txt %files -f dos2unix.lang +%license COPYING.txt %doc %{_defaultdocdir}/%{name} %{_bindir}/{%{name},mac2unix,unix2dos,unix2mac} %{_mandir}/man1/{%{name},mac2unix,unix2dos,unix2mac}.1%{?ext_man} diff --git a/packages/g/gnuplot/.files b/packages/g/gnuplot/.files index af06482..f555461 100644 Binary files a/packages/g/gnuplot/.files and b/packages/g/gnuplot/.files differ diff --git a/packages/g/gnuplot/.rev b/packages/g/gnuplot/.rev index ab467a4..2f3ef0b 100644 --- a/packages/g/gnuplot/.rev +++ b/packages/g/gnuplot/.rev @@ -1112,4 +1112,41 @@ removed boo#1203092 (forwarded request 1006499 from AndreasStieger) octal (forwarded request 1043480 from dirkmueller) 1043703 + + 054768a256d85f9e3d42df2524a4dbf3 + 5.4.6 + + dimstar_suse + - Update to gnuplot 5.4.6 + * NEW set key {columns <exact no of columns>} + set key {keywidth <exact width>} + * NEW XDG support + startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc + history file: $XDG_STATE_HOME/gnuplot_history + wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf + * CHANGE remove "alldoc" build target + * CHANGE plot with polygons fillstyle empty really does mean empty + * FIX windows: various problems mixing piped input and stdin Bug #2491 + * FIX x11: bad interactions of lt nodraw, bgnd and dash pattern Bug #2572 + * FIX wxt: export-to-file widget should preserve line properties + * FIX svg: set initial default fill to "none" + * FIX png: back-compatibility with very old versions of gdlib Bug #2579 + * FIX variable pointtype, pointsize in plot style yerrorlines + * FIX border color for polygons with variable fillcolor + * FIX definition followed by iteration in a plot command Bug #2580 + * FIX parametric plot with filledcurves y1=<limit> Bug #1797 +- Port patches + * Gnuplot_5_4.pdf + * gnuplot-4.6.0-demo.diff + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-5.4.4-grep.patch + * gnuplot-PIE.patch + * gnuplot-gd.patch + + +- Update to gnuplot 5.4.6 + * NEW set key {columns <exact no of columns>} + 1065409 + diff --git a/packages/g/gnuplot/Gnuplot_5_4.pdf b/packages/g/gnuplot/Gnuplot_5_4.pdf index b60544e..0f676c1 120000 --- a/packages/g/gnuplot/Gnuplot_5_4.pdf +++ b/packages/g/gnuplot/Gnuplot_5_4.pdf @@ -1 +1 @@ -/ipfs/bafybeih3hrmcdj3ihiiqrnbvo5icrupvtjzq7lipzhfn3xj7tsqwscbyce \ No newline at end of file +/ipfs/bafybeic6tm4pdpzl24e3px2chrsxwsllypxonomy72tk7x5vaxznqjxzzm \ No newline at end of file diff --git a/packages/g/gnuplot/gnuplot-4.6.0-demo.diff b/packages/g/gnuplot/gnuplot-4.6.0-demo.diff index bdd7b45..8f73041 100644 --- a/packages/g/gnuplot/gnuplot-4.6.0-demo.diff +++ b/packages/g/gnuplot/gnuplot-4.6.0-demo.diff @@ -71,7 +71,7 @@ --- src/show.c +++ src/show.c 2020-07-17 07:25:00.022670914 +0000 -@@ -1076,6 +1076,15 @@ show_version(FILE *fp) +@@ -1077,6 +1077,15 @@ show_version(FILE *fp) p /* type "help seeking-assistance" */ ); diff --git a/packages/g/gnuplot/gnuplot-4.6.0-fonts.diff b/packages/g/gnuplot/gnuplot-4.6.0-fonts.diff index 79463dd..1ceb23c 100644 --- a/packages/g/gnuplot/gnuplot-4.6.0-fonts.diff +++ b/packages/g/gnuplot/gnuplot-4.6.0-fonts.diff @@ -66,7 +66,7 @@ first_time = FALSE; } while (n_miss-- > 0) -@@ -5897,6 +5906,18 @@ char *fontname; +@@ -5896,6 +5905,18 @@ char *fontname; } #ifdef USE_X11_MULTIBYTE diff --git a/packages/g/gnuplot/gnuplot-4.6.0.dif b/packages/g/gnuplot/gnuplot-4.6.0.dif index dae8e2d..2e24df5 100644 --- a/packages/g/gnuplot/gnuplot-4.6.0.dif +++ b/packages/g/gnuplot/gnuplot-4.6.0.dif @@ -26,7 +26,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(DOCHEADERS) $(EXTRA_DIST) -@@ -265,17 +265,21 @@ gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/ +@@ -262,17 +262,21 @@ gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/ doc2hlp_SOURCES = doc2hlp.c termdoc.c ### gnuplot interactive help format @@ -52,7 +52,7 @@ alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS) --- gnuplot-5.4.0/src/gadgets.h +++ gnuplot-5.4.0/src/gadgets.h 2020-07-17 07:27:48.183763305 +0000 -@@ -515,7 +515,7 @@ extern TBOOLEAN clip_lines2; +@@ -522,7 +522,7 @@ extern TBOOLEAN clip_lines2; extern TBOOLEAN clip_points; extern TBOOLEAN clip_radial; @@ -81,7 +81,7 @@ --- gnuplot-5.4.0/src/plot.c +++ gnuplot-5.4.0/src/plot.c 2020-07-17 07:28:52.762646614 +0000 -@@ -205,6 +205,7 @@ static int asked_privi = 0; +@@ -206,6 +206,7 @@ static int asked_privi = 0; void drop_privilege() { @@ -89,7 +89,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -218,11 +219,13 @@ drop_privilege() +@@ -219,11 +220,13 @@ drop_privilege() if (seteuid(ruid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) ruid, strerror(errno)); @@ -103,7 +103,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -236,6 +239,7 @@ take_privilege() +@@ -237,6 +240,7 @@ take_privilege() if (seteuid(euid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) euid, strerror(errno)); @@ -111,7 +111,7 @@ } #endif /* LINUXVGA */ -@@ -271,8 +275,8 @@ main(int argc_orig, char **argv) +@@ -272,8 +276,8 @@ main(int argc_orig, char **argv) argc = argc_orig; #ifdef LINUXVGA @@ -121,7 +121,7 @@ #endif /* make sure that we really have revoked root access, this might happen if gnuplot is compiled without vga support but is installed suid by mistake */ -@@ -345,6 +349,22 @@ main(int argc_orig, char **argv) +@@ -346,6 +350,22 @@ main(int argc_orig, char **argv) rl_getc_function = getc_wrapper; #endif diff --git a/packages/g/gnuplot/gnuplot-5.4.4-grep.patch b/packages/g/gnuplot/gnuplot-5.4.4-grep.patch index 73441da..2d8d595 100644 --- a/packages/g/gnuplot/gnuplot-5.4.4-grep.patch +++ b/packages/g/gnuplot/gnuplot-5.4.4-grep.patch @@ -28,7 +28,7 @@ diff --git a/docs/Makefile.am b/docs/Makefile.am index f94eea28b..2e867d0db 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am -@@ -135,7 +135,7 @@ LUA_HELP = +@@ -121,7 +121,7 @@ LUA_HELP = endif allterm.h: $(CORETERM) $(LUA_HELP) @@ -37,7 +37,7 @@ index f94eea28b..2e867d0db 100644 LC_ALL=C sort -f -t':' -k2` ; do \ f=`echo $$e |cut -d\: -f1` ; s=`echo $$e | cut -d\: -f2` ;\ sed -n "/^[ ]*$$s/,/^[ ]*END_HELP/p" $$f ; \ -@@ -386,7 +386,7 @@ install-info: gnuplot.info +@@ -333,7 +333,7 @@ install-info: gnuplot.info $(AM_V_at) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) $(AM_V_at) $(INSTALL_DATA) gnuplot.info $(DESTDIR)$(infodir)/gnuplot.info $(AM_V_at) if (install-info --version && \ diff --git a/packages/g/gnuplot/gnuplot-5.4.5.tar.gz b/packages/g/gnuplot/gnuplot-5.4.5.tar.gz deleted file mode 120000 index 8f61a0e..0000000 --- a/packages/g/gnuplot/gnuplot-5.4.5.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeicviqqiac5m6kv7puyvngwec2f7dmbyxoqtlmrmu3rg2ocy4ermzm \ No newline at end of file diff --git a/packages/g/gnuplot/gnuplot-5.4.6.tar.gz b/packages/g/gnuplot/gnuplot-5.4.6.tar.gz new file mode 120000 index 0000000..599f767 --- /dev/null +++ b/packages/g/gnuplot/gnuplot-5.4.6.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeia25h54ymdo7kxjt3wyeub25va7tztuvkszpu4k3k3t4i6oqhgmky \ No newline at end of file diff --git a/packages/g/gnuplot/gnuplot-PIE.patch b/packages/g/gnuplot/gnuplot-PIE.patch index 7302e12..96a1945 100644 --- a/packages/g/gnuplot/gnuplot-PIE.patch +++ b/packages/g/gnuplot/gnuplot-PIE.patch @@ -3,7 +3,7 @@ Index: gnuplot-5.4.1/src/Makefile.am --- gnuplot-5.4.1.orig/src/Makefile.am +++ gnuplot-5.4.1/src/Makefile.am @@ -61,6 +61,7 @@ util3d.c util3d.h variable.c variable.h - voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h + voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h xdg.c xdg.h gnuplot_LDADD = $(GD_LIBS) $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS) +gnuplot_LDFLAGS = -pie diff --git a/packages/g/gnuplot/gnuplot-doc.changes b/packages/g/gnuplot/gnuplot-doc.changes new file mode 100644 index 0000000..14f5a00 --- /dev/null +++ b/packages/g/gnuplot/gnuplot-doc.changes @@ -0,0 +1,1827 @@ +------------------------------------------------------------------- +Sun Feb 12 15:07:08 UTC 2023 - Dr. Werner Fink + +- Update to gnuplot 5.4.6 + * NEW set key {columns } + set key {keywidth } + * NEW XDG support + startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc + history file: $XDG_STATE_HOME/gnuplot_history + wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf + * CHANGE remove "alldoc" build target + * CHANGE plot with polygons fillstyle empty really does mean empty + * FIX windows: various problems mixing piped input and stdin Bug #2491 + * FIX x11: bad interactions of lt nodraw, bgnd and dash pattern Bug #2572 + * FIX wxt: export-to-file widget should preserve line properties + * FIX svg: set initial default fill to "none" + * FIX png: back-compatibility with very old versions of gdlib Bug #2579 + * FIX variable pointtype, pointsize in plot style yerrorlines + * FIX border color for polygons with variable fillcolor + * FIX definition followed by iteration in a plot command Bug #2580 + * FIX parametric plot with filledcurves y1= Bug #1797 +- Port patches + * Gnuplot_5_4.pdf + * gnuplot-4.6.0-demo.diff + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-5.4.4-grep.patch + * gnuplot-PIE.patch + * gnuplot-gd.patch + +------------------------------------------------------------------- +Sat Dec 17 19:33:27 UTC 2022 - Dirk Müller + +- update to 5.4.5: + * NEW "set key offset , " tweaks placement of the key + * NEW data-driven histogram colors + * CHANGE re-order 3D labels to come after pm3d depthorder surfaces + * CHANGE hpgl: add terminal option "fontscale " + * CHANGE for nonuniform matrix data, column(0) returns linear position in + matrix + * CHANGE set pointintervalbox 0 disables drawing the background box Bug + * FIX svg: hypertext font handling + * FIX track columnheaders of multiple data blocks in a single file Bug + * FIX Clean up positioning of polar border, raxis, and theta tics Bug + * FIX Autoscaling of logscaled raxis + * FIX memory corruption if a small plot structure is recycled Bug #2550 + * FIX Windows qt terminal: "pause -1" should not block mousing Bug + * FIX promotion of string to integer should not assume leading 0 means + octal + +------------------------------------------------------------------- +Tue Sep 27 18:34:50 UTC 2022 - Andreas Stieger + +- remove warnings with GNU grep 3.8 and fix build with egrep/fgrep + removed boo#1203092 - add gnuplot-5.4.4-grep.patch + +------------------------------------------------------------------- +Tue Jul 19 08:15:29 UTC 2022 - Dr. Werner Fink + +- Update to gnuplot 5.4.4 + * NEW plots can use arrow styles that specify "lc rgb variable" + * CHANGE make page layout of "set view map; splot" more like that of "plot" + - honor "set rmargin" and "set tmargin" Bug #2484 + - display x2label and y2label Bug #2484 + - revised placement of color box Bug #2484 + - reconcile linked axis data and tic ranges Bug #2483 + - apply "set key invert" to splot Bug #2381 + * CHANGE cairo terminals: increase internal oversampling factor Bugs #2499 #2369 + * CHANGE fig: restore terminal option "pointsmax " Bug #2509 + * CHANGE always add a space between items in a "print" command Bug #2488 + * CHANGE consistent ordering of input columns for "plot ... ps var pt var" Bug #2524 + * CHANGE gnuplot -c script.gp A B -C ... will pass A B -C ... without interpretation + * CHANGE stricter error checks when promoting string to numeric value Bug #2527 + * CHANGE report GPVAL_TERM_XMIN and friends as floating point values + * FIX handle combination of axis properties logscale + autoscale + reverse Bug #2347 + * FIX mis-handled arguments at start-up of "gnuplot -c script arg1 ..." Bug #2493 + * FIX windows: redirected output of printf() Bug #2490 + * FIX allow variable point style and point type in plot "with yerrorbars" + * FIX plots "with labels point pt variable" were off-by-one in choosing point type + * FIX contour "with labels" from binary data + * FIX x/y fractional coordinate mouse readout for nonlinear axes Bug #2526 + * FIX Support combination of "set surface explicit; set hidden3d" Bug #2521 +- Use https +- Port patches + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-gd.patch +- Refresh Gnuplot_5_4.pdf + +------------------------------------------------------------------- +Sun Jun 19 17:31:46 UTC 2022 - Stefan Brüns + +- Use wxGTK3 instead of GTK2 wxWidgets. + +------------------------------------------------------------------- +Mon Jan 10 09:31:15 UTC 2022 - Dr. Werner Fink + +- Update to gnuplot 5.4.3 + * NEW "set pm3d border retrace" will use quadrangle color for the border + * NEW "nogrid" flag for plots to opt out of dgrid3d processing + * NEW option "above|below y=" for "plot with fillsteps" + * NEW "set style histogram nokeyseparators" suppress blank key entries Bug #2473 + * CHANGE always allow palette color for non-plot elements of 2D plot + * FIX contours were incorrectly allocated space in the key even if "notitle" + * FIX evaluation of unary minus in front of ternary operator Bug #2468 + * FIX arm and s390 require "signed char" Bugs #2467 #2450 + * FIX range errors if "smooth csplines" applied with x-axis reversed Bug #2465 + * FIX handle various corner cases found by fuzzing + * FIX textcolor should accept "linetype N" Bug #2459 + * FIX Windows: handling of Window messages for piped input Bugs #2204 #2412 + * FIX aquaterm: auto-configuration use of Frameworks Bug #2419 + * FIX qt: pm3d quadrangle borders for transparent surfaces + * FIX png/gif: gdlib auto-configuration issues + * FIX dumb: limit enhanced text markup to single-line vertical displacement +- This update fixes CVE-2021-44917 (boo#1194017) +- Port patches + * gnuplot-4.6.0.dif + * gnuplot-gd.patch + +------------------------------------------------------------------- +Mon Jun 7 05:53:01 UTC 2021 - Dr. Werner Fink + +- Update to gnuplot 5.4.2 + * NEW in "using" context, $# means "number of columns in current data line" + * NEW define on program entry: I = sqrt(-1) = {0.,1.} + * NEW support input data that uses epidemiological date-week formats + * NEW optional fillcolor for "set key opaque" + * NEW provide and document use of a plugin to provide uigamma function + * CHANGE much improved domain and precision for igamma function + * CHANGE generate only one key entry per multi-dataset input file Bug #2380 + * CHANGE (Windows): attempt to convert unicode on command line to UTF-8 + * CHANGE clip `with image` to plot boundary in 2D plots + * CHANGE In gprintf format "%c", add no space for a null prefix Bug #2266 + * CHANGE Make auto-placement of left border less sensitive to plot size Bug #2415 + * FIX time formats %U %W Bug #2390 + * FIX cairo terminals: Do not lose font info during multi-line enhanced text + * FIX left-justification of titles in splot with user-specified key position + * FIX cairo terminals (Windows): ignore "text scaling" from user screen settings + * FIX win: instabilities associated with changing window size Bug #2301 #2304 + * FIX pm: better mousing and font handling + * FIX qt: prevent zombie gnuplot_qt process Bug #2188 + * FIX clipping of filled polygons that have only 1 or 2 vertices Bug #2400 + * FIX "set tics front" unexpectedly made all grid lines invisible + * FIX more terminals support requested linewidth for textbox borders + * FIX indexing of multiple matrix data sets in a single input file + * FIX do not inject extra '\n' into input stream after 'set term' Bug #2292 +- Change offset of patches + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-gd.patch + +------------------------------------------------------------------- +Mon Apr 26 17:15:43 UTC 2021 - Dr. Werner Fink + +- Update spec file to work with TeXLive 2021 + +------------------------------------------------------------------- +Thu Apr 22 06:29:10 UTC 2021 - Dr. Werner Fink + +- Last commit had added patch gnuplot-PIE.patch + +------------------------------------------------------------------- +Thu Apr 15 13:04:05 UTC 2021 - Wolfgang Frisch + +- Hardening: compile with PIC and link with PIE (bsc#1184123). + +------------------------------------------------------------------- +Thu Dec 10 07:11:15 UTC 2020 - Dr. Werner Fink + +- Update to gnuplot 5.4.1 + * NEW "with rgbimage" and "with rgbalpha" accept single column ARGB input + * NEW add toggle in toolbar widget for qt terminal option "ctrl-q" + * NEW keyword "smooth kdensity period " + * NEW time format %tD encodes days relative to time 0 + * NEW pm3d quadrangles in 2D projection are clipped smoothly to x and y + * CHANGE gif animation 'optimize' option is deprecated Bugs #1992 #2070 #2348 + * CHANGE svg increase coordinate precision to two decimal points Bug #2369 + * FIX y autoscaling of default "with filledcurves" #Bug 2294 + * FIX placement of mirrored x and y tics in mode 'set view projection ...' + * FIX pm3d lighting calculation for degenerate quadrangles + * FIX botched deprecation of old syntax for "call" arguments Bug #2298 #2368 + * FIX pm3d "depthorder" affects 'set obj polygon' with >4 vertices Bug #2297 + * FIX loss of precision for asin(x), asinh(x) with real x << 0 Bug #2302 + * FIX error handling of bad font name in enhanced text Bugs #2303 #2308 + * FIX incomplete domain for complex acosh(x), real x < -1 was treated as NaN + * FIX error handling of fuzzed input Bugs #2306 #2307 #2309 #2312 #2344 + * FIX add range check for plot of binned data (allows clipping on y) + * FIX "unzoom" applied to autoscaled volatile data + * FIX no default for binary columns needed if there is a 'using' spec Bug #2315 + * FIX buffer overflow of enhanced text fragment Bugs #2310 #2311 + * FIX qnorm and Hann functions applied in dgrid3d Bugs #2277 #2318 + * FIX handling of dashtype given as a string with leading whitespace Bug #2336 + * FIX preserve key position across isolated instance of "title at x,y" Bug #2342 + * FIX contour labels had spurious point symbols + * FIX allow "pointtype variable" in combination with jitter Bug #2354 + * FIX cgm: sanity for non-zero font size Bug #2358 + * FIX more checks for valid UTF-8 Bugs #2362 #2364 +- Remove patches now upstream + * 052cbd17.patch + * 1f36c4fb.patch + * 963c7df3.patch + * a31c3b70.patch +- Port patch gnuplot-gd.patch +- Update Gnuplot_5_4.pdf as well + +------------------------------------------------------------------- +Mon Sep 28 10:14:01 UTC 2020 - Dr. Werner Fink + +- Add temporary upstream commits as patches + * 052cbd17.patch + * 1f36c4fb.patch + * 963c7df3.patch + * a31c3b70.patch + to fix the bugs bsc#1176689 with CVE-2020-25559 and bsc#1176687 + with CVE-2020-25412 + +------------------------------------------------------------------- +Fri Jul 17 07:36:14 UTC 2020 - Dr. Werner Fink + +- Update to gnuplot 5.4 + * NEW support for 64-bit integer arithmetic + * NEW support for voxel grids + * NEW plot ... with table if + * NEW "set walls" command to show xy xz and yz planes in 3D plots + * NEW "set clip radial" for line segments in polar mode plots + * NEW "splot ... with isosurface" + * NEW "splot ... with circles" + * NEW "splot ... with boxes" + * NEW "plot ... with arrows" + * NEW "plot ... with polygons" + * NEW "set view projection {xz|yz}" + * NEW "set datafile columnheaders" + * NEW per-plot fillcolor and fillstyle for pm3d surfaces + * NEW allow separate color column with dgrid3d surfaces (but not color splines) + * NEW string function trim(" padded string ") removes leading and trailing whitespace + * NEW unicode escape sequences \U+hhhh + * NEW order N Bessel functions of 1st and 2nd kind (besjn besyn) + * NEW modified Bessel functions I0 (besi0) and I1 (besi1) + * NEW modified Bessel function of order n (besin) + * NEW "set object polygon depthsort" as an alternative to front/back/behind + * NEW "set pixmap" object-like bitmap images from png/gif/jpeg input files + * NEW overflow avoidance extends range of arguments handled by complex division + * NEW largely extended pcl5 terminal supports PCL5e/PCL5c printers + * NEW revised pstricks and texdraw LaTeX terminals + * NEW extended dospc terminal (DOS32/OpenWatcom) + * NEW extended svga terminal using the (M)GRX library (DOS32/DJGPP) + * NEW heavily revised fig terminal + * NEW LaTeX terminal pict2e uses the LaTeX2e pict2e environment + * NEW Left-click on hypertext label will copy text to clipboard (wxt qt) + * NEW smooth option "zsort" controls order that points are plotting in + * NEW multiple textbox styles + * NEW Time/date input recognizes format %p to handle am/pm field + * EXPERIMENTAL "set mouse mouseformat function " + * EXPERIMENTAL load $DATABLOCK + * CHANGE revised syntax for plot style "with parallelaxes" + * CHANGE deprecate command "reread" + * CHANGE remove deprecated command "update" + * CHANGE remove deprecated option "thru" + * CHANGE special case optimization of nonlinear code to speed up logscale + * CHANGE windows terminal can print using Direct2D + * CHANGE windows terminal supports color fonts (Direct2D) + * CHANGE arrow head size can be decoupled from arrow size + * CHANGE apply trange to sampling on pseudofile '+' + * CHANGE move tgif terminal to "legacy" status; build only if configured + * CHANGE imaginary values from the using spec of a 2D plot are treated as NaN + * CHANGE remove compile option EXTENDED_COLOR_SPECS used only by vgagl.trm + * CHANGE remove linux and vgagl terminals + * CHANGE remove undocumented EXPERIMENTAL option for pm3d filled contours + * CHANGE print to datablock expands embedded \n into a separate block entry + * CHANGE boxplot outliers affect autoscaling only if they are enabled + * CHANGE remove latex, emtex, eepic, and tpic terminals from default build + * CHANGE pm3d quadrangles are by default clipped smoothly to zrange + * CHANGE `set offset` is ignored when the axis range is not autoscaled + * FIX allow mixed use of in-key plot titles and manually placed titles + * FIX open/close path for polygons + * FIX several stability issues of the caca terminal + * FIX gd terminals: rendering of white lines with lw > 1 + * FIX do not reapply "set offset" on refresh or scrolling event + * FIX for negative relative time format with leading element zero +- Port patch to 5.4.0 + * gnuplot-4.4.0-x11ovf.dif + * gnuplot-4.6.0-demo.diff + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-QtCore-PIC.dif + * gnuplot-gd.patch + * gnuplot-wx3.diff + * gnuplot-5.2.0-texi2info.patch +- Remove now obsolete patch gnuplot-QtIndexedList.dif +- Add new Gnuplot_5_4.pdf as now the old tutorial isn't anymore + +------------------------------------------------------------------- +Mon Jun 22 07:49:19 UTC 2020 - Werner Fink + +- Add patch gnuplot-QtIndexedList.dif to avoid warnings reported + with boo#1172565 + +------------------------------------------------------------------- +Tue Jun 16 09:13:13 UTC 2020 - Dr. Werner Fink + +- Disable warning messages from Qt5(.15 and up) (boo#1172565) + +------------------------------------------------------------------- +Mon Dec 2 12:31:23 UTC 2019 - Dr. Werner Fink + +- Update to gnuplot 5.2.8 + * CHANGE user-visible GPVAL_TERM_HCHAR GPVAL_TERM_VCHAR (help debug font issues) + * CHANGE placement of ylabel (compromise 5.2.7 and earlier versions) (Bug #2181) + * CHANGE make strstrt() aware of UTF8, e.g. strstrt("αβγ5", "5") returns 4 + * FIX "set timestamp" from "save" must not include a justification (Bug #2178) + * FIX set cntrparam levels increment , for logscale z (Bug #2183) + * FIX character pointtypes should inherit plot coloring like normal pointtypes + * FIX bad autoscaling of linked y2 axis (Bug #2186) + * FIX prevent infinite loop from unbounded interation in a non-data plot command + * FIX dimensions reported by "stats matrix every" (Bug #2189) + * FIX extent of boxplot whiskers could be off by one point (Bug #2106) + * FIX mix unbounded iteration and functions in a single plot command (Bug #2201) + * FIX reverse history search with readline=builtin (Bug #2209) + * FIX qt: suppress off-by-one ysize (Bug #1759) + * FIX cairo: suppress off-by-one ysize (Bug #1759) + * FIX gd: apply alpha to brushstroke lines (Bug #2117) + * FIX tikz: fixes to accommodate lua 5.3 and newer pgf + * FIX wxt: ExportToFile widget disabled in persist mode (Bug #2185) + * FIX qt: handling of modifier keys (ctrl alt shift) for keyboard events + * FIX wxt: handling of modifier keys (ctrl alt shift) for keyboard events + * FIX fig: dashtype "solid" was not passed through correctly to transfig + * FIX gd: incorrect line spacing of multiline label (Bug #2215) + +------------------------------------------------------------------- +Mon Aug 5 17:02:18 UTC 2019 - Stefan Brüns + +- Use _multibuild for documentation subpackage. The documentation requires + TeX and emacs, which significantly add to the build dependencies (emacs + depends on webkit2gtk, which depends on rust). +- Split Gnuplot mode files for emacs from the gnuplot package. The + gnuplot mode packages has no build dependency on gnuplot, while + the split removes the emacs build dependency from gnuplot. +- Disable KDE3 era DCOP support +- Move man pages to main package +- Do not package figure_*.pdf build artifacts, created for PDF manual +- Cleanup spec file: + * Fix RPM Group for doc package + * Remove support for openSUSE 13.1 (Qt4) + * Remove support for X11 installed in /usr/X11R6/ + * Remove defattr macro use + * Disable (S)VGA terminal (requires unvailable libvga) + +------------------------------------------------------------------- +Fri May 31 07:29:54 UTC 2019 - Dr. Werner Fink + +- Update to gnuplot 5.2.7 + * NEW "set pm3d noclipcb" will skip drawing quadrangles with color < cbmin + * NEW pm terminal supports utf8, dashed lines, bold/italic text + * NEW imaginary component of array values is available to "using" in column 3 + * NEW gnuplot --slow may help use of qt terminal with slow system font server + * CHANGE splot "with points pt 0" acts like "with dots" + * CHANGE (tikz) improved default interpretation of gnuplot arrowhead style + * CHANGE teach hidden3d to handle double-headed vectors (arrowstyle "heads") + * CHANGE "unset title" or "reset" resets all title properties to default + * CHANGE font names passed to enhanced text processing may be in quotes + * CHANGE cairo terminals accept fractional font sizes + * CHANGE "plot with table" does not output trailing field separator + * CHANGE better centering for clustered histograms + * CHANGE clear STATS_* variables before performing analysis + * CHANGE cairo, libgd, and svg terminals handle LT_NODRAW by not drawing at all + * CHANGE svg terminal clickable icons are in-line data rather than external refs + * CHANGE revise space allocated for ylabel; allow text justification for ylabel + * CHANGE reduce overhead, making it feasible to have 10^6 hypertext labels + * CHANGE heavily revised fig terminal + * FIX "plot with table" unnecessarily limited string column output to 60 chars + * FIX (windows) make sure graph window is shown even if the program is "hidden" + * FIX hidden3d mode was not correctly dealing with arrowstyle backhead + * FIX sprintf in 'using' spec must not clobber numeric locale + * FIX tikz - request for polygon with 0 vertices could hang terminal + * FIX lua/tikz - do not attempt to ftruncate output being piped through stdout + * FIX tkcanvas - do not attempt to ftruncate output being piped through stdout + * FIX handle NaN values in input stream to "stats FOO matrix" + * FIX prevent extra read past the end of a datablock holding matrix data + * FIX pm - issues in box and polygon fill, (wide) lines, enhanced text, images + * FIX dropped character in piped input stream if plot window is manually closed + * FIX extraneous dots and potential segfault from splot with contour labels + * FIX boxplots - color sequence correctly starts with specified linetype + * FIX incomplete initialization led to segfault from "gnuplot -c foo.gp baz" + * FIX Allow "pm3d depthorder base" to handle 3D boxes with logscale z +- Correct relative offsets of the hunks of the patches + * gnuplot-4.4.0-x11ovf.dif + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + +------------------------------------------------------------------- +Thu Jan 3 07:30:48 UTC 2019 - Dr. Werner Fink + +- Update to gnuplot 5.2.6 + * NEW keyword "keyentry" places an entry in the key without actually plotting + * NEW "set style boxplot medianlinewidth " + * CHANGE drop non-working support for CIE/XYZ color space + * CHANGE strptime ignores content read with format a/A/w/W + * FIX various corner-case bugs and overruns found by fuzzing + * FIX revise waitforinput in x11 terminal + * FIX revise waitforinput and terminal close events in qt terminal + * FIX revise waitforinput and new window events in monothreaded wxt terminal + * FIX lua.trm compatibility with lua version 5.3 + * FIX error line reporting inside an if/else bracketed clause + * FIX error in date conversion for times within a nanosecond of a year boundary +- Drop patch gnuplot-e3cc539c.patch as this is fixed with update + +------------------------------------------------------------------- +Wed Nov 28 11:35:10 UTC 2018 - Dr. Werner Fink + +- Add patch gnuplot-e3cc539c.patch from upstream commit e3cc539c + Fix the bugs boo#1117463 (CVE-2018-19492), boo#1117464 (CVE-2018-19491), + and boo#1117465 (CVE-2018-19490) + +------------------------------------------------------------------- +Tue Oct 9 07:40:42 UTC 2018 - Dr. Werner Fink + +- Let patch gnuplot-5.2.0-texi2info.patch apply + +------------------------------------------------------------------- +Tue Oct 9 07:10:08 UTC 2018 - Dr. Werner Fink + +- Update to gnuplot 5.2.5 + * NEW "set pm3d depthorder base" sorts pm3d quadrangles by projecting to z=0 + * NEW "set jitter vertical" displaces y coordinate rather than x coordinate + * NEW array size can be determined automatically from the initializer + * CHANGE place titles along x axis in plots with columnstacked histograms + * CHANGE equivalent slope constraint for mcs splines at both ends of the range + * CHANGE numerical arguments to "call" are stored in ARG1..ARGn as strings + * CHANGE numerical arguments to "call" are stored in ARGV[n] as complex + * CHANGE treat imaginary values plotted from a using spec as UNDEFINED (NaN) + * CHANGE allow "reset" between plots in a multiplot layout + * CHANGE Deprecate linux and vgagl terminals (to be removed in 5.3) + * CHANGE placement of axis and tic labels in 3D projections on to xz or yz plane + * CHANGE default to ./configure --without-wx-multithreading + * FIX parametric function plots did not work with logscale x (regression in 5.2.0-4) + * FIX polar mode "set trange" was assumed to use radians, now it tracks "set angle" + * FIX clip polar grid lines and ticks to x/y range limits + * FIX clipping of plot "with lines" when axes are nonlinear (regression from 5.0) + * FIX clipping of all elements in finanacebars/candlesticks/boxplots + * FIX clipping of 3D splot "with labels" + * FIX strange interaction of "noautoscale" with blank data lines + * FIX alignment of boxed text to center for eps/cairolatex + * FIX incompatibility of "pm3d depthorder" and rgb color taken from data column + * FIX aqua terminal font changes in enhanced text mode + +------------------------------------------------------------------- +Mon Jun 4 07:18:27 UTC 2018 - werner@suse.de + +- Update to gnuplot 5.2.4 + * NEW "call" parameters ARG1, ARG2, ... are also present as ARGV[1]...ARGV[ARGC] + * CHANGE generalize the test for missing data flag in input data + * CHANGE "set []range writeback" is now essentially always in effect + * CHANGE consistent placement of timestamp at true bottom of page + * FIX spurious evaluation of logscale coordinates as UNDEFINED + * FIX column header title assignments for histogram with errorbars + * FIX re-implement "refresh" command to use autoscale writeback/restore + * FIX font-handling bug; line-spacing of previous font still in effect + * FIX post, svg, dumb terminals: early fontsize initialization + +------------------------------------------------------------------- +Mon May 7 07:15:14 UTC 2018 - werner@suse.de + +- Update to gnuplot 5.2.3 + * NEW "set grid {no}vertical" adds grid lines in the xz and xz planes + * NEW "set cntrparam {firstlinetype N} {{un}sorted}" + * CHANGE drop non-working support for YIQ color space + * CHANGE expand \n characters when printing into a datablock + * CHANGE allow contour plots to opt out of hidden3d processing + * CHANGE special-case code to speed up handling of logscale axes + * CHANGE do not write GPFUN_* variables to "save" output file + * CHANGE default to density 100 for "set fs solid", 50 for "set fs transparent" + * FIX potential buffer overflow in gprintf formats containing %% + * FIX immediate response to ctrl-Z when libreadline is used for input + * FIX warning messages inside a bracketed clause could trigger early exit + * FIX tweak logscale tic range limits and minor tic generation intervals + * FIX stats FOO using 'namedcolumn' name columnhead + * FIX clipping of INRANGE->UNDEFINED line segments + * FIX use of logscale y axis in "set view map" or "set pm3d map" modes + * FIX placement of colorbox in "set view map" mode + * FIX autoscaled axis range of logscale axes in "set view map" mode + * FIX polar mode "with yerrorbars" error bars are radial, not vertical + * FIX clipping of circles whose center is offscreen to the left or bottom + * FIX snap to x=zero for function plot sampling does not apply to logscale x + * FIX canvas terminal: apply both color and alpha channel to points and lines + * FIX svg terminal: apply current color to dots + * FIX qt terminal: include "notitle" plots in accounting for toggle operations + * FIX svg terminal: point plot empty title produced spurious mousing directive + * FIX tikz terminal: failed to recognize dashtype 1 + +------------------------------------------------------------------- +Thu Feb 15 10:30:48 UTC 2018 - werner@suse.de + +- Do not miss gpic and mif +- Even if pulled by other packages do explicite require for the build + * pkgconfig(freetype2) + * pkgconfig(libjpeg) + * pkgconfig(libpng16) + +------------------------------------------------------------------- +Mon Feb 12 18:26:08 UTC 2018 - crrodriguez@opensuse.org + +- Do not use xorg-x11-* as buildrequires +- Fix broken GD libs detection (gnuplot-gd.patch) +- Remove unneeded buildrequires. + +------------------------------------------------------------------- +Thu Nov 16 07:52:31 UTC 2017 - werner@suse.de + +- Update to gnuplot 5.2.2 + * NEW splot ... with lines title at {beg|end} + * FIX allow mixed use of in-key plot titles and manually placed titles + * FIX prevent runaway iterations of the form plot for [i=start:*] ... + * FIX handle in-line range limits for linked or nonlinear axes + * FIX restore pre-5.2 interpretation of logscaled tic increment as a multiplier + * FIX logscale tic placement is closer to that of versions before 5.2.0 + * FIX recheck inrange/outrange points after spline or bezier smoothing + * FIX sampling on x2 if linked to x1; e.g. plot sample [t=1:5:1] '+' axes x2y1 + * FIX empty range on logscale y axis is handled by auto-extending the range + * FIX autoscaling xrange of stacked histograms +- Add now missed TEXDIR at configure time which now includes also + the sub path tex/latex/gnuplot/ below /usr/share/texmf/ (could + become removed with some of the next version updates?) + +------------------------------------------------------------------- +Wed Nov 8 18:31:59 UTC 2017 - nico.kruber@gmail.com + +- Update to gnuplot 5.2.1 + * NEW set table separator {tab|comma|"char"} allows creation of csv files + * NEW hotkey for changing azimuth in 3D plots with mousing + * NEW titles for "splot .. with lines" can be placed at {beg|end} of plotted line + * NEW Rework gstrptime() to handle relative time formats tH tM tS + * NEW command 'set rgbmax ' controls interpretation of input RGB values + * CHANGE restore pre-5.2 interpretation of logscaled tic increment as a multiplier + * CHANGE allow mixed use of in-key plot titles and manually placed titles + * FIX autoscaling of plots with spline or bezier smoothing + * FIX autoscaling of plots with linked axes where data is plotted on x2 or y2 + * FIX "with filledcurves below y=foo" mishandled the case of y value exactly = foo + * FIX [windows] repair breakage of stderr/stdout redirection to console + * FIX postscript terminal artifacts when drawing dot/dash circles + * FIX handle empty range on logscale y axis as a warning, not an error + +------------------------------------------------------------------- +Fri Sep 29 07:55:11 UTC 2017 - werner@suse.de + +- Add patch gnuplot-5.2.0-texi2info.patch as source to be avble + to patch the resulting gnuplot.texi +- Modify patches + * gnuplot-4.4.0-x11ovf.dif + * gnuplot-4.6.0-demo.diff + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-QtCore-PIC.dif + * gnuplot-wx3.diff + +------------------------------------------------------------------- +Wed Sep 27 13:47:57 UTC 2017 - werner@suse.de + +- Update to gnuplot 5.2.0 + * NEW user-defined dashtypes in metapost terminal + * NEW datablock contents may be accessed as an indexed array of strings + * CHANGE allow explicit sample interval for u and v using pseudofile '++' + * CHANGE decouple cbrange from color components in "with rgbimage" + * FIX reconcile aspect ratio flags from "set view map" and "set view equal xy" + * FIX "set key fixed" should be ignored in the case of "set view map" + * FIX GPVAL_* variables were not being updated in "set table" mode + * FIX evaluation of nested iteration containing an empty range + * FIX bug in variant time_spec formats %tH %tM (undesired wrapping) + * NEW "plot with table" can handle string-valued output columns + * CHANGE add caca terminal documentation to the user manual + * CHANGE revised output of "test" command + * CHANGE use Mingw-w64 and MSVC popen rather than built-in "fake" popen + * FIX copy environmental variable GNUTERM to internal variable on entry + * FIX more consistent handling of plot 'with table' + * FIX incorrect, possibly empty, command string was saved for previous fit + * FIX ignore non-numeric values of potential dummy params used by "fit" + * FIX autoscaling during refresh of volatile data plots "with vectors" + * FIX terminal initialization must be done before executing ~/.gnuplot + * FIX do not use LaTeX formatting in tabular output + * FIX polar border should not be clipped to rectangular border + * FIX raxis was truncated at R=0 if the axis direction was inverted + * FIX sanity check to catch "plot '+' binary" + * FIX sanity check for NULL format passed to gprintf + * FIX sanity check inverse mapping function of set link and set nonlinear + * FIX sanity check for empty image data structure + * FIX segfault from corruption of timestamp text + * FIX several unitialized variables (see Bug 1933) + * FIX dumb term: linetype character distinction was lost if not in color mode + * CHANGE svg terminal option "fontscale" replaces obsolete "fsize" + * NEW plot styles + * NEW splot ... using :::: with zerrorfill + * NEW "set jitter" allows creation of bee swarm plots + * NEW data filter "bins" sorts input into equal width bins on x + * NEW "with points" and "with linespoints" accept `pointtype variable` + * NEW hidden3d now treats 'image' and 'rgbimage' as occluding rectangles + * NEW "smooth fnormal" normalized frequency + * NEW polar mode improvements and extensions + * NEW "set [m]ttics" places labels around perimeter of polar grid + * NEW "set rlabel" places a label above the r axis + * NEW "set rrange [90:0]" plots in celestial horizontal coordinates + * NEW "set border polar" uses border linetype for perimeter of polar plot + * NEW "set theta " orientation of polar coordinate theta + * NEW label, arrow, and object positions may be given in polar coordinates + * NEW nonlinear coordinate systems + * NEW "set nonlinear via f(axis) inverse g(axis)" + * NEW "set log" re-implemented as special case of "set nonlinear" + * NEW data type array[size] + * NEW commands and command options + * NEW "break" exits from iteration loop + * NEW "continue" begins next iteration immediately + * NEW "toggle { | "plottitle" | all}" + * NEW "set pm3d lighting" specifies lighting model with specular highlighting + * NEW "set table OUTFILE {append}" + * NEW "set minussign" and "set micro" (first appeared in 5.0.5) + * NEW "set view azimuth " controls azimuth of the z axis in 3D plots + * NEW "save fit " replaces deprecated command "update" + * NEW terminals and terminal options + * NEW terminal domterm (supports in-line SVG in DomTerm terminal emulator) + * NEW terminal sixelgd (sixel terminal graphics using gdlib) + * NEW svg 'standalone' embeds images rather than including by reference + * NEW windows terminal supports saving graph as bitmap + * NEW windows graph windows can be docked to the wgnuplot text window + * NEW windows terminal Direct2D driver rather than GDI/GDI+ where possible + * NEW wxt supports saving graph as EMF on Windows + * NEW wxt supports printing on Windows + * NEW dumb suports ANSI colors and filled polygons + * NEW Optional sampling interval in range specifiers for pseudofiles '+' '++' + * NEW gnuplot on Windows + * converts Unicode (BMP) input to current `set encoding`, including UTF-8 + * is system DPI aware + * NEW textbox style supports fillcolor and bordercolor + * CHANGE point style associated with "plot with labels" is shown in the key + * CHANGE Revise placement of axis labels in 3D plots + * CHANGE Timestamp is now placed relative to page rather than plot boundary + * CHANGE Track font/enhanced for key title separately from the key entries + * CHANGE order of margins in `set margins , , , ` + * CHANGE Store and reuse x,y dimensions from the time image data is read in + * CHANGE Some STATS_* variables are of type integer rather than real (complex) + * CHANGE ^R starts a backward search when using the built-in readline + * CHANGE Only update axis->data_min/max if the point being stored is INRANGE + * CHANGE auto-generation of minitics on logscale axis has changed + * CHANGE revised printing dialogs on Windows + * CHANGE preserve whitespace following opening { in enhanced text strings + * CHANGE windows terminal provides better oversampling + * CHANGE New default "set key fixed" prevents 3D key box from rotating with plot + * CHANGE Deprecate pdf terminal requiring non-free library PDFlib + * CHANGE windows terminal also uses GDI+ for printing and copy-to-clipboard + * CHANGE raxis/polar grid can coexist with cartesian axes + * CHANGE evaluation of norm(x) or x**y returns 0 on floating underflow + * CHANGE support for space-in-x11-raises-KDE3-konsole is now a configure option + * CHANGE don't use loadpath to choose output directory for "save" + * CHANGE GNUTERM may contain terminal options in addition to bare terminal name + * CHANGE remove legacy terminals corel and dxf from default build + * FIX cairo.trm - reset terminal font after printing an enhanced text string + * FIX autoscaling of data with "smooth cnorm" + * FIX Built-in readline handles S-JIS encoding + * FIX Output to printer on Windows via special file "PRN" + +------------------------------------------------------------------- +Wed Aug 16 07:09:12 UTC 2017 - werner@suse.de + +- Update to 5.0.7 (which does also close CVE-2017-9670 (bsc#1044638)) + * NEW set term {pngcairo|pdfcairo} pointscale + * NEW "save fit" back-ported from version 5.2 as a replacement for "update" + * NEW user-defined dashtypes in metapost terminal + * CHANGE deprecate "update" command (but do not remove it) + * CHANGE allow placement of circles in 3D plots using axis coordinates + * CHANGE ignore invalid z coordinate for 3D objects placed in "set view map" + * CHANGE distinguish 'bind "shift-Button1"' from 'bind "Button1"' + * CHANGE use Mingw-w64 and MSVC popen rather than built-in "fake" popen + * CHANGE allow range to include sampling interval in plots using pseudofile '+' + * FIX rangelimited y2 axis could produce spurious diagonal line across plot + * FIX assignment of x/y dimensions in "binary record=(a,b) ... with image" + * FIX negative array index caused by hidden3d degenerate polygon + * FIX object clipping in "set view map" + * FIX cairo terminals: scale textbox border linewidth by terminal linewidth + * FIX canvas terminal: initialization of plot dimensions (affects first zoom) + * FIX crash in stats if no usable data is found + * FIX do not use LaTeX formatting in tabular output + * FIX sanity check to catch "plot '+' binary" + * FIX sanity check for NULL format passed to gprintf + * FIX sanity check for empty image data structure on input + * FIX more consistent handling of plot 'with table' + * FIX incorrect, possibly empty, command string was saved for previous fit + * FIX 2D images with logscale axes could fail (segfault) + * FIX nested iteration containing an empty range + * FIX allow 64-bit Cygwin build using gtk3 for wxt terminal + +------------------------------------------------------------------- +Wed May 10 08:53:16 UTC 2017 - nico.kruber@gmail.com + +- Update to 5.0.6 + * NEW command 'set micro' enables encoding-specific char for gprintf %c format + * NEW command 'set datafile missing NaN' treats invalid data as if it were + missing + * NEW backport updated svg/domterm terminal from development version + * CHANGE - start/end limits in nested iterations are reevaluated dynamically + * CHANGE - revised adjustment of x2label and plot title when x2tics are + present + * CHANGE - mark non-free pdf terminal DEPRECATED + (to be removed in release 5.2) + * CHANGE - allow fractional font sizes for gdlib terminals + * CHANGE - do not allow inverted R axis + (requires support not backported from 5.1) + * CHANGE - allow pointinterval property in 'with lp' for splot as well as + for plot + * CHANGE - "linewidth " is accepted as a terminal option for aquaterm, + qt, wxt + * CHANGE - spline segments outside xrange are ignored rather than treated + as errors + * FIX wxt - multithreaded wxt was faulting during resize (mutex lock failure) + * FIX windows - timed pause only worked for intervals < 1 second + * FIX Front/back layering of border+grid lines was not always correct in + hidden3d + * FIX "set pm3d depthorder interpolate N,M" memory allocation failure + * FIX aquaterm failed to honor request to disable enhanced text markup + * FIX save and show commands failed to list linecolor for lines with "lt -1" + * FIX the "missing" data flag is honored by "using ($n)" as it is for "using n" + * FIX error reporting of line number inside a bracketed clause + * FIX gnuplot_x11: possible fix for sporadic use-after-free error + * FIX initialization of hidden3d structures for splot with dots + * FIX track arrowhead properties in hidden3d mode + * FIX tracking of NaN values from function evaluated during binary data input + * FIX 3D rotation does not clobber hidden/visible status of plots + +------------------------------------------------------------------- +Thu Dec 15 13:08:46 UTC 2016 - werner@suse.de + +- Update to 5.0.5 + * NEW allow filename completion for system commands and pipes (backport from 5.1) + * NEW option to plot with labels {rotate variable} + * NEW command "set minussign" + * NEW stats command "name" option now accepts "columnheader" or "columnheader(N)" + * NEW command option "set colorbox invert" + * CHANGE qt terminal force selection of outline font rather than bitmap font + * CHANGE post terminal simplex/duplex output depends on PostScript level setting + * CHANGE improved autoscaling of plot "with boxes" + * CHANGE qt terminal sets TERM_POLYGON_PIXELS to avoid aliasing artifacts + * CHANGE all stats and fit commands skip header records if "autotitle columnhead" + * FIX Do not confuse EOF with 8-bit character 0x177 (E.g. in Cyrillic encodings). + * FIX use blank line rather than 'u' flag in "set table" output of smoothed data + * FIX order dependence of "fillcolor" keyword in plot commands + * FIX svg - better vertical justification of rotated text + * FIX wxt - file export widget correctly handles inactive plots + * FIX qt - preserve leading and trailing whitespace in enhanced text strings + * FIX various bugs affecting matrix data plotted "with image" +- Remove the patches now upstream + gnuplot-5.0.0-lua-5.3.1.dif + gnuplot-5.0.1-fix-latex-docs.diff +- Port patches to current version + gnuplot-4.4.0-x11ovf.dif + gnuplot-4.6.0-demo.diff + gnuplot-4.6.0.dif + gnuplot-QtCore-PIC.dif + gnuplot-wx3.diff + +------------------------------------------------------------------- +Tue Jul 26 17:31:55 UTC 2016 - werner@suse.de + +- Some more TexLive packages + +------------------------------------------------------------------- +Mon Nov 30 23:56:19 UTC 2015 - nico.kruber@gmail.com + +- Update to 5.0.1 + * NEW "set mono" (full command "set monochrome {linetype lt + }") + * NEW "set fit nolog" suppresses output to log file + * NEW sixel terminal supports RGB and palette colors, but only 16 at + a time :-( + * NEW command "printerr" acts exactly like "print" but always outputs + via stderr + * CHANGE autoconfigure of Qt5 support now looks for --variable=host_bins + * CHANGE reevaluate fill color for each polygon in data for + "with filledcurves" + * CHANGE gstrptime(): always check validity of %y %Y %d %B %b input fields + * CHANGE track text properties for key title separately from key entries + * CHANGE "smooth kdensity" now handles logscale y and explicit x range + * CHANGE order of margins in the "set margin" command to left, right, + bottom, top + * CHANGE guarantee color of key sample for "lc variable" plots matches + 1st point + * CHANGE "set term fig color" can use predefined linetype colors and + named colors + * CHANGE skip all preprocessing for input lines beginning with shell escape + char + * CHANGE build system to suppress dvi as an automake-generated target + * CHANGE in hidden3d mode, the 'nosurface' suppresses both surface grid + directions + * FIX replace palette color value NaN with background color + * FIX improved handling of boxplot data with multiple factors (categories) + * FIX save_textcolor was not handling "tc variable" + * FIX apply numeric locale when reading ascii matrix data + * FIX handling of ascii matrix data + * FIX reinitialize brush used to draw dotted lines in gd terminal + * FIX failure to clear bold/italic text attributes in cairo terminals + * FIX tabular output of time data when the axis format has not been set + * FIX breakage in plot style filledcurves {above|below} y1= + * FIX dashtypes after "set term {e}pslatex mono" + * FIX report and enforce maximum number of parallel axes without faulting + * FIX smooth mcsplines for a curve containing multiple y values at a single x + * FIX several bugs evident for log-scaled color axis + * FIX regression in color support for pbm/sixel/hpgl terminals (no RGB color) + * FIX accummulated round-off error in dotted lines drawn by libgd terminals + * FIX incorrect colorbox axis labels in polar plots + * FIX AquaTerm framework name is case-sensitive + * FIX strip enhanced text markup from plot titles embedded in svg output + * FIX error in retrieving matrix column headers as strings + * FIX error in calculating absolute deviation (stats command) + * FIX allocation error from "set fit covariancevariables" + * FIX tkcanvas terminal handling of blank (default) font family name + * FIX off-by-one-error in color of contours when hidden3d is active + * FIX adjust WIN32 encoding used by text output from "pause" command + * FIX qt terminal 3D rotation mode tendency to get stuck "on" + * FIX dash pattern rendering in contour lines + * FIX 'fit [][min:max] f(x)' was incorrectly ignoring min:max +- Rediff gnuplot-4.6.0.dif +- Add gnuplot-5.0.1-fix-latex-docs.diff to fix a regression of 5.0.1 in + building the latex docs + +------------------------------------------------------------------- +Tue Jul 28 06:50:41 UTC 2015 - werner@suse.de + +- Add patch gnuplot-5.0.0-lua-5.3.1.dif to make it build with + lua-5.3.1 + +------------------------------------------------------------------- +Fri Jul 24 11:08:33 UTC 2015 - werner@suse.de + +- Require pkgconfig of libcerf at build time + +------------------------------------------------------------------- +Fri May 22 07:07:22 UTC 2015 - werner@suse.de + +- Make it build even with older Qt4 based systems + +------------------------------------------------------------------- +Thu May 21 08:12:01 UTC 2015 - werner@suse.de + +- Since QtCore is build with -reduce-relocations a -fPIC is required + therefore add patch gnuplot-QtCore-PIC.dif + +------------------------------------------------------------------- +Sun Mar 22 14:08:18 UTC 2015 - jengelh@inai.de + +- Enable CACA output module +- Build with wxWidgets 3. Add patch gnuplot-wx3.diff + +------------------------------------------------------------------- +Sat Jan 31 12:54:31 UTC 2015 - alinm.elena@gmail.com + +- for versions greater than 13.1 we shall build against qt5 + * cleaned up various rpmlint warning + * got rid of configure options obsoleted + +------------------------------------------------------------------- +Wed Jan 21 07:29:58 UTC 2015 - burnus@net-b.de + +- Update to 5.0.0 + * NEW new command set {xyz}tics {timedate|geographic|numeric} sets + axis->tictype + * NEW add the tictype keywords to + set format {axis} {time|geographic|numeric} + * NEW format modifier 't' in timedate mode indicates a time + rather than a date + * NEW grey out key entries when corresponding plot is toggled off + * NEW allow parenthesized expressions as call parameters + * NEW set margins , , , + * NEW set trange [theta_min:theta_max] filters input data in polar plots + * NEW "set mouse zoomfactors ," + * NEW New matrix keywords for text data: "columnheaders" and "rowheaders" + * NEW The dashtype property on any line can be seperately controlled + * NEW custom dashtypes + * NEW LFS support for datafiles + * NEW timecolumn(col,"timeformat') now requires 2nd parameter, the format + * NEW 'set view map {scale}' allows resizing a 3D projection plot + * NEW 'nodraw' keyword to suppress lines (e.g. in style linespoints) + * NEW bold/italic text markup in enhanced text mode + * NEW bit-shifing binary operators << and >> + * NEW stat calculates skewness, kurtosis, and standard errors + * NEW function plugins, e.g. 'import f(x) from "plugins.so"' + * NEW option to tabulate all input columns "set table; + plot ... with table" + * NEW smoothing option "mcsplines" for piecewise monotonic + cubic splines + * NEW 'history !N' reexecutes the command at history entry N. + * NEW 'set history {size } {quiet|numbers} {full|trim} {default}' + * NEW piecewise functions via separate sampling ranges for each plot + element + * NEW function hsv2rgb(H,S,V) creates a 24-bit RGB value + * NEW plot title can be placed next to the plot line in + the graph proper + * NEW inline data can be stored for reuse in named data blocks + * NEW 'set print|table $datablock' to redirect output to a named + data block + * NEW hypertext labels can be displayed on mouse-over + * NEW geographic (Degrees Minutes Seconds) data axes + * NEW set arrow from length angle + * NEW arrow style keywords "noborder" and "fixed" + * NEW the high bits of RGB colors are treated as an alpha channel + * NEW 'set surface explicit' disables automatic generation of + a surface mesh + * NEW 'set link [x2|y2]' ties secondary axis range to the primary axis + * NEW 'set link x2 via f(x) inverse g(x)' introduces generic nonlinear + axes + * NEW linked axes can be used to place x2 and y2 labels on 3D plots + in map mode + * NEW 'set key opaque' works for 3D plots also + * NEW x11 terminal is aware of current and requested plot aspect ratio + * NEW x11 support for toggling plots on/off with left mouseclick on + the key + * NEW post term can use /FlateDecode to reduce the size of embedded + images + * NEW 'set fit quiet|results|brief|verbose' changes fit's verbosity + * NEW fit optionally stores final covariances to user variables + * NEW fit command takes errors of independent variables into account + * NEW 'set multiplot next/previous' + * NEW 'set contours; splot FOO with labels' places labels on the + contour lines + * NEW Additional levels of user-specified axis tics + * NEW complex math routines cerf, cdawson, erfi, faddeeva from + libcerf if present + * NEW i/v/V hotkeys to toggle all plots on the screen on/off + * NEW 'set mrtics' (minor tics on polar axis) + * NEW 'reset session' + * NEW call argument convention ARGC, ARG0 ARG1 ... ARG + * NEW shell invocation gnuplot -c scriptfile ARG1 ARG2 ARG3 + * NEW format %h is like %g but uses LaTeX or enhanced markup for the + exponent + * NEW LaTeX terminals use math mode for axis tic labels + * NEW Interrupt scripts or fits by pressing Ctrl-C in Windows console + mode gnuplot or Ctrl-Break in wgnuplot. + * NEW optional faster windows terminal variant using GDI+ + * NEW plot option to "skip N" lines at start of an ascii data file + * NEW interactive color character art terminal "caca" +- Rediff gnuplot-4.6.0-fonts.diff, gnuplot-4.4.0-x11ovf.dif, + gnuplot-4.6.0.dif and gnuplot-4.6.0-demo.diff. +- Remove gnuplot-4.6.0-backtick.diff as to-be-patched file no longer + exists. + +------------------------------------------------------------------- +Tue Oct 28 20:57:31 UTC 2014 - kruber@zib.de + +- Update to 4.6.6 + * NEW linetype keyword "nodraw" can be used to draw only the points in + "with lp" + * NEW plot option to "skip N" lines at start of an ascii data file + * NEW 'set fit prescale' normalized fit parameters before M-L refinement + * NEW update svg terminal to grey out the key entry when a plot is + toggled off + * NEW allow keywords "comma" and "tab" for "set datafile separator" + * CHANGE Accept "with image pixels" as a synonym for "with image failsafe" + * CHANGE return NaN if a requested numerical data value finds a string + instead + * CHANGE Consume only one space following the font name in an enhanced + test string + * CHANGE respond to left mouse click on press rather than on release + * FIX Faster recovery from outboard server gnuplot_qt being killed + * FIX get rid of O(N^2) memory allocation for string data in long input + lines + * FIX large integers in iteration spec could cause overflow in end + condition check + * FIX object fillcolors should be consistent with the color of current + linetypes + * FIX LFS support on 64bit platforms (not backported for 32bit platforms) + * FIX timecolumn() applied to non-axis data reports an error rather than + faulting + * FIX clipping could fail on integer overflow + * FIX segfault resulting from strcol(N) applied to empty field in a *.csv + file + * FIX adjustment of key size to accommodate long key title + * FIX treat data value read as "NaN" the same as we would "1/0" + * FIX handling of events triggered by closing the qt plot window + * FIX iteration failure due to integer overflow + * FIX clip r axis tics to current plot boundary + * FIX logscale cb axis with volatile data + * FIX qt terminal timing problem with mouse click+release + * FIX qt terminal handle window close events + * FIX incorrect processing of certain loop [start:end:incr] combinations + * FIX Fix y extent and clipping of rectangles with y coord < 0 or inverted + axes + * FIX handle columnheaders in input to fit + * FIX add sanity check in pdf.trm to avoid strcpy(fontname,fontname) + +------------------------------------------------------------------- +Tue Feb 25 08:42:01 UTC 2014 - burnus@net-b.de + +- Update to 4.6.5 + * NEW monotonic cubic splines using "smooth mcsplines" + * NEW phase-jump removal filter "smooth unwrap" + * NEW allow '+' pseudofile to sample the T axis in 2D parametric + plots + * NEW allow '++' pseudofile to sample the U/V axes in 3D + parametric plots + * NEW "sixel" terminal driver + * NEW new object attribute clip/noclip + * CHANGE maximum number of using spec columns increased from 7 + to 11 + * CHANGE code in bitmap.c relicensed to remove restriction to + noncommercial use + * FIX allow 'set pm3d' interpolate and top/bottom options to + coexist + * FIX revised handling of defined palettes with explicit + maxcolors + * FIX continue as normal after an interactive session error + from "gnuplot -" + * FIX empty first field in a tab-separated-values file was + incorrectly ignored + * FIX several problems with color assignment to contour lines + * FIX qt terminal incorrectly changed linetype (dot/dash) + to match line color + * FIX "pause mouse" worked only for right- or center- click, + not left-click + * FIX emf terminal font initialization + * FIX wxt terminal vertical centering of enhanced text + * FIX win terminal filled polygon bugs + * FIX iteration over parametric function plots + * FIX autoscaling of polar mode plots + * FIX increase precision of xticlabel placement from (float) to (double) + * FIX allocation error affecting certain cvs files + +------------------------------------------------------------------- +Tue Oct 29 22:32:31 UTC 2013 - burnus@net-b.de + +- Update to 4.6.4 + * CHANGE treat empty fields in a csv file as "missing" rather than "bad" + * CHANGE allow reference to more than one column header in 'using' or 'title' + * CHANGE if a polar plot is autoscaled, try to place the origin at the center + * FIX svg and canvas terminal mousing of inverted axis coordinates + * FIX emf failed to initialize font correctly on some systems + * FIX timedata columns can now be referred to via column(N) and column("HEAD") + * FIX qt terminal toggling of enhanced text elements in plot with labels + * FIX color/pattern generated for key entries of columnstacked histograms + * FIX hitting ^C twice forces temination of wxt session hung by lost X-server + * FIX win terminal failed to properly adjust plot border after window resize + * FIX several conditions in which macros were not expanded during command input + * FIX promote a string containing only digits to INTGR rather than CMPLX + * FIX 'set grid front' caused failure to initialize location of axis zero point + * FIX very poor precision in mouse coords reported by x11 in -persist mode + * FIX parsing of $# (the number of arguments in a "call"). It's not a comment! + * FIX memory leak of cropped images using pngcairo terminal + * FIX "lc variable" now iterates over linetype colors (not styles) as documented + * FIX rtics were sometimes drawn with length 0 + +------------------------------------------------------------------- +Thu Apr 25 07:55:00 UTC 2013 - burnus@net-b.de + +- Update to 4.6.3 + * FIX suppression of color in linetypes after "set term ... mono" + * FIX synchronization of graphics and text color in latex terminals + +------------------------------------------------------------------- +Sun Mar 31 21:06:21 UTC 2013 - burnus@net-b.de + +- Update to 4.6.2 + * Bug fixes + * Allow the "bind" command to attach a user command to + mouse button 1 + * hidden3d can handle occlusion by pm3d surfaces + * -d option from command line skips ~/.gnuplot + initialization file + * plot '<&N' plots from file descriptor N opened during + shell invocation + +------------------------------------------------------------------- +Tue Nov 6 09:19:06 UTC 2012 - burnus@net-b.de + +- Update to 4.6.1 + * Bug fixes. + * Support tabulation of variable color column. + * Support tabulation (set table) of pixel values from image plot + styles +- Remove now obsolete patches gnuplot-automake.diff and + gnuplot-4.6.0-fix-format-errors.diff. + +------------------------------------------------------------------- +Tue Oct 16 08:23:37 UTC 2012 - coolo@suse.com + +- buildrequire libpng, it compiles fine with it + +------------------------------------------------------------------- +Mon Jul 23 09:01:56 UTC 2012 - werner@suse.de + +- Resolve the former problem by using texlive-texinfo to enforce + installing required fonts as well as required tools for TL 2012 + +------------------------------------------------------------------- +Sun Jul 22 13:59:46 UTC 2012 - coolo@suse.com + +- add more texlive 2012 requirements + +------------------------------------------------------------------- +Tue Jul 10 09:47:35 UTC 2012 - werner@suse.de + +- Make it build with latest TeXLive 2012 with new package layout + +------------------------------------------------------------------- +Tue Jul 3 07:27:41 UTC 2012 - werner@suse.de + +- Convert gnuplot.el to new backtick lisp scheme for emacs 24.1 + +------------------------------------------------------------------- +Wed May 30 15:33:29 UTC 2012 - jengelh@inai.de + +- Remove redundant tags/sections from specfile +- Parallel build with %_smp_mflags +- Add patch to delete no-longer supported constructs from + configure.in/Makefile.am + +------------------------------------------------------------------- +Wed Apr 4 12:13:24 UTC 2012 - werner@suse.de + +- Use new bcond_without h3d_gridbox to switch back to h3d-quadtree + if h3d-gridbox will be disabled on the commandline of rpmbuild + +------------------------------------------------------------------- +Mon Apr 2 15:37:32 UTC 2012 - werner@suse.de + +- Avoid to stumble on bug in QtCore.pc on older distributions + +------------------------------------------------------------------- +Mon Apr 2 14:38:11 UTC 2012 - werner@suse.de + +- Refresh patches to see in which C function each change is in +- Reenable bitmap terminals + +------------------------------------------------------------------- +Thu Mar 15 11:43:23 UTC 2012 - kruber@zib.de + +- Update to gnuplot 4.6.0 + * New syntax supporting multi-line blocks of code delimited by curly braces + if () { ... } else { ... } + do for [] { ... } + while () { ... } + * Time formats can handle fractional seconds to microsecond precision. + * User-definable linetypes that can be used to establish a locally + preferred default sequence of colors or dash/thickness/point styles. + * Statistical summary of the data to be plotted (new command "stats") + * New terminal drivers: qt context epscairo cairolatex + * The version for Windows received major improvements + (GUI, help, native terminal and wxt, installer) + * Improved support for UTF-8, SJIS and other multi-byte encodings + +------------------------------------------------------------------- +Wed Feb 13 15:03:20 UTC 2012 - burnus@net-b.de + +- Make gnuplot build with newer LUA version. + +------------------------------------------------------------------- +Mon Feb 13 11:46:11 UTC 2012 - werner@suse.de + +- Fix version control of further help messages, fix done + by Dieter Jurzitza (bnc#746299) + +------------------------------------------------------------------- +Fri Feb 10 19:05:08 CET 2012 - sbrabec@suse.cz + +- Fix libdir x libexecdir clash (bnc#744835). +- Use %configure macro. + +------------------------------------------------------------------- +Tue Dec 13 08:33:16 UTC 2011 - cfarrell@suse.com + +- license update: SUSE-Gnuplot and GPL-2.0+ + SPDX format (including SUSE prefix for licenses not yet accepted by SPDX + upstream). This is not BSD-3-Clause. The Gnuplot license insists that + modifications to source code be done by patch only. There are GPL-2.0+ + components included as aggegation + +------------------------------------------------------------------- +Thu Dec 1 16:46:07 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Nov 29 22:48:07 UTC 2011 - burnus@net-b.de + +- Update to gnuplot 4.4.4 + * NEW boxxyerrors plot style now allows variable color + * NEW splot with pm3d now allows variable rgb color + * NEW "nonuniform matrix" indicates ascii data with explicit x, y + * CHANGE columnhead(N) is a string-valued function, not a keyword + * CHANGE Demarcate plots in svg output using ... + * CHANGE xticlabels() works for binary data files as well as ascii + * CHANGE "set key maxrows" now applies to 3D plots as well as 2D + * CHANGE rewrite installation path rules for TeX files + * FIX wxt terminal should now work on at least some flavors of OSX + * FIX incorrect space allowed for outside left key box + * FIX buffer overflow from enhanced text timefmt tic labels + * FIX correction for offset in epochs when reading in time format "%s" + * FIX discontinuity in defined palette limited by maxcolors + * FIX initialization of svg pattern-fill definitions + * FIX positioning of histogram bars when some data entries are missing + * FIX emf terminal can handle UTF-8 encoding + * FIX User-specified axis tick labels override auto labels in 3D + just as in 2D + * FIX `plot with labels` failed to skip labels with UNDEFINED coords + * FIX NaN (not a number) implementation for Windows build + * FIX work-around for poor scaling in pdfcairo pattern fill + * FIX segfault if mismatch between palette sizes of successive terminals + +------------------------------------------------------------------- +Thu Apr 21 08:44:34 UTC 2011 - burnus@net-b.de + +- Update to gnuplot 4.4.3 + * NEW Implement pan and zoom via mouse wheel. + * NEW set key maxcolumns N maxrows M + * NEW value("varname") returns the value of the named variable + * NEW encoding cp1251 - 8-bit Cyrillic + * CHANGE backport emf terminal driver from version 4.5 + * FIX better estimation of latex string lengths + * FIX colorbar representation of discrete color palettes is pixel accurate + * FIX NaN initialization and tests working on more (all?) platforms + * FIX configuration script tests for readline+ncurses + * FIX prevent out-of-range boxes from creating degenerate ghosts on the border + * FIX missing alpha channel flag for pdfcairo terminal + * FIX font initialization in windows terminal + +------------------------------------------------------------------- +Wed Dec 29 14:41:47 CET 2010 - sbrabec@suse.cz + +- Compile with wxWidgets (STL variant). + +------------------------------------------------------------------- +Thu Sep 30 21:40:07 UTC 2010 - burnus@net-b.de + +- Update to gnuplot 4.4.2 + * Fixes a regression that caused color specification "lc N" to fail + * Fixes a long-standing clipping error in plots with filled curves + * Fixes a segfault if a "refresh" commands follows an interrupted replot + Changes and fixes in gnuplot version 4.4.1: + * NEW Support the "%s" format specifier in strftime() + * NEW Optional 6th data column in candlesticks style to specific box width + * NEW If integer arithmetic i*j or i**j would overflow, return value as a real + * NEW "set style circle radius <default-radius>" + * FIX autoconfiguration of readline support in OSX + * FIX font problems in win terminal + * FIX Protect against runaway recursion by limiting depth of nested functions + * FIX metapost terminal: Fix inheritance of line thickness by text strings + * FIX cairo terminals could segfault on certain enhanced text strings + * FIX pdfcairo output to stdout now works + * FIX font ",size" in non-enhanced mode postscript terminals + * FIX Do a better job of estimating the width of UTF-8 encoded strings + * FIX baseline bug in canvas terminal rotation of enhanced text + * FIX Allow "with labels" to work for binary input data + * FIX update user GPVAL variables after plot in table mode + * CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot + * CHANGE 3D impulses are now always drawn from z=0 + * CHANGE Enable HIDDEN_QUADTREE by default + * CHANGE Enable "set fit errorvariables" by default + * CHANGE Regardless of current timefmt, read time from binary files as a binary + * CHANGE do not limit 3D rotation to 0<rotx<180 + +------------------------------------------------------------------- +Tue Sep 14 17:22:26 CEST 2010 - werner@suse.de + +- Make doc package noarch + +------------------------------------------------------------------- +Tue Sep 14 17:00:07 CEST 2010 - werner@suse.de + +- Update to gnuplot 4.4.0 + * NEW Support the "%s" format specifier in strftime() + * NEW Optional 6th data column in candlesticks style to specific box width + * NEW If integer arithmetic i*j or i**j would overflow, return value as a real + * NEW "set style circle radius <default-radius>" + * FIX autoconfiguration of readline support in OSX + * FIX font problems in win terminal + * FIX Protect against runaway recursion by limiting depth of nested functions + * FIX metapost terminal: Fix inheritance of line thickness by text strings + * FIX cairo terminals could segfault on certain enhanced text strings + * FIX pdfcairo output to stdout now works + * FIX font ",size" in non-enhanced mode postscript terminals + * FIX Do a better job of estimating the width of UTF-8 encoded strings + * FIX baseline bug in canvas terminal rotation of enhanced text + * FIX Allow "with labels" to work for binary input data + * FIX update user GPVAL variables after plot in table mode + * CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot + * CHANGE 3D impulses are now always drawn from z=0 + * CHANGE Enable HIDDEN_QUADTREE by default + * CHANGE Enable "set fit errorvariables" by default + * CHANGE Regardless of current timefmt, read time from binary files as a binary + * CHANGE do not limit 3D rotation to 0<rotx<180 + +------------------------------------------------------------------- +Thu May 20 12:44:38 CEST 2010 - werner@suse.de + +- Correct macro name in spec file + +------------------------------------------------------------------- +Wed May 19 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de + +- Fix format being written into plt files (add missing #) + +------------------------------------------------------------------- +Sun May 9 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de + +- Fix AppDefDir vs. XAPPLRESDIR inconsistency, increase default number of samples. + +------------------------------------------------------------------- +Wed Apr 7 10:50:19 CEST 2010 - werner@suse.de + +- Update to gnuplot 4.4.0 + * NEW linetype property 'pointinterval' + * NEW gnuplot.exe is a full-featured console mode gnuplot executable for Windows + * NEW plot style "with circles" + * NEW object types circle, ellipse, and polygon + * NEW options front and back to "set colorbox" + * NEW x11 can plot into a window opened and managed by an external application + * NEW gd terminal can use fonts through fontconfig (libgd version > 2.0.35) + * NEW optional 3 columns of data to generate histogram errorbars + * NEW 'volatile' data, including inline data, can be replotted without rereading + * NEW 'refresh' command replots without rereading data if possible + * NEW rgbimage style now works in 2D and 3D for all terminals that support RGB + * NEW plot style rgbalpha + * NEW transparent fill styles + * NEW iteration within a plot command; e.g. plot for [i=1:10] foo(i) + * NEW iteration within set/unset commands + * NEW operators '=' and ',' in expression syntax + * NEW terminal lua generates commands for interpretation by external lua script + * NEW terminal tikz uses a lua script to generate output for latex TikZ package + * NEW terminal canvas for HTML 5 canvas element + * NEW terminal pdfcairo based on cairo and pango + * NEW terminal pngcairo based on cairo and pango + * NEW terminal dpu414 - Seiko DPU-414 thermal printer + * NEW error status variables GPVAL_ERRNO and GPVAL_ERRMSG + * NEW variables GPVAL_LAST_PLOT, GPVAL_{S}PLOT, GPVAL_MULTIPLOT + * NEW variables GPVAL_VIEW_{MAP|ROT_X|ROT_Z|SCALE|ZSCALE}, GPVAL_TERMINALS + * NEW variables GPVAL_PWD + * NEW per-plot export of information needed for external mousing scripts + * NEW support for dashed linetypes in additional terminals + * NEW the 'bind' command accepts non-keyboard triggers, e.g. 'close' + * NEW commands 'show bind' and 'reset bind' + * NEW individual plots can be omitted from autoscaling of axis ranges + * NEW more smoothing options: new kernels (for dgrid3d) and 'smooth cumulative' + * NEW command 'evaluate' executes commands from a string variable + * NEW z-axis tic labels can be colored by Z value + * NEW command 'set view equal {xy|xyz}' forces axes in a 3D plot to the same scale + * NEW 'set pm3d interpolate m,n' supports also non-positive m,n as nbs of points + * FIX domain restrictions on ibeta() + * FIX color assignment of contour lines when "set increment user" is in effect + * FIX remove the limit of 64 characters read as string data from a data file + * FIX remainder of command line is not lost after a "load" command + * FIX more complete support for locale internationalization, UTF-8 encoding + * FIX various font-handling problems in postscript terminal driver + * FIX avoid infinite loop on resizing x11 plot window under ion, fluxbox + * FIX handle addition plot styles in mode 'set table' + * FIX purge tick labels read from a datafile at the end of each plot + * FIX 2nd colour in the colour box for negative palette in postscript + * FIX interpolatation for pm3d surfaces given by both z and colour coordinates + * FIX 'set datafile binary format=...' was documented, but not implemented + * FIX enhanced text mode treatment of UTF-8 characters + * FIX emf terminal enhanced text mode now accepted by Windows programs + * CHANGE A number that begins with a . must continue with a digit + * CHANGE syntax of 'set datafile binary' array= and record= options + * CHANGE 'reset' does not affect locale, encoding, decimalsign settings + * CHANGE 'set key textcolor rgb variable' will use plot colors for key entries + * CHANGE Remove obsolete IRIS4D terminal type + * CHANGE Remove obsolete atari terminal types (atariaes atarivdi multitos) + * CHANGE Use empty/solid fill for candlesticks rather than empty/striped + * CHANGE 'l' and 'L' hotkeys toggle colorbar logscale iff mouse is in colorbar + +------------------------------------------------------------------- +Thu Mar 4 11:48:39 UTC 2010 - coolo@novell.com + +- fix compilation with gcc 4.5 +- update to gnuplot 4.2.6 + * NEW xterm tektronix emulation 'set term xterm' + * FIX 'set xtics mirror' didn't work if xtics were previously unset + * FIX off-by-one pixel bug in width of boxes with palette or rgb color + * FIX center rotation of 'set view equal xyz' mode at screen center + * FIX sanity-check time ranges for axes with timeformat + * FIX pslatex blacktext and broken format specifier + * FIX PostScript code points for Lcaron, lcaron in encoding cp1250 + * CHANGE If a 2D plot uses a Z-based palette, then autoscale cbrange + * CHANGE aquaterm accepts "size xx,yy" with a comma + * CHANGE Remove the EXPERIMENTAL flag from the wxt terminal + * CHANGE Remove the EXPERIMENTAL flag from the x11 terminal binary polygon mode + +------------------------------------------------------------------- +Mon Jun 22 17:15:05 CEST 2009 - werner@suse.de + +- Remove obsolate code for GNUPLOTDEMOPATH (bnc#515001) +- Add emacs lisp files to file list (bnc#515001) + +------------------------------------------------------------------- +Mon Jun 15 15:12:38 CEST 2009 - werner@suse.de + +- Make demos more flexible (hint from dieter.jurzitza@t-online.de) +- Add netpbm and xorg-x11 to build requires or jpg's are zero + +------------------------------------------------------------------- +Tue May 26 11:19:52 CEST 2009 - werner@suse.de + +- Update changes file + +------------------------------------------------------------------- +Sat May 9 12:00:00 CEST 2009 - nico.laus.2001@gmx.de + +- update to gnuplot 4.2.5 +- put docs into gnuplot-doc sub-package + +------------------------------------------------------------------- +Thu Jan 15 13:38:04 CET 2009 - sbrabec@suse.cz + +- Changed BuildRequires: plotutils -> plotutils-devel. + +------------------------------------------------------------------- +Mon Mar 31 17:49:45 CEST 2008 - werner@suse.de + +- Make gnupplot UTF-8 capable (bnc#375175) + +------------------------------------------------------------------- +Wed Mar 26 12:47:02 CET 2008 - werner@suse.de + +- Update to gnuplot 4.2.3 + * NEW options front and back to "set colorbox" + * NEW character encoding support for emf and pdf terminals + * NEW "format" keyword for "set tics" and "set {x|y|...}tics" + * NEW allow user to set colorbar label rotatation if the bar is vertical + * FIX allow tic format to be given as a string variable + * FIX handling of negative screen coordinates on ia64, PPC + * FIX coloring of hidden surfaces if drawn with line styles + * FIX direction of y axis in graph coords for "set view map" + * FIX minitics in log scale + * FIX minor bugfixes to terminals fig, emf, post, svg, x11 + * FIX cgm terminal now produces correct pm3d and pattern fill output + * FIX protect against overly long font names in gd, svg + * FIX infinite loop from x11 plot window resizing under ion, fluxbox + * FIX never estimate zero size for a non-empty string + * FIX discard degenerate polygons during hidden3d processing + * FIX segfault if replot is called while terminal type is unknown + * FIX segfault if locale obtained by getenv() is freed + * FIX discard axis ticks read from previous data file + * FIX Do not clip image against Z range in 3D splot with "set view map" + * FIX off-by-one error in implicit column 0 for binary data files + * FIX splot was trashing the default clipping boundaries for 2D plots + * CHANGE tweak installation scripts for OSX nt cyg dj2 mgw + * CHANGE install Xresource file as Gnuplot, not Gnuplot.app-defaults + * CHANGE Remove limitation of 10 args max to internal function sprintf() + * CHANGE Bring emf point types into conformity with other terminals + * CHANGE estimate the vertical space for rotated tick labels on x and x2 axes + +------------------------------------------------------------------- +Fri Mar 14 15:00:13 CET 2008 - werner@suse.de + +- Disable warning about missing character set to avoid bnc#369156 + +------------------------------------------------------------------- +Fri Dec 14 15:24:04 CET 2007 - werner@suse.de + +- Update to gnuplot 4.2.2 + * FIX Axis labels were ignored in mode "set view map" + Candlesticks did not receive the border color specified in fillstyle + * NEW allow extra column in 2D plots containing color information + * NEW set term latex {size XX,YY} + * FIX buffering of very long input lines + * FIX clipping of image data against plot boundary + * FIX polygon clipping bugs + * FIX key sample for plots with variable color + * FIX wxt initialization on non-gnu systems + * FIX escape sequence %% handling in sprintf() format strings + * FIX Apply "set style incr user" to 3D contours and to columnstacked histograms + * FIX Apply "set key {no}enhanced" to key titles read from a file + * FIX Allow string variable as filename for "fit via <filename>" + * CHANGE defer x11 initialization until first plot command + * CHANGE clean up configuration files for amg, cyg, mgw, dj2 + * CHANGE modify SVG output to accommodate non-compliant viewers + * CHANGE allow 'strcol()' as shorthand for 'stringcolumn()' + * CHANGE default to "blacktext" for TeX-based PostScript variants + +------------------------------------------------------------------- +Wed Sep 5 17:02:11 CEST 2007 - werner@suse.de + +- Correct name of app-defaults file +- Make samples in demo directory usable from any path + thanks goes to Dieter Jurzitza + +------------------------------------------------------------------- +Wed May 30 16:12:19 CEST 2007 - werner@suse.de + +- Overwrite empty default font for UTF-8 locale (bug #277876) +- Get html docs fully build and installed +- Correct datadir +- The patent of gif is expired + +------------------------------------------------------------------- +Fri May 11 16:52:57 CEST 2007 - werner@suse.de + +- Use setlocale(..,NULL) instead of gentenv() (bug #272915) + +------------------------------------------------------------------- +Tue Apr 24 12:32:31 CEST 2007 - werner@suse.de + +- Enable new but experimental wxt terminal (bug #266693) + +------------------------------------------------------------------- +Fri Apr 20 09:51:29 CEST 2007 - aj@suse.de + +- Use texlive for Building. + +------------------------------------------------------------------- +Thu Apr 5 18:18:15 CEST 2007 - werner@suse.de + +- Update to gnuplot 4.2.0 + * NEW autogenerated read-only variables prefixed GPVAL_ and "show variables all" + * NEW Japanese language documentation - FAQ and User Manual + * NEW multi-platform and interactive wxWidgets terminal + * NEW windows terminal supports enhanced text mode + * NEW support for placement of individual rectangles within plot or canvas + * NEW command "set style increment user" allows customization of default lines + * NEW commands raise and lower + * NEW y and y2 axis label rotation can be explicitly controlled (2D plots only) + * NEW {no}enhanced flag can be applied to individual labels + * NEW suboption 'set pm3d interpolate' for bilinear interpolation of surfaces + * NEW 3D plots can read RGB color triples as part of input data + * NEW write command history file also for gnuplot's readline + * NEW more versatile key placement and arrangement + * NEW 'splot x*y with pm3d' no longer requires prior 'set pm3d' + * NEW store a sequence of plots to an animated gif (requires libgd > 2.0.28) + * NEW multi-byte font support in x11, controlled by the locale setting LC_CTYPE + * NEW control decimal sign conventions using locale setting LC_NUMERIC + * NEW pstex, pslatex and epslatex terminals share functionality with postscript + * NEW suboptions "set pm3d corners2color min|max" + * NEW suboption "set pm3d depthorder" does hidden-surface removal (sort of) + * NEW linetype colors via "lt {palette {frac <val> | cb <val>}}" + * NEW linetype colors via "lt {rgbcolor {"name" | "#RRGGBB"}}" + * NEW palette and rgb linetype colors apply to all 2D and 3D plot elements + * NEW user defined variables can contain strings + * NEW expression evaluation can manipulate and return strings + * NEW built-in string functions sprintf, gprintf, substr, strstrt, word, words + * NEW built-in string function system("shell command") + * NEW command line macro expansion @<stringvariablename> + * NEW automatic variable $# expanded to number of arguments after "call" + * NEW reading of (almost) arbitrary image binary files + * NEW plot styles "with image" and "with rgbimage" + * NEW plot style "with labels" reads text data along with X/Y/Z coordinates + * NEW plot style "with histograms" creates clustered or stacked histograms + * NEW auto-layout of multiplot using "set multiplot layout <rows>, <cols>" + * NEW variant of plot "with filledcurves" that fills the area between two curves + * NEW variant of "with filledcurves" that fills only above or below the curve + * NEW using options {x|y|z}ticlabels(<col>) + * NEW option to read plot title from data file: set key autotitle columnheader + * NEW command 'set termoption <foo>' changes single property of current terminal + * NEW png driver supports antialiasing and TrueColor images + * NEW encoding koi8-u + * NEW plot style "with vectors" applies to both 2D and 3D plots + * NEW plot style "with points" can read variable point size from input file + * NEW "set tics" can change most settings for {x|y|z|cb}tics at once + * NEW tic scale can be set per axis using "set {x|y|z|cb}tics scale" + * CHANGE history file is written by default + * CHANGE PostScript prolog and character encoding files now maintained separately + * CHANGE Placement of z-axis label in 3D plots is now equivalent to x and y axes + * CHANGE "set ticsscale" is deprecated, use "set tics scale" instead + * CHANGE gnuplot on x11 has mousing always enabled on startup + * CHANGE 'set datafile fortran' is now required in order to read D or Q constants + * CHANGE let the string in '{s}plot ... notitle "string"' be silently ignored + * CHANGE libgd versions 2.0.28+ support GIF images as well as PNG/JPEG + * CHANGE remove old (non-libgd) GIF and PNG drivers + * CHANGE X-resource gnuplot*ctrlq:on requires <ctrl>q to kill plot window + * CHANGE X-resource gnuplot*exportselection:off disables plot->clipboard export + * CHANGE prefer use of offset keyword in 'set [xyz]label "foo" offset -1,-1' + * CHANGE 'set table "outfile"; ...; unset table' replaces 'set term table' + * CHANGE 'defined(foo)' is deprecated; new syntax is 'exists("foo")' + * FIXED empty datafiles are not a fatal error + * FIXED setenv GNUTERM now works for png, jpeg, and gif drivers + * FIXED PostScript output can be restricted to Level 1 compatible features + * FIXED emf output is compatible with MSWin XP SP 2 + * FIXED limit size of X11 requests to half the maximum allowed by the X display + * FIXED arrowheads drawn in solid lines even if the shaft is dotted (PostScript) + * FIXED estimate true effective length of strings in enhanced text mode + * FIXED clipping of filled curves + +------------------------------------------------------------------- +Wed Aug 16 05:37:39 CEST 2006 - sndirsch@suse.de + +- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7 + +------------------------------------------------------------------- +Tue Jan 31 12:13:21 CET 2006 - werner@suse.de + +- Fix stupid buffer overflow in x11 display program (bug #146870) + +------------------------------------------------------------------- +Wed Jan 25 21:36:16 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jul 21 18:30:36 CEST 2005 - werner@suse.de + +- Re-use libgd because we get jpeg/png support with truetype font + and gif dummy support which is png output for term gif (#97208) + +------------------------------------------------------------------- +Thu Feb 10 02:34:43 CET 2005 - ro@suse.de + +- remove dropped tetex subpackages from nfb + +------------------------------------------------------------------- +Thu Apr 29 11:17:28 CEST 2004 - werner@suse.de + +- Use GNU readline library +- Enable thin splines for 3D + +------------------------------------------------------------------- +Tue Apr 27 18:39:09 CEST 2004 - werner@suse.de + +- Update to gnuplot 4.0.0 + +------------------------------------------------------------------- +Tue Apr 20 09:57:36 CEST 2004 - meissner@suse.de + +- aliasing fixes. + +------------------------------------------------------------------- +Thu Oct 16 15:53:25 CEST 2003 - meissner@suse.de + +- Do not build as root. +- Fixed lib64 handling to be more correct, since 32bit systems + can now have /lib64/ too. + +------------------------------------------------------------------- +Fri Jun 13 13:29:01 CEST 2003 - coolo@suse.de + +- fixing docs installation + +------------------------------------------------------------------- +Thu Jun 12 16:41:31 CEST 2003 - coolo@suse.de + +- use BuildRoot + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Tue Mar 25 17:05:21 CET 2003 - werner@suse.de + +- Make mouse patch work as it should + +------------------------------------------------------------------- +Mon Mar 24 19:19:58 CET 2003 - werner@suse.de + +- Update to gnuplot 3.7.3 +- Port patches (if needed) to 3.7.3 + +------------------------------------------------------------------- +Fri Feb 28 17:20:29 CET 2003 - werner@suse.de + +- Fix bug #23417: use intall-info for info file + +------------------------------------------------------------------- +Fri Nov 22 18:14:40 CET 2002 - werner@suse.de + +- Fix buffer overflow +- Fix svgalib handling for secure svgalibs + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Fri Jul 26 21:23:27 CEST 2002 - adrian@suse.de + +- fix neededforbuild + +------------------------------------------------------------------- +Mon May 6 18:16:37 CEST 2002 - werner@suse.de + +- Do some lib64 stuff + +------------------------------------------------------------------- +Thu Apr 4 14:44:54 CEST 2002 - ro@suse.de + +- more brackets for autoconf + +------------------------------------------------------------------- +Sun Feb 10 16:52:05 CET 2002 - ro@suse.de + +- tar option for bz2 is now "j" + +------------------------------------------------------------------- +Fri Feb 1 00:26:13 CET 2002 - ro@suse.de + +- changed neededforbuild <libpng> to <libpng-devel-packages> + +------------------------------------------------------------------- +Wed Jan 9 12:48:20 CET 2002 - ro@suse.de + +- fixed to compile (don't include fcntl when building the help) + +------------------------------------------------------------------- +Sat Jan 5 13:16:04 CET 2002 - kukuk@suse.de + +- fix neededforbuild (plotutil -> plotutils) + +------------------------------------------------------------------- +Tue Dec 18 13:26:01 CET 2001 - werner@suse.de + +- Be sure that the waitforinput function is called even if real + readline library is used or none interactive mode is on. Be sure + that the buffered token will be handles even if there is no + activity on stdin and set a time out to be not blocked (#12625) + +------------------------------------------------------------------- +Mon Nov 12 09:56:49 CET 2001 - ro@suse.de + +- no svgalib + +------------------------------------------------------------------- +Tue Jun 12 16:16:05 CEST 2001 - schwab@suse.de + +- Fix for new autoconf. + +------------------------------------------------------------------- +Tue May 8 22:51:41 CEST 2001 - mfabian@suse.de + +- bzip2 sources + +------------------------------------------------------------------- +Thu Mar 29 16:56:17 MEST 2001 - garloff@suse.de + +- Prevent stupid rounding errors 10*10^23 instead of 10^24 + in graphics.c: mant_exp() + +------------------------------------------------------------------- +Fri Feb 23 00:10:25 CET 2001 - ro@suse.de + +- added readline/readline-devel to neededforbuild (split from bash) + +------------------------------------------------------------------- +Sun Dec 3 18:21:11 CET 2000 - schwab@suse.de + +- Fix resource leak in X11 terminal driver. + +------------------------------------------------------------------- +Wed Jun 21 19:34:58 CEST 2000 - werner@suse.de + +- Add French doc (somewhat out of date) + +------------------------------------------------------------------- +Wed Jun 7 14:18:22 MEST 2000 - werner@suse.de + +- New version 3.7.1 with many bug fixes included + +------------------------------------------------------------------- +Tue Jun 6 15:15:35 CEST 2000 - uli@suse.de + +- moved docs to /usr/share/doc + +------------------------------------------------------------------- +Fri Feb 25 17:56:31 CET 2000 - kukuk@suse.de + +- Move /usr/{info,man} -> /usr/share/{info,man} + +------------------------------------------------------------------- +Mon Oct 11 23:26:00 CEST 1999 - ro@suse.de + +- disabled gdlib support (we have png anyway and gd doesn't support + gif any more) + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Mon May 3 16:35:25 CEST 1999 - werner@suse.de + + - Do not use system time because gnuplot interface isn't able + to handle summer time + - Use /tmp/ for temporaray files of demos + +------------------------------------------------------------------- +Wed Mar 10 12:27:23 MET 1999 - werner@suse.de + + - Fix from one of the authors (HBB) to avoid buffer overflow + +------------------------------------------------------------------- +Tue Mar 9 18:19:17 MET 1999 - werner@suse.de + + - New patchlevel 0.1 with patch gnuplot.990304 for security + +------------------------------------------------------------------- +Tue Mar 2 20:27:11 MET 1999 - werner@suse.de + + - New version: 3.7 + * add some official fixes + * fix the official fix of fit.c + * add gif and unixplot for output + +------------------------------------------------------------------- +Sun Aug 23 10:51:12 MEST 1998 - bs@suse.de + + - fixed "neededforbuild" + +------------------------------------------------------------------- +Mon Jul 13 17:32:27 MET DST 1998 - werner@suse.de + + - New version: 3.5beta6.347 + * Security fix for svga linux driver call + * Some enhancements + * Some bug fixes + +------------------------------------------------------------------- +Thu Oct 23 13:59:59 MET DST 1997 - werner@suse.de + + - New version: 3.5beta6.336 + +------------------------------------------------------------------- +Mon Feb 3 23:03:09 MET 1997 - werner@suse.de + + - Update auf Version 3.5-beta-3.6pl319 + - Diese Version hat splines und bezier zum Fit für + von Messdaten. + - verschoben von ap1 -> xap1 + +------------------------------------------------------------------- +Wed Nov 13 23:06:41 MET 1996 - werner@suse.de + + - Neu Erstellen des Paketes: + Mit vollständiger Dokumentation und Beispielen + unter /usr/doc/packages/gnuplot/ + - fig und bfig (xfig-Format 2.1) + wird von xfig in xfig-Format 3.2 konvertiert. diff --git a/packages/g/gnuplot/gnuplot-gd.patch b/packages/g/gnuplot/gnuplot-gd.patch index 47787b2..61175cb 100644 --- a/packages/g/gnuplot/gnuplot-gd.patch +++ b/packages/g/gnuplot/gnuplot-gd.patch @@ -95,7 +95,7 @@ Index: gnuplot-5.2.2/configure.ac +++ gnuplot-5.4.3/src/Makefile.am 2022-01-10 08:51:05.936921975 +0000 @@ -60,7 +60,7 @@ term_api.h term.c term.h time.c unset.c util3d.c util3d.h variable.c variable.h version.c version.h \ - voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h + voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h xdg.c xdg.h -gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS) +gnuplot_LDADD = $(GD_LIBS) $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS) diff --git a/packages/g/gnuplot/gnuplot.changes b/packages/g/gnuplot/gnuplot.changes index 3c76124..14f5a00 100644 --- a/packages/g/gnuplot/gnuplot.changes +++ b/packages/g/gnuplot/gnuplot.changes @@ -1,4 +1,34 @@ ------------------------------------------------------------------- +Sun Feb 12 15:07:08 UTC 2023 - Dr. Werner Fink <werner@suse.de> + +- Update to gnuplot 5.4.6 + * NEW set key {columns <exact no of columns>} + set key {keywidth <exact width>} + * NEW XDG support + startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc + history file: $XDG_STATE_HOME/gnuplot_history + wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf + * CHANGE remove "alldoc" build target + * CHANGE plot with polygons fillstyle empty really does mean empty + * FIX windows: various problems mixing piped input and stdin Bug #2491 + * FIX x11: bad interactions of lt nodraw, bgnd and dash pattern Bug #2572 + * FIX wxt: export-to-file widget should preserve line properties + * FIX svg: set initial default fill to "none" + * FIX png: back-compatibility with very old versions of gdlib Bug #2579 + * FIX variable pointtype, pointsize in plot style yerrorlines + * FIX border color for polygons with variable fillcolor + * FIX definition followed by iteration in a plot command Bug #2580 + * FIX parametric plot with filledcurves y1=<limit> Bug #1797 +- Port patches + * Gnuplot_5_4.pdf + * gnuplot-4.6.0-demo.diff + * gnuplot-4.6.0-fonts.diff + * gnuplot-4.6.0.dif + * gnuplot-5.4.4-grep.patch + * gnuplot-PIE.patch + * gnuplot-gd.patch + +------------------------------------------------------------------- Sat Dec 17 19:33:27 UTC 2022 - Dirk Müller <dmueller@suse.com> - update to 5.4.5: diff --git a/packages/g/gnuplot/gnuplot.spec b/packages/g/gnuplot/gnuplot.spec index 638e910..2adf03e 100644 --- a/packages/g/gnuplot/gnuplot.spec +++ b/packages/g/gnuplot/gnuplot.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -78,7 +78,7 @@ BuildRequires: tex(subfigure.sty) BuildRequires: tex(textgreek.sty) %endif URL: https://www.gnuplot.info/ -Version: 5.4.5 +Version: 5.4.6 Release: 0 %global underscore 5_4 %if "%{flavor}" == "" diff --git a/packages/g/guestfs-tools/.files b/packages/g/guestfs-tools/.files index 0542486..6f32d7b 100644 Binary files a/packages/g/guestfs-tools/.files and b/packages/g/guestfs-tools/.files differ diff --git a/packages/g/guestfs-tools/.rev b/packages/g/guestfs-tools/.rev index eea34da..b2e066f 100644 --- a/packages/g/guestfs-tools/.rev +++ b/packages/g/guestfs-tools/.rev @@ -55,4 +55,12 @@ <comment>Automatic submission by obs-autosubmit</comment> <requestid>1063524</requestid> </revision> + <revision rev="8" vrev="1"> + <srcmd5>dbe1c5356f8486bbb2bb58f3819d1fa7</srcmd5> + <version>1.50.0</version> + <time>1676401699</time> + <user>dimstar_suse</user> + <comment>Update to guestfs-tools version 1.50.0</comment> + <requestid>1065782</requestid> + </revision> </revisionlist> diff --git a/packages/g/guestfs-tools/CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch b/packages/g/guestfs-tools/CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch deleted file mode 100644 index 3b50b9e..0000000 --- a/packages/g/guestfs-tools/CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch +++ /dev/null @@ -1,116 +0,0 @@ -Subject: options: fix buffer overflow in get_keys() [CVE-2022-2211] -From: Laszlo Ersek lersek@redhat.com Tue Jun 28 13:49:04 2022 +0200 -Date: Wed Jun 29 15:17:17 2022 +0200: -Git: 35467027f657de76aca34b48a6f23e9608b23a57 - -When calculating the greatest possible number of matching keys in -get_keys(), the current expression - - MIN (1, ks->nr_keys) - -is wrong -- it will return at most 1. - -If all "nr_keys" keys match however, then we require "nr_keys" non-NULL -entries in the result array; in other words, we need - - MAX (1, ks->nr_keys) - -(The comment just above the expression is correct; the code is wrong.) - -This buffer overflow is easiest to trigger in those guestfs tools that -parse the "--key" option in C; that is, with "OPTION_key". For example, -the command - -$ virt-cat $(seq -f '--key /dev/sda2:key:%g' 200) -d DOMAIN /no-such-file - -which passes 200 (different) passphrases for the LUKS-encrypted block -device "/dev/sda2", crashes with a SIGSEGV. - -A slightly better reproducer from Rich Jones is the following, since it -doesn't require an encrypted guest disk image: - -$ echo TEST | guestfish --keys-from-stdin -N part luks-format /dev/sda1 0 -$ virt-cat $(seq -f '--key /dev/sda1:key:%g' 200) -a test1.img /no-such-file -Segmentation fault (core dumped) -$ rm test1.img - -( - - The buffer overflow is possible to trigger in OCaml-language tools as - well; that is, those that call "create_standard_options" with - ~key_opts:true. - - Triggering the problem that way is less trivial. The reason is that when - the OCaml tools parse the "--key" options, they de-duplicate the options - first, based on the device identifier. - - Thus, in theory, this de-duplication masks the issue, as (one would - think) only one "--key" option could belong to a single device, and - therefore the buffer overflow would not be triggered in practice. - - This is not the case however: the de-duplication does not collapse keys - that are provided for the same device, but use different identifier - types (such as pathname of device node versus LUKS UUID) -- in that - situation, two entries in the keystore will match the device, and the - terminating NULL entry will not be present once get_keys() returns. In - this scenario, we don't have an out-of-bounds write, but an - out-of-bounds read, in decrypt_mountables() [options/decrypt.c]. - - There is *yet another* bug in get_keys() though that undoes the above - "masking". The "uuid" parameter of get_keys() may be NULL (for example - when the device to decrypt uses BitLocker and not LUKS). When this - happens, get_keys() adds all keys in the keystore to the result array. - Therefore, the out-of-bounds write is easy to trigger with - OCaml-language tools as well, as long as we attempt to decrypt a - BitLocker (not LUKS) device, and we pass the "--key" options with - different device identifiers. - - Subsequent patches in this series fix all of the above; this patch fixes - the security bug. - -) - -Rather than replacing MIN with MAX, open-code the comparison, as we first -set "len" to 1 anyway. - -While at it, rework the NULL-termination such that the (len+1) addition -not go unchecked. - -Fixes: c10c8baedb88e7c2988a01b70fc5f81fa8e4885c -Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1809453 -Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2100862 -Signed-off-by: Laszlo Ersek <lersek@redhat.com> -Message-Id: <20220628114915.5030-2-lersek@redhat.com> -Reviewed-by: Richard W.M. Jones <rjones@redhat.com> - ---- a/common/options/keys.c -+++ b/common/options/keys.c -@@ -128,17 +128,23 @@ read_first_line_from_file (const char *f - char ** - get_keys (struct key_store *ks, const char *device, const char *uuid) - { -- size_t i, j, len; -+ size_t i, j, nmemb; - char **r; - char *s; - - /* We know the returned list must have at least one element and not - * more than ks->nr_keys. - */ -- len = 1; -- if (ks) -- len = MIN (1, ks->nr_keys); -- r = calloc (len+1, sizeof (char *)); -+ nmemb = 1; -+ if (ks && ks->nr_keys > nmemb) -+ nmemb = ks->nr_keys; -+ -+ /* make room for the terminating NULL */ -+ if (nmemb == (size_t)-1) -+ error (EXIT_FAILURE, 0, _("size_t overflow")); -+ nmemb++; -+ -+ r = calloc (nmemb, sizeof (char *)); - if (r == NULL) - error (EXIT_FAILURE, errno, "calloc"); - diff --git a/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz b/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz deleted file mode 120000 index 5386e27..0000000 --- a/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeidm57dm7bppi44csrb6mbbjzyownopuxvk6gpvs7nx4kyleos4hmm \ No newline at end of file diff --git a/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz.sig b/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz.sig deleted file mode 100644 index ffc0d36..0000000 --- a/packages/g/guestfs-tools/guestfs-tools-1.48.3.tar.gz.sig +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmO+jFcRHHJpY2hAYW5u -ZXhpYS5vcmcACgkQkXOPc+G3aKDFRA//YbmNN98sW953yx6Q3sZS7NubwtdoGFXq -L71a6xwf4F7CKG7h9vLIv2mRO0fASDsE6POSemZ4pEH26K2LVv7DIjw1RtjwZKdK -pPURFlWFjHZ2XayrJlLudRe+vI9Swzem098N2Y+WxS4Q5ojlIV/39kHVF4WptvFz -4NQ6tzFv7NdJ3gWCL/nLmeuRpXD27j9nFGs06xjkouKCW8/bzbktFmhulfNRj5Yh -nxEbfnoH0tUHuSV+aqtKeaoWWf2tMAM5syu32htifWLcloSDBrfj1aPxNsX3BynK -eSFlMJ3wFNrjSgjfskP7IeDnPM7I431LffdfTafHeeOIcCdC4JOkJ7/U/Gqprrba -zTPn/f2itR+HcgzUaX9aPJAVQ3SkKAJ1rJ3LIyo7qrUQ0D0KhlX7loqzUA9EK5XP -1qpeCihhlWuGxHtC2HWuWU68KNhA/fJ15jBVaBbie6nsxN0dul934QK0OfY9eKNz -VsiKrXLWG7BgIVCljJgpsFuBE7NpNOKdFjmc2WBh0JphmKpa6TYbGNAmP/YnafYO -bO/tN6qIYqHv6R9ac0YerrG4ls6ZNoJMtykqhTNi7CWXASOnaiAT75kpj0i6/IK7 -9HWdABZnuwIZeitw2e5AZZW1LV6lr4Zb+g2o0IK4UFZeVhxN44LDR70Ip25tXh99 -UXmLlTG4AxQ= -=6a3P ------END PGP SIGNATURE----- diff --git a/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz b/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz new file mode 120000 index 0000000..a174c21 --- /dev/null +++ b/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeihseh73h2vflegvp7zh4h2y4kp27iwfbzl6xow5eievmsmmpk5r5m \ No newline at end of file diff --git a/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz.sig b/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz.sig new file mode 100644 index 0000000..bafa8b0 --- /dev/null +++ b/packages/g/guestfs-tools/guestfs-tools-1.50.0.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmPiNB4RHHJpY2hAYW5u +ZXhpYS5vcmcACgkQkXOPc+G3aKDHFhAAjeU+0DK86WZR97/kxeKtECc+E88wSFMf +WOGS0/IQ0GYSobtzt7vxsTSpRJBkvFOL2LpP9Toa9xP4Rd1TuAO0kCYzdjoEy1dU +Xx4ZAfV3W+GmuSSFi3dHdNxZI7D6uC3cK/KxIwgjvsdPLxVDtHb0pk89hejjEvK6 +AVdxNSY/eZI50Un6VgRJmd+4Q9vXsUPRT0W/+oPm2128TR5FvQ0KbGXRGllQz5MK +AxHo7ImFgaIqeS2IHk5wX4EJ9XVQM0A5JHG9qpQw8VBkgJDxzmDyoeZLCyXOR/HB +ZBNizViXk6Jyyc4hYSOEVpPKvcEJ7rsjgFiTOAeDDUKdKrfnC9rxdgTZ+o4v28Wy +u1JG5h/NRO9zDN5rYQP5jMSFXIE69X6BPYDZNuZOmBxbM07cT639jY0KA6Q7T3v7 +0N76xt/cXWjuOCjyFg3ZajzNmHVUZSLbsh8ctaqcXVGjG8TjQl2u/jK3ipEeoN9h +Hr6B6MH0Xcwh4ulJdHCxTLhHP6UhucSp938j8j6VYTGSdUPU6yBPdS1i75C5duD9 +aqNTg+mGUUJDA+opT8RneRVua4gZ796qoCqtSZ7W5X+LBrHB+xbxdai4q1nil+n0 +1IzVCy/hKnbOoRnJ6KOMSTsa/zYMf5N8MVZBfq+iXvCT3EsEhs0acK14hCGpMIFr +xSMssExOZck= +=pWcH +-----END PGP SIGNATURE----- diff --git a/packages/g/guestfs-tools/guestfs-tools.changes b/packages/g/guestfs-tools/guestfs-tools.changes index e1d1637..ee174c2 100644 --- a/packages/g/guestfs-tools/guestfs-tools.changes +++ b/packages/g/guestfs-tools/guestfs-tools.changes @@ -1,4 +1,33 @@ ------------------------------------------------------------------- +Thu Feb 9 15:23:16 MST 2023 - carnold@suse.com + +- Update to verion 1.50.0 + * Drivers: Require guestfs_inspect_get_build_id API + * Drivers: Add support for scanning drivers in Windows guests + * New 'virt-drivers' tool + This tool can be pointed at a disk image which lacks metadata and in + some circumstances can determine useful information about it, such as + what bootloader it contains and what device emulation it needs to + boot. + * Customize: Implement --inject-qemu-ga and --inject-virtio-win operations + * Customize: Run zypper dist-upgrade for --update operation + * Customize: rebase to the common/mlcustomize/Guest_packages interface + * Adopt inversion of SELinux relabeling in virt-customize + * Update common submodule. In particular, pick up the new Inject_virtio_win module: + * Inspector: Update coreos test for new <build_id> field + * Inspector: Display the new build ID field + * Sysprep: advise against cloning VMs with internal full disk encryption + * Sysprep: make an effort to cope with LUKS-on-LVM + * Fixes related to "--key ID:clevis" + sysprep: set networking for "--key ID:clevis" + customize: add reminder about "--key ID:clevis" + get-kernel, sparsify: set networking for "--key ID:clevis" + cat, log, ls, tail, diff, edit, insp.: set networking for "--key ID:clevis" + * Builder: templates: Account for UEFI when regenerating grub + * Ocaml-dep.sh.in: Remove reference to bundled/ocaml-augeas +- Drop CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch + +------------------------------------------------------------------- Wed Jan 25 16:20:36 MST 2023 - carnold@suse.com - Update to version 1.48.3 bug fix release diff --git a/packages/g/guestfs-tools/guestfs-tools.spec b/packages/g/guestfs-tools/guestfs-tools.spec index 87416c8..d897684 100644 --- a/packages/g/guestfs-tools/guestfs-tools.spec +++ b/packages/g/guestfs-tools/guestfs-tools.spec @@ -20,7 +20,7 @@ %global patches_touch_autotools 1 # The source directory. -%global source_directory 1.48-stable +%global source_directory 1.50-stable # %define guestfs_docdir %{_defaultdocdir}/%{name} @@ -30,7 +30,7 @@ Summary: Tools to access and modify virtual machine disk images Name: guestfs-tools -Version: 1.48.3 +Version: 1.50.0 Release: 0 License: GPL-2.0-or-later @@ -42,8 +42,6 @@ URL: http://libguestfs.org/ Source0: http://download.libguestfs.org/guestfs-tools/%{source_directory}/%{name}-%{version}.tar.gz Source1: http://download.libguestfs.org/guestfs-tools/%{source_directory}/%{name}-%{version}.tar.gz.sig -Patch1: CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch - %if 0%{patches_touch_autotools} BuildRequires: autoconf BuildRequires: automake @@ -59,6 +57,7 @@ BuildRequires: gcc-c++ BuildRequires: libguestfs-devel >= 1.45.3-1 BuildRequires: libguestfs-xfs BuildRequires: libjansson-devel +BuildRequires: libosinfo-devel BuildRequires: libvirt-devel BuildRequires: libxcrypt-devel BuildRequires: libxml2-devel @@ -262,6 +261,7 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-dib.1* %{_bindir}/virt-customize %{_bindir}/virt-df %{_bindir}/virt-diff +%{_bindir}/virt-drivers %{_bindir}/virt-edit %{_bindir}/virt-filesystems %{_bindir}/virt-format @@ -283,6 +283,7 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-dib.1* %{_mandir}/man1/virt-customize.1* %{_mandir}/man1/virt-df.1* %{_mandir}/man1/virt-diff.1* +%{_mandir}/man1/virt-drivers.1* %{_mandir}/man1/virt-edit.1* %{_mandir}/man1/virt-filesystems.1* %{_mandir}/man1/virt-format.1* diff --git a/packages/h/haproxy/.files b/packages/h/haproxy/.files index 5a815c8..55126a4 100644 Binary files a/packages/h/haproxy/.files and b/packages/h/haproxy/.files differ diff --git a/packages/h/haproxy/.rev b/packages/h/haproxy/.rev index e204b12..4802329 100644 --- a/packages/h/haproxy/.rev +++ b/packages/h/haproxy/.rev @@ -1263,4 +1263,12 @@ <comment>- Update to version 2.7.1+git0.3e4af0ed7:</comment> <requestid>1045270</requestid> </revision> + <revision rev="126" vrev="1"> + <srcmd5>567f89933e0d8b4c5746023965cf3302</srcmd5> + <version>2.7.3+git0.1065b1000</version> + <time>1676401701</time> + <user>dimstar_suse</user> + <comment>- Update to version 2.7.3+git0.1065b1000: (boo#1208132 CVE-2023-25725)</comment> + <requestid>1065786</requestid> + </revision> </revisionlist> diff --git a/packages/h/haproxy/.servicemark b/packages/h/haproxy/.servicemark index 4cf31da..68ea5cb 100644 --- a/packages/h/haproxy/.servicemark +++ b/packages/h/haproxy/.servicemark @@ -1 +1 @@ -8139d64b2cd3316b2b3a85b7134a17b1 +ca652531556caca681aba5ab4bb5c2f5 diff --git a/packages/h/haproxy/_service b/packages/h/haproxy/_service index cb1d798..0986470 100644 --- a/packages/h/haproxy/_service +++ b/packages/h/haproxy/_service @@ -6,7 +6,7 @@ <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> - <param name="revision">v2.7.1</param> + <param name="revision">v2.7.3</param> <param name="changesgenerate">enable</param> </service> diff --git a/packages/h/haproxy/_servicedata b/packages/h/haproxy/_servicedata index 6d33552..2b48ef6 100644 --- a/packages/h/haproxy/_servicedata +++ b/packages/h/haproxy/_servicedata @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">http://git.haproxy.org/git/haproxy-2.7.git</param> - <param name="changesrevision">3e4af0ed7e33df3afc0a54a84af7774a3849b5b6</param> + <param name="changesrevision">1065b10007f4622f2af70fb114594a63af9c8c76</param> </service> </servicedata> \ No newline at end of file diff --git a/packages/h/haproxy/haproxy-2.7.1+git0.3e4af0ed7.tar.gz b/packages/h/haproxy/haproxy-2.7.1+git0.3e4af0ed7.tar.gz deleted file mode 120000 index a6d77ac..0000000 --- a/packages/h/haproxy/haproxy-2.7.1+git0.3e4af0ed7.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeia47mag5lchrrfa2ti34nsfxcisoxbarcfwfrkg5znayuenvl7opq \ No newline at end of file diff --git a/packages/h/haproxy/haproxy-2.7.3+git0.1065b1000.tar.gz b/packages/h/haproxy/haproxy-2.7.3+git0.1065b1000.tar.gz new file mode 120000 index 0000000..2084ab7 --- /dev/null +++ b/packages/h/haproxy/haproxy-2.7.3+git0.1065b1000.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeibbfy4f4hqvqidpfhrc4ilgonlepwt3thlbh5wzaumdtasd4uzpte \ No newline at end of file diff --git a/packages/h/haproxy/haproxy.changes b/packages/h/haproxy/haproxy.changes index 88ab800..f191101 100644 --- a/packages/h/haproxy/haproxy.changes +++ b/packages/h/haproxy/haproxy.changes @@ -1,4 +1,183 @@ ------------------------------------------------------------------- +Tue Feb 14 16:32:41 UTC 2023 - mrueckert@suse.de + +- Update to version 2.7.3+git0.1065b1000: (boo#1208132 CVE-2023-25725) + * [RELEASE] Released version 2.7.3 + * BUG/CRITICAL: http: properly reject empty http header field names + * BUG/MINOR: quic: Wrong datagram dispatch because of qc_check_dcid() + * DOC: proxy-protocol: fix wrong byte in provided example + * BUG/MEDIUM: quic: Buffer overflow when looking through QUIC CLI keyword list + * BUG/MINOR: clock/stats: also use start_time not start_date in HTML info + * BUG/MINOR: mworker: fix uptime for master process + * BUG/MINOR: quic: fix type bug on "show quic" for 32-bits arch + * BUG/MINOR: quic: fix filtering of closing connections on "show quic" + * MINOR: quic: filter closing conn on "show quic" + * MINOR: quic: display Tx stream info on "show quic" + * MINOR: quic: display infos about various encryption level on "show quic" + * MINOR: quic: display socket info on "show quic" + * MINOR: quic: display CIDs and state in "show quic" + * MINOR: quic: implement a basic "show quic" CLI handler + * BUG/MEDIUM: quic: fix crash when "option nolinger" is set in the frontend + * BUG/MEDIUM: stconn: Schedule a shutw on shutr if data must be sent first + * BUG/MINOR: server/add: ensure minconn/maxconn consistency when adding server + * MINOR: cfgparse/server: move (min/max)conn postparsing logic into dedicated function + * BUG/MINOR: h3: fix crash due to h3 traces + * DOC: config: 'http-send-name-header' option may be used in default section + * DOC: config: fix option spop-check proxy compatibility + * BUG/MEDIUM: cache: use the correct time reference when comparing dates + * BUG/MINOR: clock: do not mix wall-clock and monotonic time in uptime calculation + * BUG/MEDIUM: stick-table: do not leave entries in end of window during purge + * BUG/MINOR: ssl/crt-list: warn when a line is malformated + * MINOR: quic: Update version_information transport parameter to draft-14 + * BUG/MEDIUM: quic: do not split STREAM frames if no space + * BUG/MINOR: quic: Unchecked source connection ID + * MEDIUM: quic: Remove qc_conn_finalize() from the ClientHello TLS callbacks + * BUG/MAJOR: quic: Possible crash when processing 1-RTT during 0-RTT session + * MINOR: quic: When probing Handshake packet number space, also probe the Initial one + * BUG/MINOR: quic: Do not ignore coalesced packets in qc_prep_fast_retrans() + * MINOR: quic: Add a trace about variable states in qc_prep_fast_retrans() + * BUG/MINOR: quic: Too big PTO during handshakes + * BUG/MINOR: quic: Possible stream truncations under heavy loss + * CLEANUP: quic: no need for atomics on packet refcnt + * MINOR: quic: add config for retransmit limit + * MEDIUM: quic: implement a retransmit limit per frame + * MINOR: quic: refactor frame deallocation + * MINOR: quic: define new functions for frame alloc + * MINOR: quic: ensure offset is properly set for STREAM frames + * MINOR: quic: remove fin from quic_stream frame type + * BUG/MINOR: stats: Prevent HTTP "other sessions" counter underflows + * MINOR: stats: add by HTTP version cumulated number of sessions and requests + * BUG/MINOR: stats: fix STAT_STARTED behavior with full htx + * BUG/MINOR: stats: fix show stats field ctx for servers + * BUG/MINOR: stats: fix ctx->field update in stats_dump_proxy_to_buffer() + * BUG/MEDIUM: stats: fix resolvers dump + * BUG/MINOR: stats: fix source buffer size for http dump + * BUG/MINOR: stats: use proper buffer size for http dump + * BUG/MINOR: h3: fix crash due to h3 traces + * BUG/MEDIUM: ssl: wrong eviction from the session cache tree + * MINOR: h3: add missing traces on closure + * BUG/MINOR: h3: reject RESET_STREAM received for control stream + * BUG/MEDIUM: h3: handle STOP_SENDING on control stream + * MINOR: mux-quic/h3: define stream close callback + * OPTIM: h3: skip buf realign if no trailer to encode + * BUG/MEDIUM: h3: do not crash if no buf space for trailers + * BUG/MINOR: fcgi-app: prevent 'use-fcgi-app' in default section + * MINOR: trace: add the long awaited TRACE_PRINTF() + * MINOR: trace: add a trace_no_cb() dummy callback for when to use no callback + * MINOR: trace: add a TRACE_ENABLED() macro to determine if a trace is active + * DEV: hpack: fix `trash` build regression + * BUG/MINOR: sink: free the forwarding task on exit + * BUG/MINOR: ring: release the backing store name on exit + * BUG/MINOR: log: release global log servers on exit + * BUG/MEDIUM: hpack: fix incorrect huffman decoding of some control chars + * BUG/MEDIUM: mux-quic: fix crash on H3 SETTINGS emission + * BUG/MINOR: h3: fix GOAWAY emission + * MINOR: mux-quic/h3: send SETTINGS as soon as transport is ready + * MINOR: connection: add a BUG_ON() to detect destroying connection in idle list + * DEV: haring: add a new option "-r" to automatically repair broken files + * BUG/MINOR: sink: make sure to always properly unmap a file-backed ring + * MEDIUM: quic-sock: fix udp source address for send on listener socket + * BUG/MINOR: quic: Do not request h3 clients to close its unidirection streams + * BUG/MINOR: jwt: Wrong return value checked + +------------------------------------------------------------------- +Tue Feb 14 16:32:26 UTC 2023 - mrueckert@suse.de + +- Update to version 2.7.2+git0.7e295dd2c: + * [RELEASE] Released version 2.7.2 + * BUILD: hpack: include global.h for the trash that is needed in debug mode + * BUG/MINOR: mux-h2: add missing traces on failed headers decoding + * BUG/MINOR: mux-h2: make sure to produce a log on invalid requests + * MINOR: h3: implement TRAILERS decoding + * MINOR: h3: implement TRAILERS encoding + * MINOR: h3: extend function for QUIC varint encoding + * BUG/MINOR: h3: properly handle connection headers + * BUG/MINOR: bwlim: Fix parameters check for set-bandwidth-limit actions + * BUG/MINOR: bwlim: Check scope for period expr for set-bandwitdh-limit actions + * BUG/MEDIUM: debug/thread: make the debug handler not wait for !rdv_requests + * MINOR: threads: add a thread_harmless_end() version that doesn't wait + * BUG/MINOR: thread: always reload threads_enabled in loops + * BUG/MEDIUM: fd/threads: fix again incorrect thread selection in wakeup broadcast + * BUG/MINOR: listener: close tiny race between resume_listener() and stopping + * BUG/MINOR: ssl: Fix compilation with OpenSSL 1.0.2 (missing ECDSA_SIG_set0) + * BUG/MEDIUM: jwt: Properly process ecdsa signatures (concatenated R and S params) + * DOC: config: fix "Address formats" chapter syntax + * BUG/MINOR: mux-fcgi: Correctly set pathinfo + * MINOR: quic: Replace v2 draft definitions by those of the final 2 version + * MINOR: sample: Add "quic_enabled" sample fetch + * MINOR: quic: Add "no-quic" global option + * MINOR: quic: Disable the active connection migrations + * MINOR: quic: Useless test about datagram destination addresses + * BUG/MEDIUM: stconn: also consider SE_FL_EOI to switch to SE_FL_ERROR + * CLEANUP: stconn: always use se_fl_set_error() to set the pending error + * MINOR: listener: also support "quic+" as an address prefix + * DOC: config: mention the missing "quic4@" and "quic6@" in protocol prefixes + * DOC: config: fix aliases for protocol prefixes "udp4@" and "udp6@" + * DOC: config: fix wrong section number for "protocol prefixes" + * BUG/MINOR: listeners: fix suspend/resume of inherited FDs + * BUG/MINOR: http-ana: make set-status also update txn->status + * BUG/MEDIUM: mux-h2: Don't send CANCEL on shutw when response length is unkown + * BUG/MINOR: http-fetch: Don't block HTTP sample fetch eval in HTTP_MSG_ERROR state + * BUG/MINOR: http-ana: Report SF_FINST_R flag on error waiting the request body + * BUG/MINOR: promex: Don't forget to consume the request on error + * BUG/MEDIUM: peers: make "show peers" more careful about partial initialization + * DEV: tcploop: add minimal support for unix sockets + * BUG/MINOR: resolvers: Wait the resolution execution for a do_resolv action + * BUG/MINOR: hlua: Fix Channel.line and Channel.data behavior regarding the doc + * BUG/MINOR: h1-htx: Remove flags about protocol upgrade on non-101 responses + * MINOR: mux-quic: use send-list for immediate sending retry + * MINOR: mux-quic: use send-list for STOP_SENDING/RESET_STREAM emission + * MEDIUM: h3: send SETTINGS before STREAM frames + * MAJOR: mux-quic: rework stream sending priorization + * MINOR: mux-quic: add traces for flow-control limit reach + * BUG/MINOR: mux-quic: fix transfer of empty HTTP response + * DOC: management: add details about @system-ca in "show ssl ca-file" + * DOC: management: add details on "Used" status + * DOC: config: added optional rst-ttl argument to silent-drop in action lists + * CLEANUP: htx: fix a typo in an error message of http_str_to_htx + * BUG/MINOR: http: Memory leak of http redirect rules' format string + * BUG/MINOR: fd: avoid bad tgid assertion in fd_delete() from deinit() + * REGTEST: fix the race conditions in hmac.vtc + * REGTEST: fix the race conditions in digest.vtc + * REGTEST: fix the race conditions in add_item.vtc + * REGTEST: fix the race conditions in json_query.vtc + * BUG/MINOR: proxy: free orgto_hdr_name in free_proxy() + * DOC: config: remove duplicated "http-response sc-set-gpt0" directive + * DOC: config: fix alphabetical ordering of http-after-response rules + * BUG/MAJOR: buf: Fix copy of wrapping output data when a buffer is realigned + * BUG/MINOR: http-fetch: Only fill txn status during prefetch if not already set + * MINOR: config: add environment variables for default log format + * CI: Reformat `matrix.py` using `black` + * CI: Explicitly check environment variable against `None` in matrix.py + * CI: Unify the `GITHUB_TOKEN` name across matrix.py and vtest.yml + * CI: Use proper `if` blocks instead of conditional expressions in matrix.py + * CI: Add in-memory cache for the latest OpenSSL/LibreSSL + * CI: Improve headline in matrix.py + * BUG/MINOR: stick-table: report the correct action name in error message + * MINOR: cfgparse-ssl: avoid a possible crash on OOM in ssl_bind_parse_npn() + * BUG/MINOR: debug: don't mask the TH_FL_STUCK flag before dumping threads + * BUILD: makefile: make sure to also ignore SSL_INC when using wolfssl + * BUILD: makefile: clean the wolfssl include and lib generation rules + * BUILD: makefile: sort the features list + * BUILD: makefile: build the features list dynamically + * CI: github: use the GITHUB_TOKEN instead of a manually generated token + * BUG/MINOR: mux-quic: ignore remote unidirectional stream close + * CI: github: enable github api authentication for OpenSSL tags read + * MINOR: h3: use stream error when needed instead of connection + * MEDIUM: mux-quic: implement STOP_SENDING emission + * MINOR: mux-quic: handle RESET_STREAM reception + * MINOR: mux-quic: do not count stream flow-control if already closed + * MEDIUM: mux-quic: implement shutw + * MINOR: httpclient: don't add body when istlen is empty + * BUG/MINOR: pool/stats: Use ullong to report total pool usage in bytes in stats + * BUG/MEDIUM: mux-h2: Refuse interim responses with end-stream flag set + * BUG/MINOR: quic: do not allocate more rxbufs than necessary + * BUG/MEDIUM: quic: properly take shards into account on bind lines + * BUG/MEDIUM: mux-quic: fix double delete from qcc.opening_list + * REGTESTS: ssl: enable the ssl_reuse.vtc test for WolfSSL + * OPTIM: pool: split the read_mostly from read_write parts in pool_head + +------------------------------------------------------------------- Sun Dec 25 06:01:14 UTC 2022 - mrueckert@suse.de - Update to version 2.7.1+git0.3e4af0ed7: diff --git a/packages/h/haproxy/haproxy.spec b/packages/h/haproxy/haproxy.spec index aa7be0c..b7b8392 100644 --- a/packages/h/haproxy/haproxy.spec +++ b/packages/h/haproxy/haproxy.spec @@ -51,7 +51,7 @@ %endif Name: haproxy -Version: 2.7.1+git0.3e4af0ed7 +Version: 2.7.3+git0.1065b1000 Release: 0 # # diff --git a/packages/j/java-17-openjdk/.files b/packages/j/java-17-openjdk/.files index ed6e558..62a4dba 100644 Binary files a/packages/j/java-17-openjdk/.files and b/packages/j/java-17-openjdk/.files differ diff --git a/packages/j/java-17-openjdk/.rev b/packages/j/java-17-openjdk/.rev index e4fdda7..7e047c4 100644 --- a/packages/j/java-17-openjdk/.rev +++ b/packages/j/java-17-openjdk/.rev @@ -135,4 +135,12 @@ <comment>January 2023 CPU fixes</comment> <requestid>1063568</requestid> </revision> + <revision rev="18" vrev="2"> + <srcmd5>52741c6c6c1d3390817a63b6985a0bb2</srcmd5> + <version>17.0.6.0</version> + <time>1676401676</time> + <user>dimstar_suse</user> + <comment>Follow-up fixes</comment> + <requestid>1065429</requestid> + </revision> </revisionlist> diff --git a/packages/j/java-17-openjdk/fips.patch b/packages/j/java-17-openjdk/fips.patch index a810cc4..c8e5d4c 100644 --- a/packages/j/java-17-openjdk/fips.patch +++ b/packages/j/java-17-openjdk/fips.patch @@ -1,6 +1,6 @@ diff -urEbwBN jdk17.orig/make/autoconf/build-aux/pkg.m4 jdk17/make/autoconf/build-aux/pkg.m4 ---- jdk17.orig/make/autoconf/build-aux/pkg.m4 2023-01-19 09:39:57.477535423 +0100 -+++ jdk17/make/autoconf/build-aux/pkg.m4 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/make/autoconf/build-aux/pkg.m4 2023-02-10 23:59:09.332981750 +0100 ++++ jdk17/make/autoconf/build-aux/pkg.m4 2023-02-10 23:59:26.873089865 +0100 @@ -179,3 +179,19 @@ ifelse([$3], , :, [$3]) fi[]dnl @@ -22,8 +22,8 @@ diff -urEbwBN jdk17.orig/make/autoconf/build-aux/pkg.m4 jdk17/make/autoconf/buil +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR diff -urEbwBN jdk17.orig/make/autoconf/libraries.m4 jdk17/make/autoconf/libraries.m4 ---- jdk17.orig/make/autoconf/libraries.m4 2023-01-19 09:39:57.477535423 +0100 -+++ jdk17/make/autoconf/libraries.m4 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/make/autoconf/libraries.m4 2023-02-10 23:59:09.332981750 +0100 ++++ jdk17/make/autoconf/libraries.m4 2023-02-10 23:59:26.885089940 +0100 @@ -33,6 +33,7 @@ m4_include([lib-x11.m4]) m4_include([lib-fontconfig.m4]) @@ -42,7 +42,7 @@ diff -urEbwBN jdk17.orig/make/autoconf/libraries.m4 jdk17/make/autoconf/librarie if test "x$TOOLCHAIN_TYPE" != xmicrosoft; then diff -urEbwBN jdk17.orig/make/autoconf/lib-sysconf.m4 jdk17/make/autoconf/lib-sysconf.m4 --- jdk17.orig/make/autoconf/lib-sysconf.m4 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/make/autoconf/lib-sysconf.m4 2023-01-19 09:40:14.493660654 +0100 ++++ jdk17/make/autoconf/lib-sysconf.m4 2023-02-10 23:59:26.917090137 +0100 @@ -0,0 +1,87 @@ +# +# Copyright (c) 2021, Red Hat, Inc. @@ -132,8 +132,8 @@ diff -urEbwBN jdk17.orig/make/autoconf/lib-sysconf.m4 jdk17/make/autoconf/lib-sy + AC_SUBST(NSS_LIBDIR) +]) diff -urEbwBN jdk17.orig/make/autoconf/spec.gmk.in jdk17/make/autoconf/spec.gmk.in ---- jdk17.orig/make/autoconf/spec.gmk.in 2023-01-19 09:39:57.477535423 +0100 -+++ jdk17/make/autoconf/spec.gmk.in 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/make/autoconf/spec.gmk.in 2023-02-10 23:59:09.332981750 +0100 ++++ jdk17/make/autoconf/spec.gmk.in 2023-02-10 23:59:26.917090137 +0100 @@ -841,6 +841,11 @@ # Libraries # @@ -147,8 +147,8 @@ diff -urEbwBN jdk17.orig/make/autoconf/spec.gmk.in jdk17/make/autoconf/spec.gmk. LCMS_CFLAGS:=@LCMS_CFLAGS@ LCMS_LIBS:=@LCMS_LIBS@ diff -urEbwBN jdk17.orig/make/modules/java.base/Gendata.gmk jdk17/make/modules/java.base/Gendata.gmk ---- jdk17.orig/make/modules/java.base/Gendata.gmk 2023-01-19 09:39:57.573536130 +0100 -+++ jdk17/make/modules/java.base/Gendata.gmk 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/make/modules/java.base/Gendata.gmk 2023-02-10 23:59:09.456982513 +0100 ++++ jdk17/make/modules/java.base/Gendata.gmk 2023-02-10 23:59:27.157091617 +0100 @@ -98,3 +98,17 @@ TARGETS += $(GENDATA_JAVA_SECURITY) @@ -168,8 +168,8 @@ diff -urEbwBN jdk17.orig/make/modules/java.base/Gendata.gmk jdk17/make/modules/j + +################################################################################ diff -urEbwBN jdk17.orig/make/modules/java.base/Lib.gmk jdk17/make/modules/java.base/Lib.gmk ---- jdk17.orig/make/modules/java.base/Lib.gmk 2023-01-19 09:39:57.573536130 +0100 -+++ jdk17/make/modules/java.base/Lib.gmk 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/make/modules/java.base/Lib.gmk 2023-02-10 23:59:09.456982513 +0100 ++++ jdk17/make/modules/java.base/Lib.gmk 2023-02-10 23:59:27.249092183 +0100 @@ -168,6 +168,29 @@ endif @@ -201,8 +201,8 @@ diff -urEbwBN jdk17.orig/make/modules/java.base/Lib.gmk jdk17/make/modules/java. ifeq ($(STATIC_BUILD), true) diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java jdk17/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java ---- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java 2023-01-19 09:39:56.857530861 +0100 -+++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java 2023-02-10 23:59:10.836991019 +0100 ++++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/HmacPKCS12PBECore.java 2023-02-10 23:59:27.249092183 +0100 @@ -25,13 +25,12 @@ package com.sun.crypto.provider; @@ -306,8 +306,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/Hma SecretKey cipherKey = new SecretKeySpec(derivedKey, "HmacSHA1"); super.engineInit(cipherKey, null); diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java jdk17/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java ---- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java 2023-01-19 09:39:56.857530861 +0100 -+++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java 2023-01-19 09:40:14.493660654 +0100 +--- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java 2023-02-10 23:59:10.836991019 +0100 ++++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/PBES2Core.java 2023-02-10 23:59:27.249092183 +0100 @@ -27,10 +27,11 @@ import java.security.*; @@ -503,8 +503,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/PBE protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java jdk17/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java ---- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java 2023-01-19 09:39:56.861530891 +0100 -+++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java 2023-02-10 23:59:10.836991019 +0100 ++++ jdk17/src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java 2023-02-10 23:59:27.269092306 +0100 @@ -31,6 +31,7 @@ import java.security.PrivilegedAction; import java.util.HashMap; @@ -573,8 +573,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/com/sun/crypto/provider/Sun // Return the instance of this class or create one if needed. static SunJCE getInstance() { diff -urEbwBN jdk17.orig/src/java.base/share/classes/java/security/Security.java jdk17/src/java.base/share/classes/java/security/Security.java ---- jdk17.orig/src/java.base/share/classes/java/security/Security.java 2023-01-19 09:39:56.881531037 +0100 -+++ jdk17/src/java.base/share/classes/java/security/Security.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/java/security/Security.java 2023-02-10 23:59:10.860991168 +0100 ++++ jdk17/src/java.base/share/classes/java/security/Security.java 2023-02-10 23:59:27.317092602 +0100 @@ -32,6 +32,7 @@ import jdk.internal.event.EventHelper; @@ -704,7 +704,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/java/security/Security.java /* diff -urEbwBN jdk17.orig/src/java.base/share/classes/java/security/SystemConfigurator.java jdk17/src/java.base/share/classes/java/security/SystemConfigurator.java --- jdk17.orig/src/java.base/share/classes/java/security/SystemConfigurator.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/java.base/share/classes/java/security/SystemConfigurator.java 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/java.base/share/classes/java/security/SystemConfigurator.java 2023-02-10 23:59:27.317092602 +0100 @@ -0,0 +1,249 @@ +/* + * Copyright (c) 2019, 2021, Red Hat, Inc. @@ -957,7 +957,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/java/security/SystemConfigu +} diff -urEbwBN jdk17.orig/src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java jdk17/src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java --- jdk17.orig/src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java 2023-02-10 23:59:27.317092602 +0100 @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020, Red Hat, Inc. @@ -991,8 +991,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/jdk/internal/access/JavaSec + boolean isPlainKeySupportEnabled(); +} diff -urEbwBN jdk17.orig/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java jdk17/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java ---- jdk17.orig/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java 2023-01-19 09:39:56.917531303 +0100 -+++ jdk17/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java 2023-02-10 23:59:10.888991341 +0100 ++++ jdk17/src/java.base/share/classes/jdk/internal/access/SharedSecrets.java 2023-02-10 23:59:27.317092602 +0100 @@ -39,6 +39,7 @@ import java.io.ObjectInputStream; import java.io.RandomAccessFile; @@ -1026,8 +1026,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/jdk/internal/access/SharedS + } } diff -urEbwBN jdk17.orig/src/java.base/share/classes/module-info.java jdk17/src/java.base/share/classes/module-info.java ---- jdk17.orig/src/java.base/share/classes/module-info.java 2023-01-19 09:39:56.857530861 +0100 -+++ jdk17/src/java.base/share/classes/module-info.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/module-info.java 2023-02-10 23:59:10.836991019 +0100 ++++ jdk17/src/java.base/share/classes/module-info.java 2023-02-10 23:59:27.365092899 +0100 @@ -152,6 +152,8 @@ java.naming, java.rmi, @@ -1038,8 +1038,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/module-info.java jdk17/src/ jdk.jlink, jdk.net, diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/provider/SunEntries.java jdk17/src/java.base/share/classes/sun/security/provider/SunEntries.java ---- jdk17.orig/src/java.base/share/classes/sun/security/provider/SunEntries.java 2023-01-19 09:39:56.945531509 +0100 -+++ jdk17/src/java.base/share/classes/sun/security/provider/SunEntries.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/sun/security/provider/SunEntries.java 2023-02-10 23:59:10.908991464 +0100 ++++ jdk17/src/java.base/share/classes/sun/security/provider/SunEntries.java 2023-02-10 23:59:27.369092923 +0100 @@ -30,6 +30,7 @@ import java.util.*; import java.security.*; @@ -1092,8 +1092,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/provider/SunEn /* * Certificates diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java jdk17/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java ---- jdk17.orig/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java 2023-01-19 09:39:56.949531537 +0100 -+++ jdk17/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java 2023-02-10 23:59:10.912991488 +0100 ++++ jdk17/src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java 2023-02-10 23:59:27.389093046 +0100 @@ -27,6 +27,7 @@ import java.util.*; @@ -1152,7 +1152,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/rsa/SunRsaSign } diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/util/PBEUtil.java jdk17/src/java.base/share/classes/sun/security/util/PBEUtil.java --- jdk17.orig/src/java.base/share/classes/sun/security/util/PBEUtil.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/java.base/share/classes/sun/security/util/PBEUtil.java 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/java.base/share/classes/sun/security/util/PBEUtil.java 2023-02-10 23:59:27.389093046 +0100 @@ -0,0 +1,297 @@ +/* + * Copyright (c) 2022, Red Hat, Inc. @@ -1452,8 +1452,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/classes/sun/security/util/PBEUtil.j + } +} diff -urEbwBN jdk17.orig/src/java.base/share/conf/security/java.security jdk17/src/java.base/share/conf/security/java.security ---- jdk17.orig/src/java.base/share/conf/security/java.security 2023-01-19 09:39:56.961531627 +0100 -+++ jdk17/src/java.base/share/conf/security/java.security 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/conf/security/java.security 2023-02-10 23:59:10.924991562 +0100 ++++ jdk17/src/java.base/share/conf/security/java.security 2023-02-10 23:59:27.389093046 +0100 @@ -80,6 +80,16 @@ security.provider.tbd=SunPKCS11 @@ -1535,7 +1535,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/conf/security/java.security jdk17/s # diff -urEbwBN jdk17.orig/src/java.base/share/conf/security/nss.fips.cfg.in jdk17/src/java.base/share/conf/security/nss.fips.cfg.in --- jdk17.orig/src/java.base/share/conf/security/nss.fips.cfg.in 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/java.base/share/conf/security/nss.fips.cfg.in 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/java.base/share/conf/security/nss.fips.cfg.in 2023-02-10 23:59:27.409093169 +0100 @@ -0,0 +1,8 @@ +name = NSS-FIPS +nssLibraryDirectory = @NSS_LIBDIR@ @@ -1546,8 +1546,8 @@ diff -urEbwBN jdk17.orig/src/java.base/share/conf/security/nss.fips.cfg.in jdk17 +attributes(*,CKO_SECRET_KEY,CKK_GENERIC_SECRET)={ CKA_SIGN=true } + diff -urEbwBN jdk17.orig/src/java.base/share/lib/security/default.policy jdk17/src/java.base/share/lib/security/default.policy ---- jdk17.orig/src/java.base/share/lib/security/default.policy 2023-01-19 09:39:56.961531627 +0100 -+++ jdk17/src/java.base/share/lib/security/default.policy 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/java.base/share/lib/security/default.policy 2023-02-10 23:59:10.924991562 +0100 ++++ jdk17/src/java.base/share/lib/security/default.policy 2023-02-10 23:59:27.409093169 +0100 @@ -121,6 +121,7 @@ grant codeBase "jrt:/jdk.crypto.ec" { permission java.lang.RuntimePermission @@ -1575,7 +1575,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/lib/security/default.policy jdk17/s permission java.security.SecurityPermission "removeProviderProperty.*"; diff -urEbwBN jdk17.orig/src/java.base/share/native/libsystemconf/systemconf.c jdk17/src/java.base/share/native/libsystemconf/systemconf.c --- jdk17.orig/src/java.base/share/native/libsystemconf/systemconf.c 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/java.base/share/native/libsystemconf/systemconf.c 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/java.base/share/native/libsystemconf/systemconf.c 2023-02-10 23:59:27.409093169 +0100 @@ -0,0 +1,236 @@ +/* + * Copyright (c) 2021, Red Hat, Inc. @@ -1815,7 +1815,7 @@ diff -urEbwBN jdk17.orig/src/java.base/share/native/libsystemconf/systemconf.c j +#endif diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java --- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java 2023-02-10 23:59:27.409093169 +0100 @@ -0,0 +1,457 @@ +/* + * Copyright (c) 2021, Red Hat, Inc. @@ -2276,7 +2276,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs +} diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java --- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java 2023-01-19 09:40:14.497660683 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java 2023-02-10 23:59:27.409093169 +0100 @@ -0,0 +1,149 @@ +/* + * Copyright (c) 2022, Red Hat, Inc. @@ -2429,8 +2429,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs +} \ No newline at end of file diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java 2023-01-19 09:40:14.497660683 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java 2023-02-10 23:59:11.216993362 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java 2023-02-10 23:59:27.409093169 +0100 @@ -37,6 +37,8 @@ import javax.crypto.interfaces.*; import javax.crypto.spec.*; @@ -2483,8 +2483,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs } else { return "RAW"; diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java 2023-02-10 23:59:11.216993362 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java 2023-02-10 23:59:27.413093195 +0100 @@ -29,14 +29,17 @@ import java.security.*; @@ -2529,7 +2529,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs } catch (PKCS11Exception e) { diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java --- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java 2023-01-19 09:40:14.501660713 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PBECipher.java 2023-02-10 23:59:27.413093195 +0100 @@ -0,0 +1,200 @@ +/* + * Copyright (c) 2022, Red Hat, Inc. @@ -2732,8 +2732,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs + +} diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java 2023-02-10 23:59:27.413093195 +0100 @@ -31,6 +31,7 @@ import java.security.spec.*; @@ -2892,8 +2892,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs } diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java 2023-02-10 23:59:27.413093195 +0100 @@ -27,6 +27,10 @@ import java.math.BigInteger; @@ -3013,8 +3013,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs Provider p = sun; if (p == null) { diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java 2023-02-10 23:59:27.453093441 +0100 @@ -26,6 +26,9 @@ package sun.security.pkcs11; @@ -3446,8 +3446,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs debug.println("logout succeeded"); } diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java 2023-02-10 23:59:27.477093588 +0100 @@ -33,6 +33,7 @@ import java.security.*; import javax.security.auth.login.LoginException; @@ -3493,8 +3493,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs // return whether this token object is valid (i.e. token not removed) // returns value from last check, does not perform new check diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.java 2023-02-10 23:59:27.501093737 +0100 @@ -100,9 +100,9 @@ } @@ -3508,8 +3508,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs public String toString() { StringBuilder sb = new StringBuilder(); diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java 2023-02-10 23:59:27.525093884 +0100 @@ -160,6 +160,18 @@ init(mechanism, params); } @@ -3530,8 +3530,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs // CK_MECHANISM(long) constructor and setParameter(CK_RSA_PKCS_PSS_PARAMS) // methods instead of creating yet another constructor diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PBE_PARAMS.java 2023-02-10 23:59:27.553094058 +0100 @@ -50,15 +50,15 @@ @@ -3600,7 +3600,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs * diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS2.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS2.java --- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS2.java 1970-01-01 01:00:00.000000000 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS2.java 2023-01-19 09:40:14.501660713 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS2.java 2023-02-10 23:59:27.593094304 +0100 @@ -0,0 +1,156 @@ +/* + * Copyright (c) 2022, Red Hat, Inc. @@ -3759,8 +3759,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs + +} diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.java 2023-02-10 23:59:27.593094304 +0100 @@ -47,7 +47,7 @@ package sun.security.pkcs11.wrapper; @@ -3813,8 +3813,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs * * @return the string representation of CK_PKCS5_PBKD2_PARAMS diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.java 2023-02-10 23:59:27.593094304 +0100 @@ -94,9 +94,9 @@ public byte[] pPublicData; @@ -3828,8 +3828,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs public String toString() { StringBuilder sb = new StringBuilder(); diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Constants.java 2023-02-10 23:59:27.593094304 +0100 @@ -1104,17 +1104,6 @@ public static final long CKD_BLAKE2B_384_KDF = 0x00000019L; public static final long CKD_BLAKE2B_512_KDF = 0x0000001aL; @@ -3889,8 +3889,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs + /* (CKM_NSS + 32) */ = 0xCE534370L; } diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java ---- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java 2023-02-11 00:00:01.017300312 +0100 @@ -49,6 +49,9 @@ import java.io.File; @@ -3918,7 +3918,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs + throws IOException, PKCS11Exception { connect(pkcs11ModulePath, functionListName); this.pkcs11ModulePath = pkcs11ModulePath; -+ pInfo = C_GetInfo(); ++ pInfo = null; } + /* @@ -3962,7 +3962,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs if (omitInitialize == false) { try { pkcs11.C_Initialize(pInitArgs); -@@ -180,6 +211,14 @@ +@@ -180,6 +211,20 @@ } /** @@ -3970,6 +3970,12 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs + * C_GetInfo. This structure represent Cryptoki library information. + */ + public CK_INFO getInfo() { ++ if (pInfo == null) { ++ try { ++ pInfo = C_GetInfo(); ++ } catch (PKCS11Exception e) { ++ } ++ } + return pInfo; + } + @@ -3977,7 +3983,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs * Connects this object to the specified PKCS#11 library. This method is for * internal use only. * Declared private, because incorrect handling may result in errors in the -@@ -1625,7 +1664,7 @@ +@@ -1625,7 +1670,7 @@ static class SynchronizedPKCS11 extends PKCS11 { SynchronizedPKCS11(String pkcs11ModulePath, String functionListName) @@ -3986,7 +3992,7 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs super(pkcs11ModulePath, functionListName); } -@@ -1911,4 +1950,194 @@ +@@ -1911,4 +1956,194 @@ super.C_GenerateRandom(hSession, randomData); } } @@ -4182,8 +4188,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs +} } diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c ---- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c 2023-01-19 09:39:57.309534188 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c 2023-02-10 23:59:27.593094304 +0100 @@ -1515,6 +1515,10 @@ case CKM_PBE_SHA1_DES3_EDE_CBC: case CKM_PBE_SHA1_DES2_EDE_CBC: @@ -4373,8 +4379,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_co return NULL; diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c ---- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c 2023-01-19 09:39:57.313534216 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c 2023-02-10 23:59:27.597094328 +0100 @@ -410,11 +410,27 @@ case CKM_CAMELLIA_CTR: // params do not contain pointers @@ -4480,8 +4486,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_ut if (jTemp == NULL) { throwOutOfMemoryError(env, 0); diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h ---- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h 2023-01-19 09:39:57.313534216 +0100 -+++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h 2023-01-19 09:40:14.501660713 +0100 +--- jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h 2023-02-10 23:59:27.597094328 +0100 @@ -68,6 +68,7 @@ /* extra PKCS#11 constants not in the standard include files */ @@ -4553,8 +4559,8 @@ diff -urEbwBN jdk17.orig/src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11 void copyBackPBEInitializationVector(JNIEnv *env, CK_MECHANISM *ckMechanism, jobject jMechanism); diff -urEbwBN jdk17.orig/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java jdk17/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java ---- jdk17.orig/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java 2023-01-19 09:39:57.313534216 +0100 -+++ jdk17/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java 2023-01-19 09:40:14.505660742 +0100 +--- jdk17.orig/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java 2023-02-10 23:59:11.220993386 +0100 ++++ jdk17/src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java 2023-02-10 23:59:27.597094328 +0100 @@ -38,6 +38,7 @@ import java.util.Iterator; import java.util.List; diff --git a/packages/j/java-17-openjdk/fix_armv6_build.patch b/packages/j/java-17-openjdk/fix_armv6_build.patch deleted file mode 100644 index 38141fe..0000000 --- a/packages/j/java-17-openjdk/fix_armv6_build.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- src/hotspot/cpu/arm/stubGenerator_arm.cpp.orig 2018-05-03 03:36:49.000000000 +0200 -+++ src/hotspot/cpu/arm/stubGenerator_arm.cpp 2018-05-07 17:55:16.692263547 +0200 -@@ -755,7 +755,9 @@ class StubGenerator: public StubCodeGene - __ clrex(); // FIXME: safe to remove? - __ bx(LR); - } else { -- __ stop("Atomic load(jlong) unsupported on this platform"); -+ //__ stop("Atomic load(jlong) unsupported on this platform"); -+ // Workaround for armv6 built on multi core machines -+ __ ldmia(src, RegisterSet(result_lo, result_hi)); - __ bx(LR); - } - -@@ -787,7 +789,9 @@ class StubGenerator: public StubCodeGene - __ b(retry, eq); - __ bx(LR); - } else { -- __ stop("Atomic store(jlong) unsupported on this platform"); -+ //__ stop("Atomic store(jlong) unsupported on this platform"); -+ // Workaround for armv6 built on multi core machines -+ __ stmia(dest, RegisterSet(newval_lo, newval_hi)); - __ bx(LR); - } - diff --git a/packages/j/java-17-openjdk/java-17-openjdk.changes b/packages/j/java-17-openjdk/java-17-openjdk.changes index 4a4605e..d4087ee 100644 --- a/packages/j/java-17-openjdk/java-17-openjdk.changes +++ b/packages/j/java-17-openjdk/java-17-openjdk.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Feb 10 23:00:56 UTC 2023 - Fridrich Strba <fstrba@suse.com> + +- Modified patch: + * fips.patch + + avoid calling C_GetInfo() too early, before cryptoki is + initialized (bsc#1205916) + +------------------------------------------------------------------- Tue Feb 7 07:25:36 UTC 2023 - Fridrich Strba <fstrba@suse.com> - Update to upstream tag jdk-17.0.6.0+10 (January 2023 CPU) @@ -521,6 +529,10 @@ Tue Feb 7 07:25:36 UTC 2023 - Fridrich Strba <fstrba@suse.com> - Modified patch: * fips.patch + update to newest level +- Removed patch: + * fix_armv6_build.patch + + does not apply and at least a part of the fix is in this + version ------------------------------------------------------------------- Thu Dec 8 13:19:26 UTC 2022 - Fridrich Strba <fstrba@suse.com> diff --git a/packages/j/java-17-openjdk/java-17-openjdk.spec b/packages/j/java-17-openjdk/java-17-openjdk.spec index 1a84b9e..e780526 100644 --- a/packages/j/java-17-openjdk/java-17-openjdk.spec +++ b/packages/j/java-17-openjdk/java-17-openjdk.spec @@ -177,7 +177,6 @@ Patch20: loadAssistiveTechnologies.patch # OpenJDK specific patches # Patch200: ppc_stack_overflow_fix.patch -Patch201: fix_armv6_build.patch # Patch300: JDK-8282944.patch Patch302: disable-doclint-by-default.patch @@ -445,10 +444,6 @@ rm -rvf src/java.desktop/share/native/liblcms/lcms2* %patch200 -p1 -%ifarch %{arm6} -%patch201 -%endif - %patch300 -p1 %patch302 -p1 %patch303 -p1 diff --git a/packages/k/kernel-firmware/.files b/packages/k/kernel-firmware/.files index a193645..6218636 100644 Binary files a/packages/k/kernel-firmware/.files and b/packages/k/kernel-firmware/.files differ diff --git a/packages/k/kernel-firmware/.rev b/packages/k/kernel-firmware/.rev index 12cbaac..97eefe4 100644 --- a/packages/k/kernel-firmware/.rev +++ b/packages/k/kernel-firmware/.rev @@ -1711,4 +1711,12 @@ SR 184278 -- creates ucode-intel, which contains the ucode from microcode_ctl fo <comment></comment> <requestid>1063440</requestid> </revision> + <revision rev="199" vrev="1"> + <srcmd5>8bfd348bffb827f97e9a3b5cc6973de4</srcmd5> + <version>20230210</version> + <time>1676401680</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1065509</requestid> + </revision> </revisionlist> diff --git a/packages/k/kernel-firmware/.servicemark b/packages/k/kernel-firmware/.servicemark index 367bb37..29a2b4b 100644 --- a/packages/k/kernel-firmware/.servicemark +++ b/packages/k/kernel-firmware/.servicemark @@ -1 +1 @@ -799e066d29a5235345657d4e747b05e6 +679e6768fc2fd2e764956d2318a061a9 diff --git a/packages/k/kernel-firmware/_servicedata b/packages/k/kernel-firmware/_servicedata index 7ae2ba1..79fa8ac 100644 --- a/packages/k/kernel-firmware/_servicedata +++ b/packages/k/kernel-firmware/_servicedata @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git</param> - <param name="changesrevision">5c11a3742947810ee8bffbd476eb5a1b0c7999f2</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">bf4115c1aa2bee686ec675595271da50611684b5</param></service></servicedata> \ No newline at end of file diff --git a/packages/k/kernel-firmware/kernel-firmware-20230125.tar.xz b/packages/k/kernel-firmware/kernel-firmware-20230125.tar.xz deleted file mode 120000 index 3885a08..0000000 --- a/packages/k/kernel-firmware/kernel-firmware-20230125.tar.xz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeihuygeevzkfkte4i7hate62tdhzmvyq7mrkvy5soyczc3sfuhrpfe \ No newline at end of file diff --git a/packages/k/kernel-firmware/kernel-firmware-20230210.tar.xz b/packages/k/kernel-firmware/kernel-firmware-20230210.tar.xz new file mode 120000 index 0000000..7f7d218 --- /dev/null +++ b/packages/k/kernel-firmware/kernel-firmware-20230210.tar.xz @@ -0,0 +1 @@ +/ipfs/bafybeidvkjcdfgs5bsomjfdsa23br5bb5b2x5us3cx462bancz23lmp62y \ No newline at end of file diff --git a/packages/k/kernel-firmware/kernel-firmware.changes b/packages/k/kernel-firmware/kernel-firmware.changes index 5e652ce..21cdebb 100644 --- a/packages/k/kernel-firmware/kernel-firmware.changes +++ b/packages/k/kernel-firmware/kernel-firmware.changes @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Mon Feb 13 12:59:21 UTC 2023 - tiwai@suse.com + +- Update to version 20230210 (git commit bf4115c1aa2b): + * linux-firmware: Update AMD cpu microcode + * brcm: revert firmware files for Cypress devices + * brcm: restore previous firmware file for BCM4329 device + * rtw88: 8822c: Update normal firmware to v9.9.14 + * i915: Add DMC v2.11 for MTL (jsc#PED-1225) + * linux-firmware: Add firmware for Cirrus CS35L41 on UM3402 ASUS Laptop + * linux-firmware: Add missing tuning files for HP Laptops using Cirrus Amps (bsc#1203699) + * i915: Add DMC v2.18 for ADLP (jsc#PED-1225) + +------------------------------------------------------------------- Mon Feb 06 07:56:54 UTC 2023 - tiwai@suse.com - Update to version 20230125 (git commit 5c11a3742947): diff --git a/packages/k/kernel-firmware/kernel-firmware.spec b/packages/k/kernel-firmware/kernel-firmware.spec index 4e5555b..47fb5fa 100644 --- a/packages/k/kernel-firmware/kernel-firmware.spec +++ b/packages/k/kernel-firmware/kernel-firmware.spec @@ -23,10 +23,10 @@ %endif %define __ksyms_path ^%{_firmwaredir} -%define version_unconverted 20230125 +%define version_unconverted 20230210 Name: kernel-firmware -Version: 20230125 +Version: 20230210 Release: 0 Summary: Linux kernel firmware files License: GPL-2.0-only AND SUSE-Firmware AND GPL-2.0-or-later AND MIT diff --git a/packages/l/lilypond-doc b/packages/l/lilypond-doc new file mode 160000 index 0000000..f78ebdb --- /dev/null +++ b/packages/l/lilypond-doc @@ -0,0 +1 @@ +Subproject commit f78ebdb2af83ceeeff0bbadf8d1dfecfd53d3dda diff --git a/packages/l/lxd/.files b/packages/l/lxd/.files index 87147c6..0b8944b 100644 Binary files a/packages/l/lxd/.files and b/packages/l/lxd/.files differ diff --git a/packages/l/lxd/.rev b/packages/l/lxd/.rev index 50e4f23..d707463 100644 --- a/packages/l/lxd/.rev +++ b/packages/l/lxd/.rev @@ -443,4 +443,12 @@ seemed okay with the last submission. *fingers crossed*</comment> <comment></comment> <requestid>1060590</requestid> </revision> + <revision rev="51" vrev="1"> + <srcmd5>a3785b96f53f07a1fbc2e4f5e872fdae</srcmd5> + <version>5.10</version> + <time>1676401692</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1065756</requestid> + </revision> </revisionlist> diff --git a/packages/l/lxd/lxd-5.10.tar.gz b/packages/l/lxd/lxd-5.10.tar.gz new file mode 120000 index 0000000..70ceff5 --- /dev/null +++ b/packages/l/lxd/lxd-5.10.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeigs72fcuanybsunez3e4zdapgwsksbodpydzy2nenuqco3d26dif4 \ No newline at end of file diff --git a/packages/l/lxd/lxd-5.10.tar.gz.asc b/packages/l/lxd/lxd-5.10.tar.gz.asc new file mode 100644 index 0000000..e2c819a --- /dev/null +++ b/packages/l/lxd/lxd-5.10.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEYC9WdmPlk7y9FPM4xjiXTWR5LWcFAmPA3PEACgkQxjiXTWR5 +LWeNhw/8CTiizUzmZyNW1ZRqQOaQmSnuhOIJSywGJpc+OyukN8qJvbg0fR56MMVs +DAkt79UgtDRyDIxpMLu27ul2ghYkXUdZ3tKA3M/tnd68t4cBLmnEPJMMuU9OVfSy +9XhkYGU5EqinmP4XBNiYziovQ4B6hsMBJiqsA1LsEmADtyTBwY2uKgnVt4NgaS0v +I3fKw5qIHdl8+j0Oex6Ntm/2bgoe8WlnpjnodfljAa2L7mUlLWIj+EKvvDe8zxId +rdP1pAp0nvj1fuXjwwVSm7ZjfTuEhG76Mlk2cVUfxYhwrVjGyfucmv5AEJWmExt9 +2BWgNWsFriD9wXiIj1nT0wAAGLYx1a5bbbd/C94Vc4I9Ljw1sXL3MRltIJH80jek +nH+hutxAhPmuaph8kSF1uRDnCjZ0LtIhvGxSR4HiYTvTDhqSrTTVKJ3hcEUcMGaB +LsOCIaznDXGmJLWWmRoFBA/puzZoWd1fuihVgqOB/5D/rci4p3Q8qkeVTxsFLuex +Kuma+5h/mKM/F9k8UjPNjeARgyGkX4RyuP8LJx2mi3Jb2gj0SAyUr0ZcTNBD4fPy +MDU9mjIXzX6he0r/LdaL8+bORZX+G9N5G3f9d92iKBhK82kLE5JgPrltNZq2v9Z5 +m4WLznAP7mlCMVgz/DABvg3OnTrpdq17wMHPF59tcEZ8LJSUP+E= +=9oY+ +-----END PGP SIGNATURE----- diff --git a/packages/l/lxd/lxd-5.9.tar.gz b/packages/l/lxd/lxd-5.9.tar.gz deleted file mode 120000 index 1f1d48f..0000000 --- a/packages/l/lxd/lxd-5.9.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeibz6m6ppykpse6jhh3iw73p37aom545qklomx2yrb5di5lvjh4yt4 \ No newline at end of file diff --git a/packages/l/lxd/lxd-5.9.tar.gz.asc b/packages/l/lxd/lxd-5.9.tar.gz.asc deleted file mode 100644 index 5261467..0000000 --- a/packages/l/lxd/lxd-5.9.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEYC9WdmPlk7y9FPM4xjiXTWR5LWcFAmOUG6wACgkQxjiXTWR5 -LWdFKQ/+OLDeBLLRf1CJDSzzSiLcdmrNhPfOJsz7ZucTZm6g9VZ+MgA84UsONd1f -g0x+Lmoz8cb7cJs8+vM3KLgHhfK4tjHZ2rnhQavxJiyXlj926ij2A1hwDdthlt3e -sPF3RV8jY7cO2nCARxDbHj/ASHeHNtMy4gNN69sjHIdnf9dowxXAF/Wri34Snf4O -YS7uVOvRB6Tj+j0fZhJ17hOT4YAqe8g2JHVhTHiIMvMbfOGm8gmMUtjDqW14Z/zX -g18BtqjkZp6BMWYylg/FDOCwWCisRirSQ81xvUzfvKn5JvBQViV+yL2O2AuspK+o -eUQrqD5RKjaSNdQKhYytrml1NLDNt19lAB9rKsRkYyXocPE/jPpAR6nbi4yazTij -Yki0t4DiiR+cv5PINhy/1wuqbagxr9mHCABQkiyGDIuiaKjlcqehf4aABi6RH+sJ -qpq4Hqk6uAkeptP6K2HhGRgJ/i+TJW6xNoaacXM//EU4tE2ZJXxQ0cbluTkk4sd9 -5KenPO4CVm+l9QnVMH6hN8urhGpCpXmtreIps1/jloV9S6dnxcAxScoyzUwTKxO+ -sIm1jLk/CZ99Wr+W0ou7nREGG2+dt7zYO79UyalsWzJvksk9rNuAB7+61VxauxUE -Qg15gP8+BOGbaIua+l/GhzdrTdm9T0ICtrZRV4RBJVpx5W1iNhM= -=ebdZ ------END PGP SIGNATURE----- diff --git a/packages/l/lxd/lxd.changes b/packages/l/lxd/lxd.changes index 8107e06..cb05925 100644 --- a/packages/l/lxd/lxd.changes +++ b/packages/l/lxd/lxd.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Feb 13 13:03:24 UTC 2023 - Jacob Hansen <me@jacobbaungard.com> + +- Update to LXD 5.10. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-5-10-has-been-released/16143 + + + Configurable network transmit queue length on NIC devices + +------------------------------------------------------------------- Sun Dec 25 19:01:56 UTC 2022 - Kostas Papadakis <papadakis.k@yandex.com> - Add stop entry to systemd service file so the lxc containers shutdown diff --git a/packages/l/lxd/lxd.spec b/packages/l/lxd/lxd.spec index 6b557ee..2468bd9 100644 --- a/packages/l/lxd/lxd.spec +++ b/packages/l/lxd/lxd.spec @@ -1,7 +1,7 @@ # # spec file for package lxd # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,7 +34,7 @@ %endif Name: lxd -Version: 5.9 +Version: 5.10 Release: 0 Summary: Container hypervisor based on LXC License: Apache-2.0 diff --git a/packages/libd/libdrm/.files b/packages/libd/libdrm/.files index 65de04b..0ff50e1 100644 Binary files a/packages/libd/libdrm/.files and b/packages/libd/libdrm/.files differ diff --git a/packages/libd/libdrm/.rev b/packages/libd/libdrm/.rev index 9fcdf31..9c032ab 100644 --- a/packages/libd/libdrm/.rev +++ b/packages/libd/libdrm/.rev @@ -1642,4 +1642,12 @@ Man pages are disabled for this build, upstream disabled them for this release. * xf86drm: add support for printing AMD GFX11 modifiers</comment> <requestid>1064020</requestid> </revision> + <revision rev="166" vrev="2"> + <srcmd5>8289e9af69316fe6ca73de610563709a</srcmd5> + <version>2.4.115</version> + <time>1676401674</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1065426</requestid> + </revision> </revisionlist> diff --git a/packages/libd/libdrm/libdrm.changes b/packages/libd/libdrm/libdrm.changes index 4af7a6e..02418f2 100644 --- a/packages/libd/libdrm/libdrm.changes +++ b/packages/libd/libdrm/libdrm.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sat Feb 11 22:02:43 UTC 2023 - Hans-Peter Jansen <hp@urpla.net> + +- Adjust the n_libdrm-drop-valgrind* patches accordingly + +------------------------------------------------------------------- Thu Feb 9 14:01:51 UTC 2023 - Stefan Dirsch <sndirsch@suse.com> - Update to 2.4.115 diff --git a/packages/libd/libdrm/libdrm.spec b/packages/libd/libdrm/libdrm.spec index 4bf6e36..25727ea 100644 --- a/packages/libd/libdrm/libdrm.spec +++ b/packages/libd/libdrm/libdrm.spec @@ -23,6 +23,7 @@ %endif Name: libdrm +# Please remember to adjust the version in the n_libdrm-drop-valgrind* patches Version: 2.4.115 Release: 0 Summary: Userspace Interface for Kernel DRM Services diff --git a/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-generic.patch b/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-generic.patch index 66ab86f..a7f6559 100644 --- a/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-generic.patch +++ b/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-generic.patch @@ -5,7 +5,7 @@ Index: pkgconfig/libdrm.pc @@ -5,7 +5,6 @@ libdir=${prefix}/lib64 Name: libdrm Description: Userspace interface to kernel DRM services - Version: 2.4.114 + Version: 2.4.115 -Requires.private: valgrind Libs: -L${libdir} -ldrm Libs.private: -lm diff --git a/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-intel.patch b/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-intel.patch index 1d5e125..c58dcd5 100644 --- a/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-intel.patch +++ b/packages/libd/libdrm/n_libdrm-drop-valgrind-dep-intel.patch @@ -4,7 +4,7 @@ Index: pkgconfig/libdrm_intel.pc +++ pkgconfig/libdrm_intel.pc @@ -6,6 +6,6 @@ Name: libdrm_intel Description: Userspace interface to intel kernel DRM services - Version: 2.4.114 + Version: 2.4.115 Requires: libdrm -Requires.private: pciaccess >= 0.10, valgrind +Requires.private: pciaccess >= 0.10 diff --git a/packages/libg/libguestfs/.files b/packages/libg/libguestfs/.files index b4c7f87..c01852a 100644 Binary files a/packages/libg/libguestfs/.files and b/packages/libg/libguestfs/.files differ diff --git a/packages/libg/libguestfs/.rev b/packages/libg/libguestfs/.rev index 44c064b..dfe8517 100644 --- a/packages/libg/libguestfs/.rev +++ b/packages/libg/libguestfs/.rev @@ -1006,4 +1006,12 @@ <comment>Automatic submission by obs-autosubmit</comment> <requestid>1063526</requestid> </revision> + <revision rev="90" vrev="1"> + <srcmd5>cabd93c799385cb1f07e183c7a407ac4</srcmd5> + <version>1.50.0</version> + <time>1676401698</time> + <user>dimstar_suse</user> + <comment>Update to libguestfs version 1.50.0</comment> + <requestid>1065781</requestid> + </revision> </revisionlist> diff --git a/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz b/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz deleted file mode 120000 index 5a0d463..0000000 --- a/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeih5tn6gze3dvg47ucc6sk563aigkgamlsxlym3u5ir7sa5fet5ml4 \ No newline at end of file diff --git a/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz.sig b/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz.sig deleted file mode 100644 index 04ae46e..0000000 --- a/packages/libg/libguestfs/libguestfs-1.48.6.tar.gz.sig +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmOEn2URHHJpY2hAYW5u -ZXhpYS5vcmcACgkQkXOPc+G3aKCUZQ/+NqyxeiHmbcAUVZgaS8R5z8qqzwQQedRR -gUzUIk5bdH/AKNCZ6cr/pMUMdo5TEtR2V5z8RFD0pe9maYLmGOosxpFHOHELasrr -KO3l5uWz/swBUTR83IJi3LU1bu91dwoaGmIQA1KGy8wcaA6z9mwxWtNbx4pF7jqM -evWZZE/rLRyLze4tiUU0bzbYhpIu31PZ5hd9o+FPj6TbmRFwn3jbc1wfWuDxXG3D -igYkd+RbaeI09VdslcNzCxdZc3yeaunq/v0kI32OIqltOpw98RUv8zFxxZbgWPP5 -zb6JaAAs3ThZVqesFvfVxRbArxpi4Sfr1L6b0TsHb22p9ACLNS3taJhnsUrFQtx9 -fC6g8u45tDalV14cylyyH5yZ4iCShzf5iHKGdXi/dxyS1xilkcsesgABuv/m8XRC -X8rtiDme8CETtTcxXdATgsmfjoyba9IdS4pUq+JC5jpRbIHek3fSffSxGnzydj+d -PwfLEXZlZbxNuCOmdpXUUbwyIoUw7xajVSn+dZAkdnosn0u4JberGdrG/A/bvDOQ -8ABSYE8Rs1iqIFcMl9uwqDtVf0hsNcGC4K5YTLRIODuiOm7H3JfbT7GT4L6lz4K8 -hmelktKn4Mq4iLsgrEj1ZHEzJ2jgEFcv4TZoAYwpbH2xXwj6b/9NqycOeHQaQMR1 -/m3Ri79S9x8= -=EbDM ------END PGP SIGNATURE----- diff --git a/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz b/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz new file mode 120000 index 0000000..9a81815 --- /dev/null +++ b/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeig4zhcxugqyymenlnsvt753h553x5l723qlimifqbiow37dm2nezy \ No newline at end of file diff --git a/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz.sig b/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz.sig new file mode 100644 index 0000000..2e33ca4 --- /dev/null +++ b/packages/libg/libguestfs/libguestfs-1.50.0.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmPiNMYRHHJpY2hAYW5u +ZXhpYS5vcmcACgkQkXOPc+G3aKBFwA/7BCpJNL+0KhzWlEGwim0hHqYm6LLAgQR2 +FpWRdhLFdbu2vvEg+DkEAd5cI1TkOIRx4t3eBGiERDGLzroT8QJulr1ZlwLCu+h2 +ywwo5rJk3ZFDD9CoKC9VDOk0YjghXaDrllkPUjN8fS7tuQo6WHBnIcMyd1VNo5YA +63PNj90VTOGZp54GJLtRpCGNQcxkbGcsl4EpvxvvXaWGtnADNy4864aGQb7uDfa3 +y5OLKfnK1O519Yi6q8JQks9x334ff2UjTSH/UqIu4mzbNHZROBDhcgQ+J2RCA54Q +UVujHOFg4HvoMSvpSi19vZ1kTG1Pq6TmPtYg7Ims7DQXgXkvVKB472CDkXFet9Sj +sLxM3OGIFmOiKqJkKfqKW+kgw7UZpfH9fya6H2w/Gq5cruUnAGTqZQnk13tbh2gF +k2L6Bb8AFq420x2VEdm7WexBF2Tk3xX8ub+9GOjTN9VvRWbAQskiDwi6hY/FoX9l +vOSe9Yxm5kVHR33oBsSnI0w7IkpgObbsjx18Zya0gwDRhMrCd3kB46v4wzYREngI +LnHW7V5zRwZXPsQOgL38joOYgJhqLud13JdhZP+KcpRfYwpl6UFoBe1cweNloD++ +mKW5ive8JO2RIRW7dRD1j4xZllRNMIx06tl6V+kp3x7uN4UohG/HhuZYeH4aZWR3 +SVXTBbY6/tc= +=lnRo +-----END PGP SIGNATURE----- diff --git a/packages/libg/libguestfs/libguestfs.changes b/packages/libg/libguestfs/libguestfs.changes index 6a2c802..f743907 100644 --- a/packages/libg/libguestfs/libguestfs.changes +++ b/packages/libg/libguestfs/libguestfs.changes @@ -1,4 +1,49 @@ ------------------------------------------------------------------- +Thu Feb 9 12:55:46 MST 2023 - carnold@suse.com + +- Update to version 1.50.0 + * https://libguestfs.org/guestfs-release-notes-1.50.1.html + * Inspection + When listing the packages in RPM-based guests, the inspection + API no longer checks package signatures. This is because the + newer librpm used by libguestfs does not understand signatures + stored in older guests, such as SHA1 used by RHEL 6 (thanks + Panu Matilainen). + "guestfs_inspect_get_hostname" in guestfs(3) can now handle + /etc/hostname files containing comments (thanks Dawid Zamirski). + "guestfs_file_architecture" in guestfs(3) can now parse files + using zstd compression. + "guestfs_inspect_get_osinfo" in guestfs(3) now returns the + correct osinfo field for Windows 11. However because of + decisions made by Microsoft, these guests still return product + name and other strings identifying as Windows 10 (thanks Yaakov + Selkowitz, Yongkui Guo). + * New APIs + "guestfs_device_name" in guestfs(3) is a new API to read the + device name associated with a drive, for example calling this + with 0 will return /dev/sda. + "guestfs_clevis_luks_unlock" in guestfs(3) is a new API for + unlocking disks using the Clevis/Tang network-based full disk + encryption scheme. Furthermore implement this in guestfish and + guestmount (Laszlo Ersek). + "guestfs_inspect_get_build_id" in guestfs(3) is a new API for + reading the build ID from some Linux and Windows guests. It is + not widely used on Linux, but for Windows it is vital for + identifying Windows 11. + * Other API changes + In the "guestfs_add_drive" in guestfs(3) API, the name and + iface fields are not used. name has not been used since around + 2017, but the documentation has only just been updated to reflect + this. iface was never allowed for the libvirt backend and + didn't work reliably with the direct backend (Laszlo Ersek). + "guestfs_readdir" in guestfs(3) is no longer limited to the + maximum message size but can read a directory of any size + (Laszlo Ersek). + * Numerous build changes, internal improvements, and bug fixes + Note that the Augeas bindings for libguestfs are no longer + bundled with libguestfs and must be built separately. + +------------------------------------------------------------------- Fri Dec 16 09:08:08 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org> - Fix build with RPM 4.18: rpm wants to do a proper cleanup, and diff --git a/packages/libg/libguestfs/libguestfs.spec b/packages/libg/libguestfs/libguestfs.spec index a042afe..e6edc13 100644 --- a/packages/libg/libguestfs/libguestfs.spec +++ b/packages/libg/libguestfs/libguestfs.spec @@ -18,7 +18,7 @@ Name: libguestfs ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64 -Version: 1.48.6 +Version: 1.50.0 Release: 0 Summary: Access and modify virtual machine disk images License: GPL-2.0-or-later @@ -42,6 +42,7 @@ BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: libtool BuildRequires: ocaml >= 4.04 +BuildRequires: ocaml-augeas-devel BuildRequires: ocaml-hivex-devel BuildRequires: po4a BuildRequires: readline-devel @@ -259,7 +260,7 @@ libfuse2 hwinfo EOF -# do some cleanup so that rpm can properly empty directories without permission denie +# Do some cleanup so that rpm can properly empty directories without permission denied # The winsupport directory has already been tar'ed up, so we don't care much find winsupport -type d -exec chmod 755 {} \; diff --git a/packages/m/matrix-synapse/.files b/packages/m/matrix-synapse/.files index 18a0ec2..8811ae2 100644 Binary files a/packages/m/matrix-synapse/.files and b/packages/m/matrix-synapse/.files differ diff --git a/packages/m/matrix-synapse/.rev b/packages/m/matrix-synapse/.rev index 2bd07f1..d0a2b45 100644 --- a/packages/m/matrix-synapse/.rev +++ b/packages/m/matrix-synapse/.rev @@ -675,4 +675,12 @@ mostly-working synapse than nothing at all) and the package has been update to <comment>- Update to 1.76.0</comment> <requestid>1062352</requestid> </revision> + <revision rev="79" vrev="1"> + <srcmd5>05d684bb472effaf72d04e7b01a60dbd</srcmd5> + <version>1.77.0</version> + <time>1676401694</time> + <user>dimstar_suse</user> + <comment>- Update to 1.77.0</comment> + <requestid>1065776</requestid> + </revision> </revisionlist> diff --git a/packages/m/matrix-synapse/.servicemark b/packages/m/matrix-synapse/.servicemark index d30aa3a..08c1779 100644 --- a/packages/m/matrix-synapse/.servicemark +++ b/packages/m/matrix-synapse/.servicemark @@ -1 +1 @@ -ed69b54331d97c707a893157bbcb5d85 +15103dfedbbf745cf9b15b2b098e935f diff --git a/packages/m/matrix-synapse/_service b/packages/m/matrix-synapse/_service index 27f9f4b..73124c8 100644 --- a/packages/m/matrix-synapse/_service +++ b/packages/m/matrix-synapse/_service @@ -4,11 +4,11 @@ <param name="versionformat">@PARENT_TAG@</param> <param name="url">https://github.com/matrix-org/synapse.git</param> <param name="scm">git</param> - <param name="revision">v1.76.0</param> + <param name="revision">v1.77.0</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> <!-- - <param name="revision">v1.77.0rc1</param> + <param name="revision">v1.78.0rc1</param> <param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param> <param name="versionrewrite-replacement">\1~\2</param> --> diff --git a/packages/m/matrix-synapse/matrix-synapse-1.76.0.obscpio b/packages/m/matrix-synapse/matrix-synapse-1.76.0.obscpio deleted file mode 120000 index 078cede..0000000 --- a/packages/m/matrix-synapse/matrix-synapse-1.76.0.obscpio +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeiby2njmfcojs5nwwtsvf7l76mkgcrbqxl5rqdntrirxs2riwi2zlu \ No newline at end of file diff --git a/packages/m/matrix-synapse/matrix-synapse-1.77.0.obscpio b/packages/m/matrix-synapse/matrix-synapse-1.77.0.obscpio new file mode 120000 index 0000000..3c50e53 --- /dev/null +++ b/packages/m/matrix-synapse/matrix-synapse-1.77.0.obscpio @@ -0,0 +1 @@ +/ipfs/bafybeib5epy3eentsdltkt3zvj3apeef2eizlyi43uwkvgsvm6c2ypp3xq \ No newline at end of file diff --git a/packages/m/matrix-synapse/matrix-synapse-test.spec b/packages/m/matrix-synapse/matrix-synapse-test.spec index 14f64f8..d1170a6 100644 --- a/packages/m/matrix-synapse/matrix-synapse-test.spec +++ b/packages/m/matrix-synapse/matrix-synapse-test.spec @@ -27,7 +27,7 @@ %define pkgname matrix-synapse Name: %{pkgname}-test -Version: 1.76.0 +Version: 1.77.0 Release: 0 Summary: Test package for %{pkgname} License: Apache-2.0 diff --git a/packages/m/matrix-synapse/matrix-synapse.changes b/packages/m/matrix-synapse/matrix-synapse.changes index 3346269..800838f 100644 --- a/packages/m/matrix-synapse/matrix-synapse.changes +++ b/packages/m/matrix-synapse/matrix-synapse.changes @@ -1,4 +1,76 @@ ------------------------------------------------------------------- +Tue Feb 14 15:18:22 UTC 2023 - Marcus Rueckert <mrueckert@suse.de> + +- Update to 1.77.0 + - Features + - Experimental support for MSC3952: intentional mentions. + (#14823, #14943, #14957, #14958) + - Experimental support to suppress notifications from message + edits (MSC3958). (#14960, #15016) + - Add profile information, devices and connections to the + command line user data export tool. (#14894) + - Improve performance when joining or sending an event in large + rooms. (#14962) + - Improve performance of joining and leaving large rooms with + many local users. (#14971) + - Bugfixes + - Fix bug where retried replication requests would return a + failure. Introduced in v1.76.0. (#15024) + - Fix a bug introduced in Synapse 1.53.0 where next_batch + tokens from /sync could not be used with the /relations + endpoint. (#14866) + - Fix a bug introduced in Synapse 1.35.0 where the module API's + send_local_online_presence_to would fail to send presence + updates over federation. (#14880) + - Fix a bug introduced in Synapse 1.70.0 where the background + updates to add non-thread unique indexes on receipts could + fail when upgrading from 1.67.0 or earlier. (#14915) + - Fix a regression introduced in Synapse 1.69.0 which can + result in database corruption when database migrations are + interrupted on sqlite. (#14926) + - Fix a bug introduced in Synapse 1.68.0 where we were unable + to service remote joins in rooms with @room notification + levels set to null in their (malformed) power levels. + (#14942) + - Fix a bug introduced in Synapse 1.64.0 where boolean power + levels were erroneously permitted in v10 rooms. (#14944) + - Fix a long-standing bug where sending messages on servers + with presence enabled would spam "Re-starting finished log + context" log lines. (#14947) + - Fix a bug introduced in Synapse 1.68.0 where logging from the + Rust module was not properly logged. (#14976) + - Fix various long-standing bugs in Synapse's config, event and + request handling where booleans were unintentionally accepted + where an integer was expected. (#14945) + - Internal Changes + - Prepare for future database schema changes. (#15036) + - Add missing type hints. (#14879, #14886, #14887, #14904, + #14927, #14956, #14983, #14984, #14985, #14987, #14988, + #14990, #14991, #14992, #15007) + - Use StrCollection to avoid potential bugs with + Collection[str]. (#14922) + - Allow running the complement tests suites with the asyncio + reactor enabled. (#14858) + - Improve performance of /sync in a few situations. (#14908, + #14970) + - Document how to handle Dependabot pull requests. (#14916) + - Fix typo in release script. (#14920) + - Update build system requirements to allow building with + poetry-core 1.5.0. (#14949, #15019) + - Add an lnav config file for Synapse logs to /contrib/lnav. + (#14953) + - Faster joins: Refactor internal handling of servers in room + to never store an empty list. (#14954) + - Faster joins: tag v2/send_join/ requests to indicate if they + served a partial join response. (#14950) + - Allow running cargo without the extension-module option. + (#14965) + - Preparatory work for adding a denormalised event stream + ordering column in the future. Contributed by Nick @ Beeper + (@Fizzadar). (#14979, 9cd7610, f10caa7; see #15014) + - Add tests for _flatten_dict. (#14981, #15002) + +------------------------------------------------------------------- Tue Jan 31 23:13:24 UTC 2023 - Marcus Rueckert <mrueckert@suse.de> - Update to 1.76.0 diff --git a/packages/m/matrix-synapse/matrix-synapse.obsinfo b/packages/m/matrix-synapse/matrix-synapse.obsinfo index 8dd1982..0b58279 100644 --- a/packages/m/matrix-synapse/matrix-synapse.obsinfo +++ b/packages/m/matrix-synapse/matrix-synapse.obsinfo @@ -1,4 +1,4 @@ name: matrix-synapse -version: 1.76.0 -mtime: 1675182922 -commit: eafdb12dd8db985fbe1ac27ca75d28af8d4e4c5d +version: 1.77.0 +mtime: 1676375955 +commit: 3e90dfdd81c2c6dcaf1f21f24fbca0a4c820b150 diff --git a/packages/m/matrix-synapse/matrix-synapse.spec b/packages/m/matrix-synapse/matrix-synapse.spec index 54f1423..45c567a 100644 --- a/packages/m/matrix-synapse/matrix-synapse.spec +++ b/packages/m/matrix-synapse/matrix-synapse.spec @@ -38,8 +38,8 @@ %global matrix_common_max_version 2 %global msgpack_version 1.0.4 %global netaddr_version 0.8.0 -%global phonenumbers_version 8.13.4 -%global prometheus_client_version 0.15.0 +%global phonenumbers_version 8.13.5 +%global prometheus_client_version 0.16.0 %global psutil_version 2.0.0 %global pyOpenSSL_version 23.0.0 %global pyasn1_version 0.4.8 @@ -83,7 +83,7 @@ %global cryptography_version 3.4.7 %global frozendict_version 2.1.3 %global idna_version 2.5 -%global ijson_version 3.1.4 +%global ijson_version 3.2.0 %global jsonschema_version 3.0.0 %global matrix_common_version 1.3.0 %global matrix_common_max_version 2 @@ -156,14 +156,14 @@ %define pkgname matrix-synapse %define eggname matrix_synapse Name: %{pkgname} -Version: 1.76.0 +Version: 1.77.0 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 Group: Productivity/Networking/Instant Messenger URL: https://github.com/matrix-org/synapse Source0: %{pkgname}-%{version}.tar.xz -Source1: vendor.tar.xz +Source1: vendor.tar.zst Source2: cargo_config Source47: matrix-synapse-user.conf Source48: README.SUSE diff --git a/packages/m/matrix-synapse/vendor.tar.xz b/packages/m/matrix-synapse/vendor.tar.xz deleted file mode 120000 index ca8c41d..0000000 --- a/packages/m/matrix-synapse/vendor.tar.xz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeie25qucop6ycnascrbvz55xwtvztca6qexcne43jcrhm6m7xnz27m \ No newline at end of file diff --git a/packages/m/matrix-synapse/vendor.tar.zst b/packages/m/matrix-synapse/vendor.tar.zst new file mode 120000 index 0000000..56c88a6 --- /dev/null +++ b/packages/m/matrix-synapse/vendor.tar.zst @@ -0,0 +1 @@ +/ipfs/bafybeiegqz7g4gsrciqnrdxdlvc5xah2nlnrohf7a7zmi7aocmeafghdwa \ No newline at end of file diff --git a/packages/o/openvpn/.files b/packages/o/openvpn/.files index 1fe6f66..5015ba0 100644 Binary files a/packages/o/openvpn/.files and b/packages/o/openvpn/.files differ diff --git a/packages/o/openvpn/.rev b/packages/o/openvpn/.rev index 31569bf..d5ec112 100644 --- a/packages/o/openvpn/.rev +++ b/packages/o/openvpn/.rev @@ -899,4 +899,12 @@ behaviour fixing bsc#941569</comment> <comment>- bsc#1123557: --suppress-timestamps isn't needed by default.</comment> <requestid>1057073</requestid> </revision> + <revision rev="105" vrev="3"> + <srcmd5>93ba18124d9a83dcbbac011ffe5b2efd</srcmd5> + <version>2.5.8</version> + <time>1676401689</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1065524</requestid> + </revision> </revisionlist> diff --git a/packages/o/openvpn/openvpn.changes b/packages/o/openvpn/openvpn.changes index 5d4351e..b99c3b1 100644 --- a/packages/o/openvpn/openvpn.changes +++ b/packages/o/openvpn/openvpn.changes @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Feb 13 11:26:45 UTC 2023 - Thorsten Kukuk <kukuk@suse.com> + +- Remove migration from openvpn.service to openvpn@.service and + depending requires, this is from pre SLE12 times and not supported + anymore. + +------------------------------------------------------------------- Mon Jan 9 13:29:36 UTC 2023 - Reinhard Max <max@suse.com> - bsc#1123557: --suppress-timestamps isn't needed by default. diff --git a/packages/o/openvpn/openvpn.spec b/packages/o/openvpn/openvpn.spec index 31784c2..d791971 100644 --- a/packages/o/openvpn/openvpn.spec +++ b/packages/o/openvpn/openvpn.spec @@ -16,10 +16,6 @@ # -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir %{_localstatedir}/adm/fillup-templates -%endif %if ! %{defined _rundir} %define _rundir %{_localstatedir}/run %endif @@ -55,7 +51,6 @@ BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) Requires: iproute2 Requires: pkcs11-helper >= 1.11 -Requires: sysvinit-tools %systemd_ordering %description @@ -182,40 +177,6 @@ find sample -name .gitignore -exec rm -f {} + %post %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %service_add_post %{name}.target -# try to migrate openvpn.service autostart to openvpn@<CONF>.service -if test $1 -ge 1 -a \ - -x /bin/systemctl -a \ - -f %{_sysconfdir}/sysconfig/openvpn -a \ - -f %{_fillupdir}/sysconfig.openvpn && \ - /bin/systemctl --quiet is-enabled openvpn.service >/dev/null 2>/dev/null; -then - . %{_sysconfdir}/sysconfig/openvpn - try_service_cgroup_join() - { - local p="%{_localstatedir}/run/openvpn/${1}.pid" - local t="/sys/fs/cgroup/systemd/system/openvpn@.service/${1}" - /sbin/checkproc -p "$p" "%{_sbindir}/openvpn" >/dev/null 2>/dev/null || return 0 - test -d "$t" || mkdir -p "$t" 2>/dev/null || return 1 - cat "$p" > "$t/tasks" 2>/dev/null || return 1 - } - if test "X$OPENVPN_AUTOSTART" != "X" ; then - for conf in $OPENVPN_AUTOSTART ; do - test -f "%{_sysconfdir}/openvpn/${conf}.conf" && \ - /bin/systemctl enable "openvpn@${conf}.service" && \ - try_service_cgroup_join "$conf" || continue - done - else - shopt -s nullglob || : - for conf in %{_sysconfdir}/openvpn/*.conf ; do - conf=${conf##*/} - conf=${conf%.conf} - test -f "%{_sysconfdir}/openvpn/${conf}.conf" && \ - /bin/systemctl enable "openvpn@${conf}.service" && \ - try_service_cgroup_join "$conf" || continue - done - fi -fi -rm -f %{_sysconfdir}/sysconfig/openvpn || : %preun %service_del_preun %{name}.target diff --git a/packages/q/qemu/.files b/packages/q/qemu/.files index 7fd3d9c..b0b18bf 100644 Binary files a/packages/q/qemu/.files and b/packages/q/qemu/.files differ diff --git a/packages/q/qemu/.rev b/packages/q/qemu/.rev index e7cf18b..6de84d1 100644 --- a/packages/q/qemu/.rev +++ b/packages/q/qemu/.rev @@ -3293,4 +3293,12 @@ vhost-user-gpu-fix-leak-in-virgl_cmd_res.patch</comment> </comment> <requestid>1064332</requestid> </revision> + <revision rev="246" vrev="11"> + <srcmd5>2479765d9659ec9c9ce2795c77a835ee</srcmd5> + <version>7.1.0</version> + <time>1676401671</time> + <user>dimstar_suse</user> + <comment></comment> + <requestid>1065424</requestid> + </revision> </revisionlist> diff --git a/packages/q/qemu/bundles.tar.xz b/packages/q/qemu/bundles.tar.xz index cd78199..82f16d8 120000 --- a/packages/q/qemu/bundles.tar.xz +++ b/packages/q/qemu/bundles.tar.xz @@ -1 +1 @@ -/ipfs/bafkreievuaiwi6wqo4l7dh75b47lk2r2ixd3x46zp57co2mmvkygrjasaa \ No newline at end of file +/ipfs/bafkreia5u2npbu32zoll352x6te65cmcuxy3t4yay7buhpvxaiutngxheu \ No newline at end of file diff --git a/packages/q/qemu/dump-Add-architecture-section-and-sectio.patch b/packages/q/qemu/dump-Add-architecture-section-and-sectio.patch new file mode 100644 index 0000000..b6f92a3 --- /dev/null +++ b/packages/q/qemu/dump-Add-architecture-section-and-sectio.patch @@ -0,0 +1,345 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 11:32:10 +0000 +Subject: dump: Add architecture section and section string table support +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 9b72224f44612ddd5b434a1bccf79346946d11da +References: jsc#PED-1716 + +Add hooks which architectures can use to add arbitrary data to custom +sections. + +Also add a section name string table in order to identify section +contents + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017113210.41674-1-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 186 +++++++++++++++++++++++++++++++------ + include/sysemu/dump-arch.h | 3 + + include/sysemu/dump.h | 3 + + 3 files changed, 166 insertions(+), 26 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index a19d2420efe9575e97b8ba13d0ca..eb547e3e59e90681cddfc8c4080d 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -103,6 +103,7 @@ static int dump_cleanup(DumpState *s) + memory_mapping_list_free(&s->list); + close(s->fd); + g_free(s->guest_note); ++ g_array_unref(s->string_table_buf); + s->guest_note = NULL; + if (s->resume) { + if (s->detached) { +@@ -152,11 +153,10 @@ static void prepare_elf64_header(DumpState *s, Elf64_Ehdr *elf_header) + elf_header->e_phoff = cpu_to_dump64(s, s->phdr_offset); + elf_header->e_phentsize = cpu_to_dump16(s, sizeof(Elf64_Phdr)); + elf_header->e_phnum = cpu_to_dump16(s, phnum); +- if (s->shdr_num) { +- elf_header->e_shoff = cpu_to_dump64(s, s->shdr_offset); +- elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf64_Shdr)); +- elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); +- } ++ elf_header->e_shoff = cpu_to_dump64(s, s->shdr_offset); ++ elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf64_Shdr)); ++ elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); ++ elf_header->e_shstrndx = cpu_to_dump16(s, s->shdr_num - 1); + } + + static void prepare_elf32_header(DumpState *s, Elf32_Ehdr *elf_header) +@@ -180,11 +180,10 @@ static void prepare_elf32_header(DumpState *s, Elf32_Ehdr *elf_header) + elf_header->e_phoff = cpu_to_dump32(s, s->phdr_offset); + elf_header->e_phentsize = cpu_to_dump16(s, sizeof(Elf32_Phdr)); + elf_header->e_phnum = cpu_to_dump16(s, phnum); +- if (s->shdr_num) { +- elf_header->e_shoff = cpu_to_dump32(s, s->shdr_offset); +- elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf32_Shdr)); +- elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); +- } ++ elf_header->e_shoff = cpu_to_dump32(s, s->shdr_offset); ++ elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf32_Shdr)); ++ elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); ++ elf_header->e_shstrndx = cpu_to_dump16(s, s->shdr_num - 1); + } + + static void write_elf_header(DumpState *s, Error **errp) +@@ -195,6 +194,8 @@ static void write_elf_header(DumpState *s, Error **errp) + void *header_ptr; + int ret; + ++ /* The NULL header and the shstrtab are always defined */ ++ assert(s->shdr_num >= 2); + if (dump_is_64bit(s)) { + prepare_elf64_header(s, &elf64_header); + header_size = sizeof(elf64_header); +@@ -393,17 +394,49 @@ static void prepare_elf_section_hdr_zero(DumpState *s) + } + } + +-static void prepare_elf_section_hdrs(DumpState *s) ++static void prepare_elf_section_hdr_string(DumpState *s, void *buff) ++{ ++ uint64_t index = s->string_table_buf->len; ++ const char strtab[] = ".shstrtab"; ++ Elf32_Shdr shdr32 = {}; ++ Elf64_Shdr shdr64 = {}; ++ int shdr_size; ++ void *shdr; ++ ++ g_array_append_vals(s->string_table_buf, strtab, sizeof(strtab)); ++ if (dump_is_64bit(s)) { ++ shdr_size = sizeof(Elf64_Shdr); ++ shdr64.sh_type = SHT_STRTAB; ++ shdr64.sh_offset = s->section_offset + s->elf_section_data_size; ++ shdr64.sh_name = index; ++ shdr64.sh_size = s->string_table_buf->len; ++ shdr = &shdr64; ++ } else { ++ shdr_size = sizeof(Elf32_Shdr); ++ shdr32.sh_type = SHT_STRTAB; ++ shdr32.sh_offset = s->section_offset + s->elf_section_data_size; ++ shdr32.sh_name = index; ++ shdr32.sh_size = s->string_table_buf->len; ++ shdr = &shdr32; ++ } ++ memcpy(buff, shdr, shdr_size); ++} ++ ++static bool prepare_elf_section_hdrs(DumpState *s, Error **errp) + { + size_t len, sizeof_shdr; ++ void *buff_hdr; + + /* + * Section ordering: + * - HDR zero ++ * - Arch section hdrs ++ * - String table hdr + */ + sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); + len = sizeof_shdr * s->shdr_num; + s->elf_section_hdrs = g_malloc0(len); ++ buff_hdr = s->elf_section_hdrs; + + /* + * The first section header is ALWAYS a special initial section +@@ -419,6 +452,26 @@ static void prepare_elf_section_hdrs(DumpState *s) + if (s->phdr_num >= PN_XNUM) { + prepare_elf_section_hdr_zero(s); + } ++ buff_hdr += sizeof_shdr; ++ ++ /* Add architecture defined section headers */ ++ if (s->dump_info.arch_sections_write_hdr_fn ++ && s->shdr_num > 2) { ++ buff_hdr += s->dump_info.arch_sections_write_hdr_fn(s, buff_hdr); ++ ++ if (s->shdr_num >= SHN_LORESERVE) { ++ error_setg_errno(errp, EINVAL, ++ "dump: too many architecture defined sections"); ++ return false; ++ } ++ } ++ ++ /* ++ * String table is the last section since strings are added via ++ * arch_sections_write_hdr(). ++ */ ++ prepare_elf_section_hdr_string(s, buff_hdr); ++ return true; + } + + static void write_elf_section_headers(DumpState *s, Error **errp) +@@ -426,7 +479,9 @@ static void write_elf_section_headers(DumpState *s, Error **errp) + size_t sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); + int ret; + +- prepare_elf_section_hdrs(s); ++ if (!prepare_elf_section_hdrs(s, errp)) { ++ return; ++ } + + ret = fd_write_vmcore(s->elf_section_hdrs, s->shdr_num * sizeof_shdr, s); + if (ret < 0) { +@@ -436,6 +491,29 @@ static void write_elf_section_headers(DumpState *s, Error **errp) + g_free(s->elf_section_hdrs); + } + ++static void write_elf_sections(DumpState *s, Error **errp) ++{ ++ int ret; ++ ++ if (s->elf_section_data_size) { ++ /* Write architecture section data */ ++ ret = fd_write_vmcore(s->elf_section_data, ++ s->elf_section_data_size, s); ++ if (ret < 0) { ++ error_setg_errno(errp, -ret, ++ "dump: failed to write architecture section data"); ++ return; ++ } ++ } ++ ++ /* Write string table */ ++ ret = fd_write_vmcore(s->string_table_buf->data, ++ s->string_table_buf->len, s); ++ if (ret < 0) { ++ error_setg_errno(errp, -ret, "dump: failed to write string table data"); ++ } ++} ++ + static void write_data(DumpState *s, void *buf, int length, Error **errp) + { + int ret; +@@ -692,6 +770,31 @@ static void dump_iterate(DumpState *s, Error **errp) + } + } + ++static void dump_end(DumpState *s, Error **errp) ++{ ++ int rc; ++ ERRP_GUARD(); ++ ++ if (s->elf_section_data_size) { ++ s->elf_section_data = g_malloc0(s->elf_section_data_size); ++ } ++ ++ /* Adds the architecture defined section data to s->elf_section_data */ ++ if (s->dump_info.arch_sections_write_fn && ++ s->elf_section_data_size) { ++ rc = s->dump_info.arch_sections_write_fn(s, s->elf_section_data); ++ if (rc) { ++ error_setg_errno(errp, rc, ++ "dump: failed to get arch section data"); ++ g_free(s->elf_section_data); ++ return; ++ } ++ } ++ ++ /* write sections to vmcore */ ++ write_elf_sections(s, errp); ++} ++ + static void create_vmcore(DumpState *s, Error **errp) + { + ERRP_GUARD(); +@@ -701,7 +804,14 @@ static void create_vmcore(DumpState *s, Error **errp) + return; + } + ++ /* Iterate over memory and dump it to file */ + dump_iterate(s, errp); ++ if (*errp) { ++ return; ++ } ++ ++ /* Write the section data */ ++ dump_end(s, errp); + } + + static int write_start_flat_header(int fd) +@@ -1683,6 +1793,14 @@ static void dump_init(DumpState *s, int fd, bool has_format, + s->filter_area_begin = begin; + s->filter_area_length = length; + ++ /* First index is 0, it's the special null name */ ++ s->string_table_buf = g_array_new(FALSE, TRUE, 1); ++ /* ++ * Allocate the null name, due to the clearing option set to true ++ * it will be 0. ++ */ ++ g_array_set_size(s->string_table_buf, 1); ++ + memory_mapping_list_init(&s->list); + + guest_phys_blocks_init(&s->guest_phys_blocks); +@@ -1819,26 +1937,42 @@ static void dump_init(DumpState *s, int fd, bool has_format, + } + + /* +- * calculate phdr_num ++ * The first section header is always a special one in which most ++ * fields are 0. The section header string table is also always ++ * set. ++ */ ++ s->shdr_num = 2; ++ ++ /* ++ * Adds the number of architecture sections to shdr_num and sets ++ * elf_section_data_size so we know the offsets and sizes of all ++ * parts. ++ */ ++ if (s->dump_info.arch_sections_add_fn) { ++ s->dump_info.arch_sections_add_fn(s); ++ } ++ ++ /* ++ * calculate shdr_num so we know the offsets and sizes of all ++ * parts. ++ * Calculate phdr_num + * +- * the type of ehdr->e_phnum is uint16_t, so we should avoid overflow ++ * The absolute maximum amount of phdrs is UINT32_MAX - 1 as ++ * sh_info is 32 bit. There's special handling once we go over ++ * UINT16_MAX - 1 but that is handled in the ehdr and section ++ * code. + */ +- s->phdr_num = 1; /* PT_NOTE */ +- if (s->list.num < UINT16_MAX - 2) { +- s->shdr_num = 0; ++ s->phdr_num = 1; /* Reserve PT_NOTE */ ++ if (s->list.num <= UINT32_MAX - 1) { + s->phdr_num += s->list.num; + } else { +- /* sh_info of section 0 holds the real number of phdrs */ +- s->shdr_num = 1; +- +- /* the type of shdr->sh_info is uint32_t, so we should avoid overflow */ +- if (s->list.num <= UINT32_MAX - 1) { +- s->phdr_num += s->list.num; +- } else { +- s->phdr_num = UINT32_MAX; +- } ++ s->phdr_num = UINT32_MAX; + } + ++ /* ++ * Now that the number of section and program headers is known we ++ * can calculate the offsets of the headers and data. ++ */ + if (dump_is_64bit(s)) { + s->shdr_offset = sizeof(Elf64_Ehdr); + s->phdr_offset = s->shdr_offset + sizeof(Elf64_Shdr) * s->shdr_num; +diff --git a/include/sysemu/dump-arch.h b/include/sysemu/dump-arch.h +index e25b02e99013c75316c8b79da9a3..59bbc9be38c9af0f6181743e2d5c 100644 +--- a/include/sysemu/dump-arch.h ++++ b/include/sysemu/dump-arch.h +@@ -21,6 +21,9 @@ typedef struct ArchDumpInfo { + uint32_t page_size; /* The target's page size. If it's variable and + * unknown, then this should be the maximum. */ + uint64_t phys_base; /* The target's physmem base. */ ++ void (*arch_sections_add_fn)(DumpState *s); ++ uint64_t (*arch_sections_write_hdr_fn)(DumpState *s, uint8_t *buff); ++ int (*arch_sections_write_fn)(DumpState *s, uint8_t *buff); + } ArchDumpInfo; + + struct GuestPhysBlockList; /* memory_mapping.h */ +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index 9ed811b31331a4c56b7cb851bd02..38ccac7190a253b6c0da3395ac16 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -180,6 +180,9 @@ typedef struct DumpState { + hwaddr note_offset; + + void *elf_section_hdrs; /* Pointer to section header buffer */ ++ void *elf_section_data; /* Pointer to section data buffer */ ++ uint64_t elf_section_data_size; /* Size of section data */ ++ GArray *string_table_buf; /* String table data buffer */ + + uint8_t *note_buf; /* buffer for notes */ + size_t note_buf_offset; /* the writing place in note_buf */ diff --git a/packages/q/qemu/dump-Refactor-dump_iterate-and-introduce.patch b/packages/q/qemu/dump-Refactor-dump_iterate-and-introduce.patch new file mode 100644 index 0000000..53a8546 --- /dev/null +++ b/packages/q/qemu/dump-Refactor-dump_iterate-and-introduce.patch @@ -0,0 +1,131 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:56 +0000 +Subject: dump: Refactor dump_iterate and introduce dump_filter_memblock_*() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 1e8113032f5b1efc5da66382470ce4809c76f8f2 +References: jsc#PED-1716 + +The iteration over the memblocks in dump_iterate() is hard to +understand so it's about time to clean it up. Instead of manually +grabbing the next memblock we can use QTAILQ_FOREACH to iterate over +all memblocks. + +Additionally we move the calculation of the offset and length out by +introducing and using the dump_filter_memblock_*() functions. These +functions will later be used to cleanup other parts of dump.c. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20220811121111.9878-4-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 74 ++++++++++++++++++++++++++++++----------------------- + 1 file changed, 42 insertions(+), 32 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index 0ed7cf9c7bba191f5a4dee5a796d..340de5a1e7a463573a14a0565682 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -591,31 +591,43 @@ static void dump_begin(DumpState *s, Error **errp) + write_elf_notes(s, errp); + } + +-static int get_next_block(DumpState *s, GuestPhysBlock *block) ++static int64_t dump_filtered_memblock_size(GuestPhysBlock *block, ++ int64_t filter_area_start, ++ int64_t filter_area_length) + { +- while (1) { +- block = QTAILQ_NEXT(block, next); +- if (!block) { +- /* no more block */ +- return 1; +- } ++ int64_t size, left, right; + +- s->start = 0; +- s->next_block = block; +- if (s->has_filter) { +- if (block->target_start >= s->begin + s->length || +- block->target_end <= s->begin) { +- /* This block is out of the range */ +- continue; +- } ++ /* No filter, return full size */ ++ if (!filter_area_length) { ++ return block->target_end - block->target_start; ++ } + +- if (s->begin > block->target_start) { +- s->start = s->begin - block->target_start; +- } ++ /* calculate the overlapped region. */ ++ left = MAX(filter_area_start, block->target_start); ++ right = MIN(filter_area_start + filter_area_length, block->target_end); ++ size = right - left; ++ size = size > 0 ? size : 0; ++ ++ return size; ++} ++ ++static int64_t dump_filtered_memblock_start(GuestPhysBlock *block, ++ int64_t filter_area_start, ++ int64_t filter_area_length) ++{ ++ if (filter_area_length) { ++ /* return -1 if the block is not within filter area */ ++ if (block->target_start >= filter_area_start + filter_area_length || ++ block->target_end <= filter_area_start) { ++ return -1; + } + +- return 0; ++ if (filter_area_start > block->target_start) { ++ return filter_area_start - block->target_start; ++ } + } ++ ++ return 0; + } + + /* write all memory to vmcore */ +@@ -623,24 +635,22 @@ static void dump_iterate(DumpState *s, Error **errp) + { + ERRP_GUARD(); + GuestPhysBlock *block; +- int64_t size; +- +- do { +- block = s->next_block; ++ int64_t memblock_size, memblock_start; + +- size = block->target_end - block->target_start; +- if (s->has_filter) { +- size -= s->start; +- if (s->begin + s->length < block->target_end) { +- size -= block->target_end - (s->begin + s->length); +- } ++ QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { ++ memblock_start = dump_filtered_memblock_start(block, s->begin, s->length); ++ if (memblock_start == -1) { ++ continue; + } +- write_memory(s, block, s->start, size, errp); ++ ++ memblock_size = dump_filtered_memblock_size(block, s->begin, s->length); ++ ++ /* Write the memory to file */ ++ write_memory(s, block, memblock_start, memblock_size, errp); + if (*errp) { + return; + } +- +- } while (!get_next_block(s, block)); ++ } + } + + static void create_vmcore(DumpState *s, Error **errp) diff --git a/packages/q/qemu/dump-Reintroduce-memory_offset-and-secti.patch b/packages/q/qemu/dump-Reintroduce-memory_offset-and-secti.patch new file mode 100644 index 0000000..62df22d --- /dev/null +++ b/packages/q/qemu/dump-Reintroduce-memory_offset-and-secti.patch @@ -0,0 +1,35 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:16 +0000 +Subject: dump: Reintroduce memory_offset and section_offset +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 13fd417ddc81a1685c6a8f4e1c80bbfe7150f164 +References: jsc#PED-1716 + +section_offset will later be used to store the offset to the section +data which will be stored last. For now memory_offset is only needed +to make section_offset look nicer. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017083822.43118-5-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/dump/dump.c b/dump/dump.c +index 4a38daf35cf3c4d5dd7c2216677d..a19d2420efe9575e97b8ba13d0ca 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -1848,6 +1848,8 @@ static void dump_init(DumpState *s, int fd, bool has_format, + s->phdr_offset = s->shdr_offset + sizeof(Elf32_Shdr) * s->shdr_num; + s->note_offset = s->phdr_offset + sizeof(Elf32_Phdr) * s->phdr_num; + } ++ s->memory_offset = s->note_offset + s->note_size; ++ s->section_offset = s->memory_offset + s->total_size; + + return; + diff --git a/packages/q/qemu/dump-Rename-write_elf-_phdr_note-to-prep.patch b/packages/q/qemu/dump-Rename-write_elf-_phdr_note-to-prep.patch new file mode 100644 index 0000000..ee95476 --- /dev/null +++ b/packages/q/qemu/dump-Rename-write_elf-_phdr_note-to-prep.patch @@ -0,0 +1,59 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:11:01 +0000 +Subject: dump: Rename write_elf*_phdr_note to prepare_elf*_phdr_note +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 2341a94d3a0a8a93a5a977e642da1807b8edaab8 +References: jsc#PED-1716 + +The functions in question do not actually write to the file descriptor +they set up a buffer which is later written to the fd. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20220811121111.9878-9-frankja@linux.ibm.com> +(cherry picked from commit 2341a94d3a0a8a93a5a977e642da1807b8edaab8) +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index 8a2a97a85eb151d06072fa38fec5..a905316fe52ba59bfb66c94348f6 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -260,7 +260,7 @@ static void write_elf32_load(DumpState *s, MemoryMapping *memory_mapping, + } + } + +-static void write_elf64_phdr_note(DumpState *s, Elf64_Phdr *phdr) ++static void prepare_elf64_phdr_note(DumpState *s, Elf64_Phdr *phdr) + { + memset(phdr, 0, sizeof(*phdr)); + phdr->p_type = cpu_to_dump32(s, PT_NOTE); +@@ -316,7 +316,7 @@ static void write_elf64_notes(WriteCoreDumpFunction f, DumpState *s, + write_guest_note(f, s, errp); + } + +-static void write_elf32_phdr_note(DumpState *s, Elf32_Phdr *phdr) ++static void prepare_elf32_phdr_note(DumpState *s, Elf32_Phdr *phdr) + { + memset(phdr, 0, sizeof(*phdr)); + phdr->p_type = cpu_to_dump32(s, PT_NOTE); +@@ -364,11 +364,11 @@ static void write_elf_phdr_note(DumpState *s, Error **errp) + int ret; + + if (dump_is_64bit(s)) { +- write_elf64_phdr_note(s, &phdr64); ++ prepare_elf64_phdr_note(s, &phdr64); + size = sizeof(phdr64); + phdr = &phdr64; + } else { +- write_elf32_phdr_note(s, &phdr32); ++ prepare_elf32_phdr_note(s, &phdr32); + size = sizeof(phdr32); + phdr = &phdr32; + } diff --git a/packages/q/qemu/dump-Rename-write_elf_loads-to-write_elf.patch b/packages/q/qemu/dump-Rename-write_elf_loads-to-write_elf.patch new file mode 100644 index 0000000..dd43855 --- /dev/null +++ b/packages/q/qemu/dump-Rename-write_elf_loads-to-write_elf.patch @@ -0,0 +1,47 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:55 +0000 +Subject: dump: Rename write_elf_loads to write_elf_phdr_loads +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: afae6056ea79e2d89fd90867de3a01732eae724f +References: jsc#PED-1716 + +Let's make it a bit clearer that we write the program headers of the +PT_LOAD type. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Reviewed-by: Steffen Eiden <seiden@ibm.linux.com> +Message-Id: <20220811121111.9878-3-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index 4d9658ffa24f6e9fc8d91e519f02..0ed7cf9c7bba191f5a4dee5a796d 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -490,7 +490,7 @@ static void get_offset_range(hwaddr phys_addr, + } + } + +-static void write_elf_loads(DumpState *s, Error **errp) ++static void write_elf_phdr_loads(DumpState *s, Error **errp) + { + ERRP_GUARD(); + hwaddr offset, filesz; +@@ -573,8 +573,8 @@ static void dump_begin(DumpState *s, Error **errp) + return; + } + +- /* write all PT_LOAD to vmcore */ +- write_elf_loads(s, errp); ++ /* write all PT_LOADs to vmcore */ ++ write_elf_phdr_loads(s, errp); + if (*errp) { + return; + } diff --git a/packages/q/qemu/dump-Reorder-struct-DumpState.patch b/packages/q/qemu/dump-Reorder-struct-DumpState.patch new file mode 100644 index 0000000..adc67b1 --- /dev/null +++ b/packages/q/qemu/dump-Reorder-struct-DumpState.patch @@ -0,0 +1,58 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:15 +0000 +Subject: dump: Reorder struct DumpState +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 8384b73c46fd474847d7e74d121318e344edc3c4 +References: jsc#PED-1716 + +Let's move ELF related members into one block and guest memory related +ones into another to improve readability. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Richard Henderson <richard.henderson@linaro.org> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017083822.43118-4-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + include/sysemu/dump.h | 16 +++++++++------- + 1 file changed, 9 insertions(+), 7 deletions(-) + +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index 9995f65dc8b18420292beb48ee82..9ed811b31331a4c56b7cb851bd02 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -154,15 +154,8 @@ typedef struct DumpState { + GuestPhysBlockList guest_phys_blocks; + ArchDumpInfo dump_info; + MemoryMappingList list; +- uint32_t phdr_num; +- uint32_t shdr_num; + bool resume; + bool detached; +- ssize_t note_size; +- hwaddr shdr_offset; +- hwaddr phdr_offset; +- hwaddr section_offset; +- hwaddr note_offset; + hwaddr memory_offset; + int fd; + +@@ -177,6 +170,15 @@ typedef struct DumpState { + int64_t filter_area_begin; /* Start address of partial guest memory area */ + int64_t filter_area_length; /* Length of partial guest memory area */ + ++ /* Elf dump related data */ ++ uint32_t phdr_num; ++ uint32_t shdr_num; ++ ssize_t note_size; ++ hwaddr shdr_offset; ++ hwaddr phdr_offset; ++ hwaddr section_offset; ++ hwaddr note_offset; ++ + void *elf_section_hdrs; /* Pointer to section header buffer */ + + uint8_t *note_buf; /* buffer for notes */ diff --git a/packages/q/qemu/dump-Replace-opaque-DumpState-pointer-wi.patch b/packages/q/qemu/dump-Replace-opaque-DumpState-pointer-wi.patch new file mode 100644 index 0000000..63f989b --- /dev/null +++ b/packages/q/qemu/dump-Replace-opaque-DumpState-pointer-wi.patch @@ -0,0 +1,457 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:54 +0000 +Subject: dump: Replace opaque DumpState pointer with a typed one +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 1af0006ab959864dfa2f59e9136c5fb93000b61f +References: jsc#PED-1716 + +It's always better to convey the type of a pointer if at all +possible. So let's add the DumpState typedef to typedefs.h and move +the dump note functions from the opaque pointers to DumpState +pointers. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +CC: Peter Maydell <peter.maydell@linaro.org> +CC: Cédric Le Goater <clg@kaod.org> +CC: Daniel Henrique Barboza <danielhb413@gmail.com> +CC: David Gibson <david@gibson.dropbear.id.au> +CC: Greg Kurz <groug@kaod.org> +CC: Palmer Dabbelt <palmer@dabbelt.com> +CC: Alistair Francis <alistair.francis@wdc.com> +CC: Bin Meng <bin.meng@windriver.com> +CC: Cornelia Huck <cohuck@redhat.com> +CC: Thomas Huth <thuth@redhat.com> +CC: Richard Henderson <richard.henderson@linaro.org> +CC: David Hildenbrand <david@redhat.com> +Acked-by: Daniel Henrique Barboza <danielhb413@gmail.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20220811121111.9878-2-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + include/hw/core/sysemu-cpu-ops.h | 8 ++++---- + include/qemu/typedefs.h | 1 + + target/arm/arch_dump.c | 6 ++---- + target/arm/cpu.h | 4 ++-- + target/i386/arch_dump.c | 30 +++++++++++++++--------------- + target/i386/cpu.h | 8 ++++---- + target/ppc/arch_dump.c | 18 +++++++++--------- + target/ppc/cpu.h | 4 ++-- + target/riscv/arch_dump.c | 6 ++---- + target/riscv/cpu.h | 4 ++-- + target/s390x/arch_dump.c | 10 +++++----- + target/s390x/s390x-internal.h | 2 +- + 12 files changed, 49 insertions(+), 52 deletions(-) + +diff --git a/include/hw/core/sysemu-cpu-ops.h b/include/hw/core/sysemu-cpu-ops.h +index a9ba39e5f258e0cbd95278890b21..ee169b872ca1e36b73c1daea8fb5 100644 +--- a/include/hw/core/sysemu-cpu-ops.h ++++ b/include/hw/core/sysemu-cpu-ops.h +@@ -53,25 +53,25 @@ typedef struct SysemuCPUOps { + * 32-bit VM coredump. + */ + int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + /** + * @write_elf64_note: Callback for writing a CPU-specific ELF note to a + * 64-bit VM coredump. + */ + int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + /** + * @write_elf32_qemunote: Callback for writing a CPU- and QEMU-specific ELF + * note to a 32-bit VM coredump. + */ + int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, +- void *opaque); ++ DumpState *s); + /** + * @write_elf64_qemunote: Callback for writing a CPU- and QEMU-specific ELF + * note to a 64-bit VM coredump. + */ + int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, +- void *opaque); ++ DumpState *s); + /** + * @virtio_is_big_endian: Callback to return %true if a CPU which supports + * runtime configurable endianness is currently big-endian. +diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h +index 42f4ceb701b100c20349998b34a8..054fd46fa6054dbca6b45e23984d 100644 +--- a/include/qemu/typedefs.h ++++ b/include/qemu/typedefs.h +@@ -129,6 +129,7 @@ typedef struct VirtIODevice VirtIODevice; + typedef struct Visitor Visitor; + typedef struct VMChangeStateEntry VMChangeStateEntry; + typedef struct VMStateDescription VMStateDescription; ++typedef struct DumpState DumpState; + + /* + * Pointer types +diff --git a/target/arm/arch_dump.c b/target/arm/arch_dump.c +index b1f040e69f225966456d89378194..2d8e41ab8a3b72a30b6dbdf05f4b 100644 +--- a/target/arm/arch_dump.c ++++ b/target/arm/arch_dump.c +@@ -232,12 +232,11 @@ static int aarch64_write_elf64_sve(WriteCoreDumpFunction f, + #endif + + int arm_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + struct aarch64_note note; + ARMCPU *cpu = ARM_CPU(cs); + CPUARMState *env = &cpu->env; +- DumpState *s = opaque; + uint64_t pstate, sp; + int ret, i; + +@@ -360,12 +359,11 @@ static int arm_write_elf32_vfp(WriteCoreDumpFunction f, CPUARMState *env, + } + + int arm_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + struct arm_note note; + ARMCPU *cpu = ARM_CPU(cs); + CPUARMState *env = &cpu->env; +- DumpState *s = opaque; + int ret, i; + bool fpvalid = cpu_isar_feature(aa32_vfp_simd, cpu); + +diff --git a/target/arm/cpu.h b/target/arm/cpu.h +index 5168e3d837e88d5c8defa77f10cc..fc8b358779c74d24aa747da0e796 100644 +--- a/target/arm/cpu.h ++++ b/target/arm/cpu.h +@@ -1100,9 +1100,9 @@ int arm_gen_dynamic_svereg_xml(CPUState *cpu, int base_reg); + const char *arm_gdb_get_dynamic_xml(CPUState *cpu, const char *xmlname); + + int arm_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int arm_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + + #ifdef TARGET_AARCH64 + int aarch64_cpu_gdb_read_register(CPUState *cpu, GByteArray *buf, int reg); +diff --git a/target/i386/arch_dump.c b/target/i386/arch_dump.c +index 004141fc0421ff72a938197a9ad9..c290910a04b41fc710c457aafe95 100644 +--- a/target/i386/arch_dump.c ++++ b/target/i386/arch_dump.c +@@ -42,7 +42,7 @@ typedef struct { + + static int x86_64_write_elf64_note(WriteCoreDumpFunction f, + CPUX86State *env, int id, +- void *opaque) ++ DumpState *s) + { + x86_64_user_regs_struct regs; + Elf64_Nhdr *note; +@@ -94,7 +94,7 @@ static int x86_64_write_elf64_note(WriteCoreDumpFunction f, + buf += descsz - sizeof(x86_64_user_regs_struct)-sizeof(target_ulong); + memcpy(buf, ®s, sizeof(x86_64_user_regs_struct)); + +- ret = f(note, note_size, opaque); ++ ret = f(note, note_size, s); + g_free(note); + if (ret < 0) { + return -1; +@@ -148,7 +148,7 @@ static void x86_fill_elf_prstatus(x86_elf_prstatus *prstatus, CPUX86State *env, + } + + static int x86_write_elf64_note(WriteCoreDumpFunction f, CPUX86State *env, +- int id, void *opaque) ++ int id, DumpState *s) + { + x86_elf_prstatus prstatus; + Elf64_Nhdr *note; +@@ -170,7 +170,7 @@ static int x86_write_elf64_note(WriteCoreDumpFunction f, CPUX86State *env, + buf += ROUND_UP(name_size, 4); + memcpy(buf, &prstatus, sizeof(prstatus)); + +- ret = f(note, note_size, opaque); ++ ret = f(note, note_size, s); + g_free(note); + if (ret < 0) { + return -1; +@@ -180,7 +180,7 @@ static int x86_write_elf64_note(WriteCoreDumpFunction f, CPUX86State *env, + } + + int x86_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + X86CPU *cpu = X86_CPU(cs); + int ret; +@@ -189,10 +189,10 @@ int x86_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, + bool lma = !!(first_x86_cpu->env.hflags & HF_LMA_MASK); + + if (lma) { +- ret = x86_64_write_elf64_note(f, &cpu->env, cpuid, opaque); ++ ret = x86_64_write_elf64_note(f, &cpu->env, cpuid, s); + } else { + #endif +- ret = x86_write_elf64_note(f, &cpu->env, cpuid, opaque); ++ ret = x86_write_elf64_note(f, &cpu->env, cpuid, s); + #ifdef TARGET_X86_64 + } + #endif +@@ -201,7 +201,7 @@ int x86_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, + } + + int x86_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + X86CPU *cpu = X86_CPU(cs); + x86_elf_prstatus prstatus; +@@ -224,7 +224,7 @@ int x86_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, + buf += ROUND_UP(name_size, 4); + memcpy(buf, &prstatus, sizeof(prstatus)); + +- ret = f(note, note_size, opaque); ++ ret = f(note, note_size, s); + g_free(note); + if (ret < 0) { + return -1; +@@ -329,7 +329,7 @@ static void qemu_get_cpustate(QEMUCPUState *s, CPUX86State *env) + + static inline int cpu_write_qemu_note(WriteCoreDumpFunction f, + CPUX86State *env, +- void *opaque, ++ DumpState *s, + int type) + { + QEMUCPUState state; +@@ -369,7 +369,7 @@ static inline int cpu_write_qemu_note(WriteCoreDumpFunction f, + buf += ROUND_UP(name_size, 4); + memcpy(buf, &state, sizeof(state)); + +- ret = f(note, note_size, opaque); ++ ret = f(note, note_size, s); + g_free(note); + if (ret < 0) { + return -1; +@@ -379,19 +379,19 @@ static inline int cpu_write_qemu_note(WriteCoreDumpFunction f, + } + + int x86_cpu_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cs, +- void *opaque) ++ DumpState *s) + { + X86CPU *cpu = X86_CPU(cs); + +- return cpu_write_qemu_note(f, &cpu->env, opaque, 1); ++ return cpu_write_qemu_note(f, &cpu->env, s, 1); + } + + int x86_cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cs, +- void *opaque) ++ DumpState *s) + { + X86CPU *cpu = X86_CPU(cs); + +- return cpu_write_qemu_note(f, &cpu->env, opaque, 0); ++ return cpu_write_qemu_note(f, &cpu->env, s, 0); + } + + int cpu_get_dump_info(ArchDumpInfo *info, +diff --git a/target/i386/cpu.h b/target/i386/cpu.h +index 82004b65b944132781821248914f..b75108d6a3adb90a2e183c73c81d 100644 +--- a/target/i386/cpu.h ++++ b/target/i386/cpu.h +@@ -1938,13 +1938,13 @@ extern const VMStateDescription vmstate_x86_cpu; + int x86_cpu_pending_interrupt(CPUState *cs, int interrupt_request); + + int x86_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cpu, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int x86_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cpu, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int x86_cpu_write_elf64_qemunote(WriteCoreDumpFunction f, CPUState *cpu, +- void *opaque); ++ DumpState *s); + int x86_cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu, +- void *opaque); ++ DumpState *s); + + void x86_cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, + Error **errp); +diff --git a/target/ppc/arch_dump.c b/target/ppc/arch_dump.c +index 1139cead9fed0258f7eb3b00cee5..f58e6359d5eb927bb4fd0a621bc8 100644 +--- a/target/ppc/arch_dump.c ++++ b/target/ppc/arch_dump.c +@@ -270,23 +270,23 @@ ssize_t cpu_get_note_size(int class, int machine, int nr_cpus) + static int ppc_write_all_elf_notes(const char *note_name, + WriteCoreDumpFunction f, + PowerPCCPU *cpu, int id, +- void *opaque) ++ DumpState *s) + { +- NoteFuncArg arg = { .state = opaque }; ++ NoteFuncArg arg = { .state = s }; + int ret = -1; + int note_size; + const NoteFuncDesc *nf; + + for (nf = note_func; nf->note_contents_func; nf++) { +- arg.note.hdr.n_namesz = cpu_to_dump32(opaque, sizeof(arg.note.name)); +- arg.note.hdr.n_descsz = cpu_to_dump32(opaque, nf->contents_size); ++ arg.note.hdr.n_namesz = cpu_to_dump32(s, sizeof(arg.note.name)); ++ arg.note.hdr.n_descsz = cpu_to_dump32(s, nf->contents_size); + strncpy(arg.note.name, note_name, sizeof(arg.note.name)); + + (*nf->note_contents_func)(&arg, cpu); + + note_size = + sizeof(arg.note) - sizeof(arg.note.contents) + nf->contents_size; +- ret = f(&arg.note, note_size, opaque); ++ ret = f(&arg.note, note_size, s); + if (ret < 0) { + return -1; + } +@@ -295,15 +295,15 @@ static int ppc_write_all_elf_notes(const char *note_name, + } + + int ppc64_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + PowerPCCPU *cpu = POWERPC_CPU(cs); +- return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, opaque); ++ return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, s); + } + + int ppc32_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + PowerPCCPU *cpu = POWERPC_CPU(cs); +- return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, opaque); ++ return ppc_write_all_elf_notes("CORE", f, cpu, cpuid, s); + } +diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h +index a4c893cfadbb75a2c1600259a6de..f7d28fe093fa6568a62227e26b27 100644 +--- a/target/ppc/cpu.h ++++ b/target/ppc/cpu.h +@@ -1354,9 +1354,9 @@ void ppc_gdb_gen_spr_xml(PowerPCCPU *cpu); + const char *ppc_gdb_get_dynamic_xml(CPUState *cs, const char *xml_name); + #endif + int ppc64_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int ppc32_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + #ifndef CONFIG_USER_ONLY + void ppc_cpu_do_interrupt(CPUState *cpu); + bool ppc_cpu_exec_interrupt(CPUState *cpu, int int_req); +diff --git a/target/riscv/arch_dump.c b/target/riscv/arch_dump.c +index 709f621d826a953f5f41c2164c19..736a232956e16e0b0becf100af5f 100644 +--- a/target/riscv/arch_dump.c ++++ b/target/riscv/arch_dump.c +@@ -64,12 +64,11 @@ static void riscv64_note_init(struct riscv64_note *note, DumpState *s, + } + + int riscv_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + struct riscv64_note note; + RISCVCPU *cpu = RISCV_CPU(cs); + CPURISCVState *env = &cpu->env; +- DumpState *s = opaque; + int ret, i = 0; + const char name[] = "CORE"; + +@@ -134,12 +133,11 @@ static void riscv32_note_init(struct riscv32_note *note, DumpState *s, + } + + int riscv_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + struct riscv32_note note; + RISCVCPU *cpu = RISCV_CPU(cs); + CPURISCVState *env = &cpu->env; +- DumpState *s = opaque; + int ret, i; + const char name[] = "CORE"; + +diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h +index 5c7acc055ac9a36546e6e46a1761..9699504721c86529fa7f3cb1ffe4 100644 +--- a/target/riscv/cpu.h ++++ b/target/riscv/cpu.h +@@ -505,9 +505,9 @@ extern const char * const riscv_fpr_regnames[]; + const char *riscv_cpu_get_trap_name(target_ulong cause, bool async); + void riscv_cpu_do_interrupt(CPUState *cpu); + int riscv_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int riscv_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + int riscv_cpu_gdb_read_register(CPUState *cpu, GByteArray *buf, int reg); + int riscv_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); + int riscv_cpu_hviprio_index2irq(int index, int *out_irq, int *out_rdzero); +diff --git a/target/s390x/arch_dump.c b/target/s390x/arch_dump.c +index 08daf93ae1f09fffb08a6d94b4de..f60a14920d45e6b9c61bcd06147a 100644 +--- a/target/s390x/arch_dump.c ++++ b/target/s390x/arch_dump.c +@@ -204,7 +204,7 @@ static const NoteFuncDesc note_linux[] = { + static int s390x_write_elf64_notes(const char *note_name, + WriteCoreDumpFunction f, + S390CPU *cpu, int id, +- void *opaque, ++ DumpState *s, + const NoteFuncDesc *funcs) + { + Note note; +@@ -222,7 +222,7 @@ static int s390x_write_elf64_notes(const char *note_name, + (*nf->note_contents_func)(¬e, cpu, id); + + note_size = sizeof(note) - sizeof(note.contents) + nf->contents_size; +- ret = f(¬e, note_size, opaque); ++ ret = f(¬e, note_size, s); + + if (ret < 0) { + return -1; +@@ -235,16 +235,16 @@ static int s390x_write_elf64_notes(const char *note_name, + + + int s390_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque) ++ int cpuid, DumpState *s) + { + S390CPU *cpu = S390_CPU(cs); + int r; + +- r = s390x_write_elf64_notes("CORE", f, cpu, cpuid, opaque, note_core); ++ r = s390x_write_elf64_notes("CORE", f, cpu, cpuid, s, note_core); + if (r) { + return r; + } +- return s390x_write_elf64_notes("LINUX", f, cpu, cpuid, opaque, note_linux); ++ return s390x_write_elf64_notes("LINUX", f, cpu, cpuid, s, note_linux); + } + + int cpu_get_dump_info(ArchDumpInfo *info, +diff --git a/target/s390x/s390x-internal.h b/target/s390x/s390x-internal.h +index 6aba7fd0ca8a3b158dc3f1cba9fb..b5ae0ae3642e28ed106a7cdc46e1 100644 +--- a/target/s390x/s390x-internal.h ++++ b/target/s390x/s390x-internal.h +@@ -227,7 +227,7 @@ static inline hwaddr decode_basedisp_s(CPUS390XState *env, uint32_t ipb, + + /* arch_dump.c */ + int s390_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, +- int cpuid, void *opaque); ++ int cpuid, DumpState *s); + + + /* cc_helper.c */ diff --git a/packages/q/qemu/dump-Rework-dump_calculate_size-function.patch b/packages/q/qemu/dump-Rework-dump_calculate_size-function.patch new file mode 100644 index 0000000..eb6ce1d --- /dev/null +++ b/packages/q/qemu/dump-Rework-dump_calculate_size-function.patch @@ -0,0 +1,63 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:59 +0000 +Subject: dump: Rework dump_calculate_size function +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: c370d5300f9ac1f90f8158082d22262b904fe30e +References: jsc#PED-1716 + +dump_calculate_size() sums up all the sizes of the guest memory +blocks. Since we already have a function that calculates the size of a +single memory block (dump_get_memblock_size()) we can simply iterate +over the blocks and use the function instead of calculating the size +ourselves. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Message-Id: <20220811121111.9878-7-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 22 ++++++++-------------- + 1 file changed, 8 insertions(+), 14 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index b043337bc73217730f7b38d46484..d82cc46d7d8fc5562057a26d8f7b 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -1548,25 +1548,19 @@ bool qemu_system_dump_in_progress(void) + return (qatomic_read(&state->status) == DUMP_STATUS_ACTIVE); + } + +-/* calculate total size of memory to be dumped (taking filter into +- * acoount.) */ ++/* ++ * calculate total size of memory to be dumped (taking filter into ++ * account.) ++ */ + static int64_t dump_calculate_size(DumpState *s) + { + GuestPhysBlock *block; +- int64_t size = 0, total = 0, left = 0, right = 0; ++ int64_t total = 0; + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { +- if (dump_has_filter(s)) { +- /* calculate the overlapped region. */ +- left = MAX(s->filter_area_begin, block->target_start); +- right = MIN(s->filter_area_begin + s->filter_area_length, block->target_end); +- size = right - left; +- size = size > 0 ? size : 0; +- } else { +- /* count the whole region in */ +- size = (block->target_end - block->target_start); +- } +- total += size; ++ total += dump_filtered_memblock_size(block, ++ s->filter_area_begin, ++ s->filter_area_length); + } + + return total; diff --git a/packages/q/qemu/dump-Rework-filter-area-variables.patch b/packages/q/qemu/dump-Rework-filter-area-variables.patch new file mode 100644 index 0000000..f956991 --- /dev/null +++ b/packages/q/qemu/dump-Rework-filter-area-variables.patch @@ -0,0 +1,177 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:58 +0000 +Subject: dump: Rework filter area variables +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: dddf725f70bfe7f5adb41fa31dbd06e767271bda +References: jsc#PED-1716 + +While the DumpState begin and length variables directly mirror the API +variable names they are not very descriptive. So let's add a +"filter_area_" prefix and make has_filter a function checking length > 0. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20220811121111.9878-6-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 53 +++++++++++++++++++++++++------------------ + include/sysemu/dump.h | 13 ++++++++--- + 2 files changed, 41 insertions(+), 25 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index e204912a89560c3e7724b9359a1e..b043337bc73217730f7b38d46484 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -59,6 +59,11 @@ static inline bool dump_is_64bit(DumpState *s) + return s->dump_info.d_class == ELFCLASS64; + } + ++static inline bool dump_has_filter(DumpState *s) ++{ ++ return s->filter_area_length > 0; ++} ++ + uint16_t cpu_to_dump16(DumpState *s, uint16_t val) + { + if (s->dump_info.d_endian == ELFDATA2LSB) { +@@ -443,29 +448,30 @@ static void get_offset_range(hwaddr phys_addr, + *p_offset = -1; + *p_filesz = 0; + +- if (s->has_filter) { +- if (phys_addr < s->begin || phys_addr >= s->begin + s->length) { ++ if (dump_has_filter(s)) { ++ if (phys_addr < s->filter_area_begin || ++ phys_addr >= s->filter_area_begin + s->filter_area_length) { + return; + } + } + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { +- if (s->has_filter) { +- if (block->target_start >= s->begin + s->length || +- block->target_end <= s->begin) { ++ if (dump_has_filter(s)) { ++ if (block->target_start >= s->filter_area_begin + s->filter_area_length || ++ block->target_end <= s->filter_area_begin) { + /* This block is out of the range */ + continue; + } + +- if (s->begin <= block->target_start) { ++ if (s->filter_area_begin <= block->target_start) { + start = block->target_start; + } else { +- start = s->begin; ++ start = s->filter_area_begin; + } + + size_in_block = block->target_end - start; +- if (s->begin + s->length < block->target_end) { +- size_in_block -= block->target_end - (s->begin + s->length); ++ if (s->filter_area_begin + s->filter_area_length < block->target_end) { ++ size_in_block -= block->target_end - (s->filter_area_begin + s->filter_area_length); + } + } else { + start = block->target_start; +@@ -638,12 +644,12 @@ static void dump_iterate(DumpState *s, Error **errp) + int64_t memblock_size, memblock_start; + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { +- memblock_start = dump_filtered_memblock_start(block, s->begin, s->length); ++ memblock_start = dump_filtered_memblock_start(block, s->filter_area_begin, s->filter_area_length); + if (memblock_start == -1) { + continue; + } + +- memblock_size = dump_filtered_memblock_size(block, s->begin, s->length); ++ memblock_size = dump_filtered_memblock_size(block, s->filter_area_begin, s->filter_area_length); + + /* Write the memory to file */ + write_memory(s, block, memblock_start, memblock_size, errp); +@@ -1504,14 +1510,14 @@ static int validate_start_block(DumpState *s) + { + GuestPhysBlock *block; + +- if (!s->has_filter) { ++ if (!dump_has_filter(s)) { + return 0; + } + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { + /* This block is out of the range */ +- if (block->target_start >= s->begin + s->length || +- block->target_end <= s->begin) { ++ if (block->target_start >= s->filter_area_begin + s->filter_area_length || ++ block->target_end <= s->filter_area_begin) { + continue; + } + return 0; +@@ -1550,10 +1556,10 @@ static int64_t dump_calculate_size(DumpState *s) + int64_t size = 0, total = 0, left = 0, right = 0; + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { +- if (s->has_filter) { ++ if (dump_has_filter(s)) { + /* calculate the overlapped region. */ +- left = MAX(s->begin, block->target_start); +- right = MIN(s->begin + s->length, block->target_end); ++ left = MAX(s->filter_area_begin, block->target_start); ++ right = MIN(s->filter_area_begin + s->filter_area_length, block->target_end); + size = right - left; + size = size > 0 ? size : 0; + } else { +@@ -1643,9 +1649,12 @@ static void dump_init(DumpState *s, int fd, bool has_format, + } + + s->fd = fd; +- s->has_filter = has_filter; +- s->begin = begin; +- s->length = length; ++ if (has_filter && !length) { ++ error_setg(errp, QERR_INVALID_PARAMETER, "length"); ++ goto cleanup; ++ } ++ s->filter_area_begin = begin; ++ s->filter_area_length = length; + + memory_mapping_list_init(&s->list); + +@@ -1778,8 +1787,8 @@ static void dump_init(DumpState *s, int fd, bool has_format, + return; + } + +- if (s->has_filter) { +- memory_mapping_filter(&s->list, s->begin, s->length); ++ if (dump_has_filter(s)) { ++ memory_mapping_filter(&s->list, s->filter_area_begin, s->filter_area_length); + } + + /* +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index 7fce1d4af67c357bd4d80b936290..b62513d87d669fb7e7650edf574e 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -166,9 +166,16 @@ typedef struct DumpState { + hwaddr memory_offset; + int fd; + +- bool has_filter; +- int64_t begin; +- int64_t length; ++ /* ++ * Dump filter area variables ++ * ++ * A filtered dump only contains the guest memory designated by ++ * the start address and length variables defined below. ++ * ++ * If length is 0, no filtering is applied. ++ */ ++ int64_t filter_area_begin; /* Start address of partial guest memory area */ ++ int64_t filter_area_length; /* Length of partial guest memory area */ + + uint8_t *note_buf; /* buffer for notes */ + size_t note_buf_offset; /* the writing place in note_buf */ diff --git a/packages/q/qemu/dump-Rework-get_start_block.patch b/packages/q/qemu/dump-Rework-get_start_block.patch new file mode 100644 index 0000000..db5149f --- /dev/null +++ b/packages/q/qemu/dump-Rework-get_start_block.patch @@ -0,0 +1,92 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:10:57 +0000 +Subject: dump: Rework get_start_block +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 0c2994ac9009577b967529ce18e269da5b280351 +References: jsc#PED-1716 + +get_start_block() returns the start address of the first memory block +or -1. + +With the GuestPhysBlock iterator conversion we don't need to set the +start address and can therefore remove that code and the "start" +DumpState struct member. The only functionality left is the validation +of the start block so it only makes sense to re-name the function to +validate_start_block() + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Message-Id: <20220811121111.9878-5-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 20 ++++++-------------- + include/sysemu/dump.h | 2 -- + 2 files changed, 6 insertions(+), 16 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index 340de5a1e7a463573a14a0565682..e204912a89560c3e7724b9359a1e 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -1500,30 +1500,22 @@ static void create_kdump_vmcore(DumpState *s, Error **errp) + } + } + +-static ram_addr_t get_start_block(DumpState *s) ++static int validate_start_block(DumpState *s) + { + GuestPhysBlock *block; + + if (!s->has_filter) { +- s->next_block = QTAILQ_FIRST(&s->guest_phys_blocks.head); + return 0; + } + + QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { ++ /* This block is out of the range */ + if (block->target_start >= s->begin + s->length || + block->target_end <= s->begin) { +- /* This block is out of the range */ + continue; + } +- +- s->next_block = block; +- if (s->begin > block->target_start) { +- s->start = s->begin - block->target_start; +- } else { +- s->start = 0; +- } +- return s->start; +- } ++ return 0; ++ } + + return -1; + } +@@ -1670,8 +1662,8 @@ static void dump_init(DumpState *s, int fd, bool has_format, + goto cleanup; + } + +- s->start = get_start_block(s); +- if (s->start == -1) { ++ /* Is the filter filtering everything? */ ++ if (validate_start_block(s) == -1) { + error_setg(errp, QERR_INVALID_PARAMETER, "begin"); + goto cleanup; + } +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index ffc2ea1072f3d6dca792925a7fdc..7fce1d4af67c357bd4d80b936290 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -166,8 +166,6 @@ typedef struct DumpState { + hwaddr memory_offset; + int fd; + +- GuestPhysBlock *next_block; +- ram_addr_t start; + bool has_filter; + int64_t begin; + int64_t length; diff --git a/packages/q/qemu/dump-Split-elf-header-functions-into-pre.patch b/packages/q/qemu/dump-Split-elf-header-functions-into-pre.patch new file mode 100644 index 0000000..5897761 --- /dev/null +++ b/packages/q/qemu/dump-Split-elf-header-functions-into-pre.patch @@ -0,0 +1,163 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Thu, 11 Aug 2022 12:11:00 +0000 +Subject: dump: Split elf header functions into prepare and write +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 670e76998a61ca171200fcded3865b294a2d1243 +References: jsc#PED-1716 + +Let's split the write from the modification of the elf header so we +can consolidate the write of the data in one function. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20220811121111.9878-8-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 100 ++++++++++++++++++++++++++++------------------------ + 1 file changed, 53 insertions(+), 47 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index d82cc46d7d8fc5562057a26d8f7b..8a2a97a85eb151d06072fa38fec5 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -131,7 +131,7 @@ static int fd_write_vmcore(const void *buf, size_t size, void *opaque) + return 0; + } + +-static void write_elf64_header(DumpState *s, Error **errp) ++static void prepare_elf64_header(DumpState *s, Elf64_Ehdr *elf_header) + { + /* + * phnum in the elf header is 16 bit, if we have more segments we +@@ -139,34 +139,27 @@ static void write_elf64_header(DumpState *s, Error **errp) + * special section. + */ + uint16_t phnum = MIN(s->phdr_num, PN_XNUM); +- Elf64_Ehdr elf_header; +- int ret; + +- memset(&elf_header, 0, sizeof(Elf64_Ehdr)); +- memcpy(&elf_header, ELFMAG, SELFMAG); +- elf_header.e_ident[EI_CLASS] = ELFCLASS64; +- elf_header.e_ident[EI_DATA] = s->dump_info.d_endian; +- elf_header.e_ident[EI_VERSION] = EV_CURRENT; +- elf_header.e_type = cpu_to_dump16(s, ET_CORE); +- elf_header.e_machine = cpu_to_dump16(s, s->dump_info.d_machine); +- elf_header.e_version = cpu_to_dump32(s, EV_CURRENT); +- elf_header.e_ehsize = cpu_to_dump16(s, sizeof(elf_header)); +- elf_header.e_phoff = cpu_to_dump64(s, s->phdr_offset); +- elf_header.e_phentsize = cpu_to_dump16(s, sizeof(Elf64_Phdr)); +- elf_header.e_phnum = cpu_to_dump16(s, phnum); ++ memset(elf_header, 0, sizeof(Elf64_Ehdr)); ++ memcpy(elf_header, ELFMAG, SELFMAG); ++ elf_header->e_ident[EI_CLASS] = ELFCLASS64; ++ elf_header->e_ident[EI_DATA] = s->dump_info.d_endian; ++ elf_header->e_ident[EI_VERSION] = EV_CURRENT; ++ elf_header->e_type = cpu_to_dump16(s, ET_CORE); ++ elf_header->e_machine = cpu_to_dump16(s, s->dump_info.d_machine); ++ elf_header->e_version = cpu_to_dump32(s, EV_CURRENT); ++ elf_header->e_ehsize = cpu_to_dump16(s, sizeof(elf_header)); ++ elf_header->e_phoff = cpu_to_dump64(s, s->phdr_offset); ++ elf_header->e_phentsize = cpu_to_dump16(s, sizeof(Elf64_Phdr)); ++ elf_header->e_phnum = cpu_to_dump16(s, phnum); + if (s->shdr_num) { +- elf_header.e_shoff = cpu_to_dump64(s, s->shdr_offset); +- elf_header.e_shentsize = cpu_to_dump16(s, sizeof(Elf64_Shdr)); +- elf_header.e_shnum = cpu_to_dump16(s, s->shdr_num); +- } +- +- ret = fd_write_vmcore(&elf_header, sizeof(elf_header), s); +- if (ret < 0) { +- error_setg_errno(errp, -ret, "dump: failed to write elf header"); ++ elf_header->e_shoff = cpu_to_dump64(s, s->shdr_offset); ++ elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf64_Shdr)); ++ elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); + } + } + +-static void write_elf32_header(DumpState *s, Error **errp) ++static void prepare_elf32_header(DumpState *s, Elf32_Ehdr *elf_header) + { + /* + * phnum in the elf header is 16 bit, if we have more segments we +@@ -174,28 +167,45 @@ static void write_elf32_header(DumpState *s, Error **errp) + * special section. + */ + uint16_t phnum = MIN(s->phdr_num, PN_XNUM); +- Elf32_Ehdr elf_header; +- int ret; + +- memset(&elf_header, 0, sizeof(Elf32_Ehdr)); +- memcpy(&elf_header, ELFMAG, SELFMAG); +- elf_header.e_ident[EI_CLASS] = ELFCLASS32; +- elf_header.e_ident[EI_DATA] = s->dump_info.d_endian; +- elf_header.e_ident[EI_VERSION] = EV_CURRENT; +- elf_header.e_type = cpu_to_dump16(s, ET_CORE); +- elf_header.e_machine = cpu_to_dump16(s, s->dump_info.d_machine); +- elf_header.e_version = cpu_to_dump32(s, EV_CURRENT); +- elf_header.e_ehsize = cpu_to_dump16(s, sizeof(elf_header)); +- elf_header.e_phoff = cpu_to_dump32(s, s->phdr_offset); +- elf_header.e_phentsize = cpu_to_dump16(s, sizeof(Elf32_Phdr)); +- elf_header.e_phnum = cpu_to_dump16(s, phnum); ++ memset(elf_header, 0, sizeof(Elf32_Ehdr)); ++ memcpy(elf_header, ELFMAG, SELFMAG); ++ elf_header->e_ident[EI_CLASS] = ELFCLASS32; ++ elf_header->e_ident[EI_DATA] = s->dump_info.d_endian; ++ elf_header->e_ident[EI_VERSION] = EV_CURRENT; ++ elf_header->e_type = cpu_to_dump16(s, ET_CORE); ++ elf_header->e_machine = cpu_to_dump16(s, s->dump_info.d_machine); ++ elf_header->e_version = cpu_to_dump32(s, EV_CURRENT); ++ elf_header->e_ehsize = cpu_to_dump16(s, sizeof(elf_header)); ++ elf_header->e_phoff = cpu_to_dump32(s, s->phdr_offset); ++ elf_header->e_phentsize = cpu_to_dump16(s, sizeof(Elf32_Phdr)); ++ elf_header->e_phnum = cpu_to_dump16(s, phnum); + if (s->shdr_num) { +- elf_header.e_shoff = cpu_to_dump32(s, s->shdr_offset); +- elf_header.e_shentsize = cpu_to_dump16(s, sizeof(Elf32_Shdr)); +- elf_header.e_shnum = cpu_to_dump16(s, s->shdr_num); ++ elf_header->e_shoff = cpu_to_dump32(s, s->shdr_offset); ++ elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf32_Shdr)); ++ elf_header->e_shnum = cpu_to_dump16(s, s->shdr_num); + } ++} + +- ret = fd_write_vmcore(&elf_header, sizeof(elf_header), s); ++static void write_elf_header(DumpState *s, Error **errp) ++{ ++ Elf32_Ehdr elf32_header; ++ Elf64_Ehdr elf64_header; ++ size_t header_size; ++ void *header_ptr; ++ int ret; ++ ++ if (dump_is_64bit(s)) { ++ prepare_elf64_header(s, &elf64_header); ++ header_size = sizeof(elf64_header); ++ header_ptr = &elf64_header; ++ } else { ++ prepare_elf32_header(s, &elf32_header); ++ header_size = sizeof(elf32_header); ++ header_ptr = &elf32_header; ++ } ++ ++ ret = fd_write_vmcore(header_ptr, header_size, s); + if (ret < 0) { + error_setg_errno(errp, -ret, "dump: failed to write elf header"); + } +@@ -564,11 +574,7 @@ static void dump_begin(DumpState *s, Error **errp) + */ + + /* write elf header to vmcore */ +- if (dump_is_64bit(s)) { +- write_elf64_header(s, errp); +- } else { +- write_elf32_header(s, errp); +- } ++ write_elf_header(s, errp); + if (*errp) { + return; + } diff --git a/packages/q/qemu/dump-Use-a-buffer-for-ELF-section-data-a.patch b/packages/q/qemu/dump-Use-a-buffer-for-ELF-section-data-a.patch new file mode 100644 index 0000000..ebed138 --- /dev/null +++ b/packages/q/qemu/dump-Use-a-buffer-for-ELF-section-data-a.patch @@ -0,0 +1,140 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:13 +0000 +Subject: dump: Use a buffer for ELF section data and headers +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: e41ed29bcee5cb16715317bcf290f6b5c196eb0a +References: jsc#PED-1716 + +Currently we're writing the NULL section header if we overflow the +physical header number in the ELF header. But in the future we'll add +custom section headers AND section data. + +To facilitate this we need to rearange section handling a bit. As with +the other ELF headers we split the code into a prepare and a write +step. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017083822.43118-2-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 75 +++++++++++++++++++++++++++++-------------- + include/sysemu/dump.h | 2 ++ + 2 files changed, 53 insertions(+), 24 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index a905316fe52ba59bfb66c94348f6..9d25a33ccd521c7c97d2fb97a9c6 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -380,31 +380,60 @@ static void write_elf_phdr_note(DumpState *s, Error **errp) + } + } + +-static void write_elf_section(DumpState *s, int type, Error **errp) ++static void prepare_elf_section_hdr_zero(DumpState *s) + { +- Elf32_Shdr shdr32; +- Elf64_Shdr shdr64; +- int shdr_size; +- void *shdr; +- int ret; ++ if (dump_is_64bit(s)) { ++ Elf64_Shdr *shdr64 = s->elf_section_hdrs; + +- if (type == 0) { +- shdr_size = sizeof(Elf32_Shdr); +- memset(&shdr32, 0, shdr_size); +- shdr32.sh_info = cpu_to_dump32(s, s->phdr_num); +- shdr = &shdr32; ++ shdr64->sh_info = cpu_to_dump32(s, s->phdr_num); + } else { +- shdr_size = sizeof(Elf64_Shdr); +- memset(&shdr64, 0, shdr_size); +- shdr64.sh_info = cpu_to_dump32(s, s->phdr_num); +- shdr = &shdr64; ++ Elf32_Shdr *shdr32 = s->elf_section_hdrs; ++ ++ shdr32->sh_info = cpu_to_dump32(s, s->phdr_num); ++ } ++} ++ ++static void prepare_elf_section_hdrs(DumpState *s) ++{ ++ size_t len, sizeof_shdr; ++ ++ /* ++ * Section ordering: ++ * - HDR zero ++ */ ++ sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); ++ len = sizeof_shdr * s->shdr_num; ++ s->elf_section_hdrs = g_malloc0(len); ++ ++ /* ++ * The first section header is ALWAYS a special initial section ++ * header. ++ * ++ * The header should be 0 with one exception being that if ++ * phdr_num is PN_XNUM then the sh_info field contains the real ++ * number of segment entries. ++ * ++ * As we zero allocate the buffer we will only need to modify ++ * sh_info for the PN_XNUM case. ++ */ ++ if (s->phdr_num >= PN_XNUM) { ++ prepare_elf_section_hdr_zero(s); + } ++} + +- ret = fd_write_vmcore(shdr, shdr_size, s); ++static void write_elf_section_headers(DumpState *s, Error **errp) ++{ ++ size_t sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); ++ int ret; ++ ++ prepare_elf_section_hdrs(s); ++ ++ ret = fd_write_vmcore(s->elf_section_hdrs, s->shdr_num * sizeof_shdr, s); + if (ret < 0) { +- error_setg_errno(errp, -ret, +- "dump: failed to write section header table"); ++ error_setg_errno(errp, -ret, "dump: failed to write section headers"); + } ++ ++ g_free(s->elf_section_hdrs); + } + + static void write_data(DumpState *s, void *buf, int length, Error **errp) +@@ -591,12 +620,10 @@ static void dump_begin(DumpState *s, Error **errp) + return; + } + +- /* write section to vmcore */ +- if (s->shdr_num) { +- write_elf_section(s, 1, errp); +- if (*errp) { +- return; +- } ++ /* write section headers to vmcore */ ++ write_elf_section_headers(s, errp); ++ if (*errp) { ++ return; + } + + /* write notes to vmcore */ +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index b62513d87d669fb7e7650edf574e..9995f65dc8b18420292beb48ee82 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -177,6 +177,8 @@ typedef struct DumpState { + int64_t filter_area_begin; /* Start address of partial guest memory area */ + int64_t filter_area_length; /* Length of partial guest memory area */ + ++ void *elf_section_hdrs; /* Pointer to section header buffer */ ++ + uint8_t *note_buf; /* buffer for notes */ + size_t note_buf_offset; /* the writing place in note_buf */ + uint32_t nr_cpus; /* number of guest's cpu */ diff --git a/packages/q/qemu/dump-Write-ELF-section-headers-right-aft.patch b/packages/q/qemu/dump-Write-ELF-section-headers-right-aft.patch new file mode 100644 index 0000000..2670527 --- /dev/null +++ b/packages/q/qemu/dump-Write-ELF-section-headers-right-aft.patch @@ -0,0 +1,94 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:14 +0000 +Subject: dump: Write ELF section headers right after ELF header +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: cb415fd61e48d52f81dcf38956e3f913651cff1c +References: jsc#PED-1716 + +Let's start bundling the writes of the headers and of the data so we +have a clear ordering between them. Since the ELF header uses offsets +to the headers we can freely order them. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017083822.43118-3-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 31 ++++++++++++++----------------- + 1 file changed, 14 insertions(+), 17 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index 9d25a33ccd521c7c97d2fb97a9c6..4a38daf35cf3c4d5dd7c2216677d 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -583,6 +583,8 @@ static void dump_begin(DumpState *s, Error **errp) + * -------------- + * | elf header | + * -------------- ++ * | sctn_hdr | ++ * -------------- + * | PT_NOTE | + * -------------- + * | PT_LOAD | +@@ -591,8 +593,6 @@ static void dump_begin(DumpState *s, Error **errp) + * -------------- + * | PT_LOAD | + * -------------- +- * | sec_hdr | +- * -------------- + * | elf note | + * -------------- + * | memory | +@@ -608,20 +608,20 @@ static void dump_begin(DumpState *s, Error **errp) + return; + } + +- /* write PT_NOTE to vmcore */ +- write_elf_phdr_note(s, errp); ++ /* write section headers to vmcore */ ++ write_elf_section_headers(s, errp); + if (*errp) { + return; + } + +- /* write all PT_LOADs to vmcore */ +- write_elf_phdr_loads(s, errp); ++ /* write PT_NOTE to vmcore */ ++ write_elf_phdr_note(s, errp); + if (*errp) { + return; + } + +- /* write section headers to vmcore */ +- write_elf_section_headers(s, errp); ++ /* write all PT_LOADs to vmcore */ ++ write_elf_phdr_loads(s, errp); + if (*errp) { + return; + } +@@ -1840,16 +1840,13 @@ static void dump_init(DumpState *s, int fd, bool has_format, + } + + if (dump_is_64bit(s)) { +- s->phdr_offset = sizeof(Elf64_Ehdr); +- s->shdr_offset = s->phdr_offset + sizeof(Elf64_Phdr) * s->phdr_num; +- s->note_offset = s->shdr_offset + sizeof(Elf64_Shdr) * s->shdr_num; +- s->memory_offset = s->note_offset + s->note_size; ++ s->shdr_offset = sizeof(Elf64_Ehdr); ++ s->phdr_offset = s->shdr_offset + sizeof(Elf64_Shdr) * s->shdr_num; ++ s->note_offset = s->phdr_offset + sizeof(Elf64_Phdr) * s->phdr_num; + } else { +- +- s->phdr_offset = sizeof(Elf32_Ehdr); +- s->shdr_offset = s->phdr_offset + sizeof(Elf32_Phdr) * s->phdr_num; +- s->note_offset = s->shdr_offset + sizeof(Elf32_Shdr) * s->shdr_num; +- s->memory_offset = s->note_offset + s->note_size; ++ s->shdr_offset = sizeof(Elf32_Ehdr); ++ s->phdr_offset = s->shdr_offset + sizeof(Elf32_Shdr) * s->shdr_num; ++ s->note_offset = s->phdr_offset + sizeof(Elf32_Phdr) * s->phdr_num; + } + + return; diff --git a/packages/q/qemu/include-elf.h-add-s390x-note-types.patch b/packages/q/qemu/include-elf.h-add-s390x-note-types.patch new file mode 100644 index 0000000..2a94024 --- /dev/null +++ b/packages/q/qemu/include-elf.h-add-s390x-note-types.patch @@ -0,0 +1,30 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:20 +0000 +Subject: include/elf.h: add s390x note types + +Git-commit: 5433669c7a1884cc0394c360148965edf7519884 +References: jsc#PED-1716 + +Adding two s390x note types + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Thomas Huth <thuth@redhat.com> +Message-Id: <20221017083822.43118-9-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + include/elf.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/elf.h b/include/elf.h +index 3a4bcb646a18224c34e537416784..94fdcfd8dc942d61eb71b41cc96a 100644 +--- a/include/elf.h ++++ b/include/elf.h +@@ -1649,6 +1649,8 @@ typedef struct elf64_shdr { + #define NT_TASKSTRUCT 4 + #define NT_AUXV 6 + #define NT_PRXFPREG 0x46e62b7f /* copied from gdb5.1/include/elf/common.h */ ++#define NT_S390_PV_CPU_DATA 0x30e /* s390 protvirt cpu dump data */ ++#define NT_S390_RI_CB 0x30d /* s390 runtime instrumentation */ + #define NT_S390_GS_CB 0x30b /* s390 guarded storage registers */ + #define NT_S390_VXRS_HIGH 0x30a /* s390 vector registers 16-31 */ + #define NT_S390_VXRS_LOW 0x309 /* s390 vector registers 0-15 (lower half) */ diff --git a/packages/q/qemu/qemu.changes b/packages/q/qemu/qemu.changes index 0f8480b..7057246 100644 --- a/packages/q/qemu/qemu.changes +++ b/packages/q/qemu/qemu.changes @@ -1,4 +1,28 @@ ------------------------------------------------------------------- +Mon Feb 13 10:28:53 UTC 2023 - Li Zhang <li.zhang@suse.com> + +- Fixes: jsc#PED-1716 Add S390 features from IBM requirements +* Patches added: + dump-Add-architecture-section-and-sectio.patch + dump-Refactor-dump_iterate-and-introduce.patch + dump-Reintroduce-memory_offset-and-secti.patch + dump-Rename-write_elf_loads-to-write_elf.patch + dump-Rename-write_elf-_phdr_note-to-prep.patch + dump-Reorder-struct-DumpState.patch + dump-Replace-opaque-DumpState-pointer-wi.patch + dump-Rework-dump_calculate_size-function.patch + dump-Rework-filter-area-variables.patch + dump-Rework-get_start_block.patch + dump-Split-elf-header-functions-into-pre.patch + dump-Use-a-buffer-for-ELF-section-data-a.patch + dump-Write-ELF-section-headers-right-aft.patch + include-elf.h-add-s390x-note-types.patch + s390x-Add-KVM-PV-dump-interface.patch + s390x-Add-protected-dump-cap.patch + s390x-Introduce-PV-query-interface.patch + s390x-pv-Add-dump-support.patch + +------------------------------------------------------------------- Fri Feb 10 12:12:28 UTC 2023 - Dario Faggioli <dfaggioli@suse.com> - Fixed: bsc#1205847 (CVE-2022-4172), bsc#1203788 (CVE-2022-3165), diff --git a/packages/q/qemu/qemu.spec b/packages/q/qemu/qemu.spec index 93e8090..1c820d1 100644 --- a/packages/q/qemu/qemu.spec +++ b/packages/q/qemu/qemu.spec @@ -224,6 +224,24 @@ Patch00057: hw-display-qxl-Pass-requested-buffer-siz.patch Patch00058: hw-display-qxl-Avoid-buffer-overrun-in-q.patch Patch00059: ui-vnc-clipboard-fix-integer-underflow-i.patch Patch00060: hw-acpi-erst.c-Fix-memory-handling-issue.patch +Patch00061: dump-Replace-opaque-DumpState-pointer-wi.patch +Patch00062: dump-Rename-write_elf_loads-to-write_elf.patch +Patch00063: dump-Refactor-dump_iterate-and-introduce.patch +Patch00064: dump-Rework-get_start_block.patch +Patch00065: dump-Rework-filter-area-variables.patch +Patch00066: dump-Rework-dump_calculate_size-function.patch +Patch00067: dump-Split-elf-header-functions-into-pre.patch +Patch00068: dump-Rename-write_elf-_phdr_note-to-prep.patch +Patch00069: dump-Use-a-buffer-for-ELF-section-data-a.patch +Patch00070: dump-Write-ELF-section-headers-right-aft.patch +Patch00071: dump-Reorder-struct-DumpState.patch +Patch00072: dump-Reintroduce-memory_offset-and-secti.patch +Patch00073: dump-Add-architecture-section-and-sectio.patch +Patch00074: s390x-Add-protected-dump-cap.patch +Patch00075: s390x-Introduce-PV-query-interface.patch +Patch00076: include-elf.h-add-s390x-note-types.patch +Patch00077: s390x-Add-KVM-PV-dump-interface.patch +Patch00078: s390x-pv-Add-dump-support.patch # Patches applied in roms/seabios/: Patch01000: openSUSE-switch-to-python3-as-needed.patch Patch01001: openSUSE-build-enable-cross-compilation-.patch diff --git a/packages/q/qemu/s390x-Add-KVM-PV-dump-interface.patch b/packages/q/qemu/s390x-Add-KVM-PV-dump-interface.patch new file mode 100644 index 0000000..44917a1 --- /dev/null +++ b/packages/q/qemu/s390x-Add-KVM-PV-dump-interface.patch @@ -0,0 +1,114 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:21 +0000 +Subject: s390x: Add KVM PV dump interface +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: 753ca06f4706cd6e57750a606afb08c5c5299643 +References: jsc#PED-1716 + +Let's add a few bits of code which hide the new KVM PV dump API from +us via new functions. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> +[ Marc-André: fix up for compilation issue ] +Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Message-Id: <20221017083822.43118-10-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + hw/s390x/pv.c | 51 +++++++++++++++++++++++++++++++++++++++++++ + include/hw/s390x/pv.h | 9 ++++++++ + 2 files changed, 60 insertions(+) + +diff --git a/hw/s390x/pv.c b/hw/s390x/pv.c +index 4c012f2eebd596ec86397350c9b7..728ba24547627994ac6059051f75 100644 +--- a/hw/s390x/pv.c ++++ b/hw/s390x/pv.c +@@ -175,6 +175,57 @@ bool kvm_s390_pv_info_basic_valid(void) + return info_valid; + } + ++static int s390_pv_dump_cmd(uint64_t subcmd, uint64_t uaddr, uint64_t gaddr, ++ uint64_t len) ++{ ++ struct kvm_s390_pv_dmp dmp = { ++ .subcmd = subcmd, ++ .buff_addr = uaddr, ++ .buff_len = len, ++ .gaddr = gaddr, ++ }; ++ int ret; ++ ++ ret = s390_pv_cmd(KVM_PV_DUMP, (void *)&dmp); ++ if (ret) { ++ error_report("KVM DUMP command %ld failed", subcmd); ++ } ++ return ret; ++} ++ ++int kvm_s390_dump_cpu(S390CPU *cpu, void *buff) ++{ ++ struct kvm_s390_pv_dmp dmp = { ++ .subcmd = KVM_PV_DUMP_CPU, ++ .buff_addr = (uint64_t)buff, ++ .gaddr = 0, ++ .buff_len = info_dump.dump_cpu_buffer_len, ++ }; ++ struct kvm_pv_cmd pv = { ++ .cmd = KVM_PV_DUMP, ++ .data = (uint64_t)&dmp, ++ }; ++ ++ return kvm_vcpu_ioctl(CPU(cpu), KVM_S390_PV_CPU_COMMAND, &pv); ++} ++ ++int kvm_s390_dump_init(void) ++{ ++ return s390_pv_dump_cmd(KVM_PV_DUMP_INIT, 0, 0, 0); ++} ++ ++int kvm_s390_dump_mem_state(uint64_t gaddr, size_t len, void *dest) ++{ ++ return s390_pv_dump_cmd(KVM_PV_DUMP_CONFIG_STOR_STATE, (uint64_t)dest, ++ gaddr, len); ++} ++ ++int kvm_s390_dump_completion_data(void *buff) ++{ ++ return s390_pv_dump_cmd(KVM_PV_DUMP_COMPLETE, (uint64_t)buff, 0, ++ info_dump.dump_config_finalize_len); ++} ++ + #define TYPE_S390_PV_GUEST "s390-pv-guest" + OBJECT_DECLARE_SIMPLE_TYPE(S390PVGuest, S390_PV_GUEST) + +diff --git a/include/hw/s390x/pv.h b/include/hw/s390x/pv.h +index e5ea0eca16c946e30ecfb0aa1c28..9360aa10914891b1a38a3fe079b9 100644 +--- a/include/hw/s390x/pv.h ++++ b/include/hw/s390x/pv.h +@@ -51,6 +51,10 @@ uint64_t kvm_s390_pv_dmp_get_size_cpu(void); + uint64_t kvm_s390_pv_dmp_get_size_mem_state(void); + uint64_t kvm_s390_pv_dmp_get_size_completion_data(void); + bool kvm_s390_pv_info_basic_valid(void); ++int kvm_s390_dump_init(void); ++int kvm_s390_dump_cpu(S390CPU *cpu, void *buff); ++int kvm_s390_dump_mem_state(uint64_t addr, size_t len, void *dest); ++int kvm_s390_dump_completion_data(void *buff); + #else /* CONFIG_KVM */ + static inline bool s390_is_pv(void) { return false; } + static inline int s390_pv_query_info(void) { return 0; } +@@ -66,6 +70,11 @@ static inline uint64_t kvm_s390_pv_dmp_get_size_cpu(void) { return 0; } + static inline uint64_t kvm_s390_pv_dmp_get_size_mem_state(void) { return 0; } + static inline uint64_t kvm_s390_pv_dmp_get_size_completion_data(void) { return 0; } + static inline bool kvm_s390_pv_info_basic_valid(void) { return false; } ++static inline int kvm_s390_dump_init(void) { return 0; } ++static inline int kvm_s390_dump_cpu(S390CPU *cpu, void *buff) { return 0; } ++static inline int kvm_s390_dump_mem_state(uint64_t addr, size_t len, ++ void *dest) { return 0; } ++static inline int kvm_s390_dump_completion_data(void *buff) { return 0; } + #endif /* CONFIG_KVM */ + + int s390_pv_kvm_init(ConfidentialGuestSupport *cgs, Error **errp); diff --git a/packages/q/qemu/s390x-Add-protected-dump-cap.patch b/packages/q/qemu/s390x-Add-protected-dump-cap.patch new file mode 100644 index 0000000..b474364 --- /dev/null +++ b/packages/q/qemu/s390x-Add-protected-dump-cap.patch @@ -0,0 +1,102 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:18 +0000 +Subject: s390x: Add protected dump cap +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Git-commit: ad3b2e693daac6ed92db7361236028851d37c77c +References: jsc#PED-1716 + +Add a protected dump capability for later feature checking. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> +Reviewed-by: Thomas Huth <thuth@redhat.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Message-Id: <20221017083822.43118-7-frankja@linux.ibm.com> +[ Marc-André - Add missing stubs when !kvm ] +Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + target/s390x/kvm/kvm.c | 7 +++++++ + target/s390x/kvm/kvm_s390x.h | 1 + + target/s390x/kvm/meson.build | 2 ++ + target/s390x/kvm/stubs.c | 12 ++++++++++++ + 4 files changed, 22 insertions(+) + +diff --git a/target/s390x/kvm/kvm.c b/target/s390x/kvm/kvm.c +index 6a8dbadf7ed0f8a15a8c22e64a43..2ca0d46453a5bc12a51a7514f589 100644 +--- a/target/s390x/kvm/kvm.c ++++ b/target/s390x/kvm/kvm.c +@@ -158,6 +158,7 @@ static int cap_hpage_1m; + static int cap_vcpu_resets; + static int cap_protected; + static int cap_zpci_op; ++static int cap_protected_dump; + + static bool mem_op_storage_key_support; + +@@ -364,6 +365,7 @@ int kvm_arch_init(MachineState *ms, KVMState *s) + cap_vcpu_resets = kvm_check_extension(s, KVM_CAP_S390_VCPU_RESETS); + cap_protected = kvm_check_extension(s, KVM_CAP_S390_PROTECTED); + cap_zpci_op = kvm_check_extension(s, KVM_CAP_S390_ZPCI_OP); ++ cap_protected_dump = kvm_check_extension(s, KVM_CAP_S390_PROTECTED_DUMP); + + kvm_vm_enable_cap(s, KVM_CAP_S390_USER_SIGP, 0); + kvm_vm_enable_cap(s, KVM_CAP_S390_VECTOR_REGISTERS, 0); +@@ -2045,6 +2047,11 @@ int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch, + return kvm_vm_ioctl(kvm_state, KVM_IOEVENTFD, &kick); + } + ++int kvm_s390_get_protected_dump(void) ++{ ++ return cap_protected_dump; ++} ++ + int kvm_s390_get_ri(void) + { + return cap_ri; +diff --git a/target/s390x/kvm/kvm_s390x.h b/target/s390x/kvm/kvm_s390x.h +index aaae8570de5830512932b470eeaf..f9785564d0ba7e49eb29f289d207 100644 +--- a/target/s390x/kvm/kvm_s390x.h ++++ b/target/s390x/kvm/kvm_s390x.h +@@ -26,6 +26,7 @@ int kvm_s390_set_cpu_state(S390CPU *cpu, uint8_t cpu_state); + void kvm_s390_vcpu_interrupt_pre_save(S390CPU *cpu); + int kvm_s390_vcpu_interrupt_post_load(S390CPU *cpu); + int kvm_s390_get_hpage_1m(void); ++int kvm_s390_get_protected_dump(void); + int kvm_s390_get_ri(void); + int kvm_s390_get_zpci_op(void); + int kvm_s390_get_clock(uint8_t *tod_high, uint64_t *tod_clock); +diff --git a/target/s390x/kvm/meson.build b/target/s390x/kvm/meson.build +index d1356356b1f62103e94507c8e6ff..aef52b6686b36c235b4fa659142d 100644 +--- a/target/s390x/kvm/meson.build ++++ b/target/s390x/kvm/meson.build +@@ -1,6 +1,8 @@ + + s390x_ss.add(when: 'CONFIG_KVM', if_true: files( + 'kvm.c' ++), if_false: files( ++ 'stubs.c' + )) + + # Newer kernels on s390 check for an S390_PGSTE program header and +diff --git a/target/s390x/kvm/stubs.c b/target/s390x/kvm/stubs.c +new file mode 100644 +index 0000000000000000000000000000000000000000..5fd63b9a7e32fc4bd54cc24056afeda6f0a7b542 +--- /dev/null ++++ b/target/s390x/kvm/stubs.c +@@ -0,0 +1,12 @@ ++/* ++ * SPDX-License-Identifier: GPL-2.0-or-later ++ */ ++ ++#include "qemu/osdep.h" ++ ++#include "kvm_s390x.h" ++ ++int kvm_s390_get_protected_dump(void) ++{ ++ return false; ++} diff --git a/packages/q/qemu/s390x-Introduce-PV-query-interface.patch b/packages/q/qemu/s390x-Introduce-PV-query-interface.patch new file mode 100644 index 0000000..7b75371 --- /dev/null +++ b/packages/q/qemu/s390x-Introduce-PV-query-interface.patch @@ -0,0 +1,161 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:19 +0000 +Subject: s390x: Introduce PV query interface + +Git-commit: 03d83ecfae46bf5e0074cb5808043b30df34064b +References: jsc#PED-1716 + +Introduce an interface over which we can get information about UV data. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> +Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> +Acked-by: Thomas Huth <thuth@redhat.com> +Message-Id: <20221017083822.43118-8-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + hw/s390x/pv.c | 61 ++++++++++++++++++++++++++++++++++++++ + hw/s390x/s390-virtio-ccw.c | 6 ++++ + include/hw/s390x/pv.h | 10 +++++++ + 3 files changed, 77 insertions(+) + +diff --git a/hw/s390x/pv.c b/hw/s390x/pv.c +index 401b63d6cb659c412f4f34d2d05d..4c012f2eebd596ec86397350c9b7 100644 +--- a/hw/s390x/pv.c ++++ b/hw/s390x/pv.c +@@ -20,6 +20,11 @@ + #include "exec/confidential-guest-support.h" + #include "hw/s390x/ipl.h" + #include "hw/s390x/pv.h" ++#include "target/s390x/kvm/kvm_s390x.h" ++ ++static bool info_valid; ++static struct kvm_s390_pv_info_vm info_vm; ++static struct kvm_s390_pv_info_dump info_dump; + + static int __s390_pv_cmd(uint32_t cmd, const char *cmdname, void *data) + { +@@ -56,6 +61,42 @@ static int __s390_pv_cmd(uint32_t cmd, const char *cmdname, void *data) + } \ + } + ++int s390_pv_query_info(void) ++{ ++ struct kvm_s390_pv_info info = { ++ .header.id = KVM_PV_INFO_VM, ++ .header.len_max = sizeof(info.header) + sizeof(info.vm), ++ }; ++ int rc; ++ ++ /* Info API's first user is dump so they are bundled */ ++ if (!kvm_s390_get_protected_dump()) { ++ return 0; ++ } ++ ++ rc = s390_pv_cmd(KVM_PV_INFO, &info); ++ if (rc) { ++ error_report("KVM PV INFO cmd %x failed: %s", ++ info.header.id, strerror(-rc)); ++ return rc; ++ } ++ memcpy(&info_vm, &info.vm, sizeof(info.vm)); ++ ++ info.header.id = KVM_PV_INFO_DUMP; ++ info.header.len_max = sizeof(info.header) + sizeof(info.dump); ++ rc = s390_pv_cmd(KVM_PV_INFO, &info); ++ if (rc) { ++ error_report("KVM PV INFO cmd %x failed: %s", ++ info.header.id, strerror(-rc)); ++ return rc; ++ } ++ ++ memcpy(&info_dump, &info.dump, sizeof(info.dump)); ++ info_valid = true; ++ ++ return rc; ++} ++ + int s390_pv_vm_enable(void) + { + return s390_pv_cmd(KVM_PV_ENABLE, NULL); +@@ -114,6 +155,26 @@ void s390_pv_inject_reset_error(CPUState *cs) + env->regs[r1 + 1] = DIAG_308_RC_INVAL_FOR_PV; + } + ++uint64_t kvm_s390_pv_dmp_get_size_cpu(void) ++{ ++ return info_dump.dump_cpu_buffer_len; ++} ++ ++uint64_t kvm_s390_pv_dmp_get_size_completion_data(void) ++{ ++ return info_dump.dump_config_finalize_len; ++} ++ ++uint64_t kvm_s390_pv_dmp_get_size_mem_state(void) ++{ ++ return info_dump.dump_config_mem_buffer_per_1m; ++} ++ ++bool kvm_s390_pv_info_basic_valid(void) ++{ ++ return info_valid; ++} ++ + #define TYPE_S390_PV_GUEST "s390-pv-guest" + OBJECT_DECLARE_SIMPLE_TYPE(S390PVGuest, S390_PV_GUEST) + +diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c +index cc3097bfee8073bd2b08d58a50d9..7982f7973fce7c411efc3095e9be 100644 +--- a/hw/s390x/s390-virtio-ccw.c ++++ b/hw/s390x/s390-virtio-ccw.c +@@ -366,6 +366,12 @@ static int s390_machine_protect(S390CcwMachineState *ms) + + ms->pv = true; + ++ /* Will return 0 if API is not available since it's not vital */ ++ rc = s390_pv_query_info(); ++ if (rc) { ++ goto out_err; ++ } ++ + /* Set SE header and unpack */ + rc = s390_ipl_prepare_pv_header(); + if (rc) { +diff --git a/include/hw/s390x/pv.h b/include/hw/s390x/pv.h +index 1f1f545bfc20231604b119783ef6..e5ea0eca16c946e30ecfb0aa1c28 100644 +--- a/include/hw/s390x/pv.h ++++ b/include/hw/s390x/pv.h +@@ -38,6 +38,7 @@ static inline bool s390_is_pv(void) + return ccw->pv; + } + ++int s390_pv_query_info(void); + int s390_pv_vm_enable(void); + void s390_pv_vm_disable(void); + int s390_pv_set_sec_parms(uint64_t origin, uint64_t length); +@@ -46,8 +47,13 @@ void s390_pv_prep_reset(void); + int s390_pv_verify(void); + void s390_pv_unshare(void); + void s390_pv_inject_reset_error(CPUState *cs); ++uint64_t kvm_s390_pv_dmp_get_size_cpu(void); ++uint64_t kvm_s390_pv_dmp_get_size_mem_state(void); ++uint64_t kvm_s390_pv_dmp_get_size_completion_data(void); ++bool kvm_s390_pv_info_basic_valid(void); + #else /* CONFIG_KVM */ + static inline bool s390_is_pv(void) { return false; } ++static inline int s390_pv_query_info(void) { return 0; } + static inline int s390_pv_vm_enable(void) { return 0; } + static inline void s390_pv_vm_disable(void) {} + static inline int s390_pv_set_sec_parms(uint64_t origin, uint64_t length) { return 0; } +@@ -56,6 +62,10 @@ static inline void s390_pv_prep_reset(void) {} + static inline int s390_pv_verify(void) { return 0; } + static inline void s390_pv_unshare(void) {} + static inline void s390_pv_inject_reset_error(CPUState *cs) {}; ++static inline uint64_t kvm_s390_pv_dmp_get_size_cpu(void) { return 0; } ++static inline uint64_t kvm_s390_pv_dmp_get_size_mem_state(void) { return 0; } ++static inline uint64_t kvm_s390_pv_dmp_get_size_completion_data(void) { return 0; } ++static inline bool kvm_s390_pv_info_basic_valid(void) { return false; } + #endif /* CONFIG_KVM */ + + int s390_pv_kvm_init(ConfidentialGuestSupport *cgs, Error **errp); diff --git a/packages/q/qemu/s390x-pv-Add-dump-support.patch b/packages/q/qemu/s390x-pv-Add-dump-support.patch new file mode 100644 index 0000000..bce63e9 --- /dev/null +++ b/packages/q/qemu/s390x-pv-Add-dump-support.patch @@ -0,0 +1,432 @@ +From: Janosch Frank <frankja@linux.ibm.com> +Date: Mon, 17 Oct 2022 08:38:22 +0000 +Subject: s390x: pv: Add dump support + +Git-commit: 113d8f4e95cf0450bea421263de6ec016c779ad0 +References: jsc#PED-1716 + +Sometimes dumping a guest from the outside is the only way to get the +data that is needed. This can be the case if a dumping mechanism like +KDUMP hasn't been configured or data needs to be fetched at a specific +point. Dumping a protected guest from the outside without help from +fw/hw doesn't yield sufficient data to be useful. Hence we now +introduce PV dump support. + +The PV dump support works by integrating the firmware into the dump +process. New Ultravisor calls are used to initiate the dump process, +dump cpu data, dump memory state and lastly complete the dump process. +The UV calls are exposed by KVM via the new KVM_PV_DUMP command and +its subcommands. The guest's data is fully encrypted and can only be +decrypted by the entity that owns the customer communication key for +the dumped guest. Also dumping needs to be allowed via a flag in the +SE header. + +On the QEMU side of things we store the PV dump data in the newly +introduced architecture ELF sections (storage state and completion +data) and the cpu notes (for cpu dump data). + +Users can use the zgetdump tool to convert the encrypted QEMU dump to an +unencrypted one. + +Signed-off-by: Janosch Frank <frankja@linux.ibm.com> +Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> +Message-Id: <20221017083822.43118-11-frankja@linux.ibm.com> +Signed-off-by: Li Zhang <lizhang@suse.de> +--- + dump/dump.c | 12 +- + include/sysemu/dump.h | 5 + + target/s390x/arch_dump.c | 262 +++++++++++++++++++++++++++++++++++---- + 3 files changed, 246 insertions(+), 33 deletions(-) + +diff --git a/dump/dump.c b/dump/dump.c +index eb547e3e59e90681cddfc8c4080d..24eca74b79b903662aaccfdb57ba 100644 +--- a/dump/dump.c ++++ b/dump/dump.c +@@ -708,9 +708,9 @@ static void dump_begin(DumpState *s, Error **errp) + write_elf_notes(s, errp); + } + +-static int64_t dump_filtered_memblock_size(GuestPhysBlock *block, +- int64_t filter_area_start, +- int64_t filter_area_length) ++int64_t dump_filtered_memblock_size(GuestPhysBlock *block, ++ int64_t filter_area_start, ++ int64_t filter_area_length) + { + int64_t size, left, right; + +@@ -728,9 +728,9 @@ static int64_t dump_filtered_memblock_size(GuestPhysBlock *block, + return size; + } + +-static int64_t dump_filtered_memblock_start(GuestPhysBlock *block, +- int64_t filter_area_start, +- int64_t filter_area_length) ++int64_t dump_filtered_memblock_start(GuestPhysBlock *block, ++ int64_t filter_area_start, ++ int64_t filter_area_length) + { + if (filter_area_length) { + /* return -1 if the block is not within filter area */ +diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h +index 38ccac7190a253b6c0da3395ac16..4ffed0b65982ea393ad3dac7bbb5 100644 +--- a/include/sysemu/dump.h ++++ b/include/sysemu/dump.h +@@ -215,4 +215,9 @@ typedef struct DumpState { + uint16_t cpu_to_dump16(DumpState *s, uint16_t val); + uint32_t cpu_to_dump32(DumpState *s, uint32_t val); + uint64_t cpu_to_dump64(DumpState *s, uint64_t val); ++ ++int64_t dump_filtered_memblock_size(GuestPhysBlock *block, int64_t filter_area_start, ++ int64_t filter_area_length); ++int64_t dump_filtered_memblock_start(GuestPhysBlock *block, int64_t filter_area_start, ++ int64_t filter_area_length); + #endif +diff --git a/target/s390x/arch_dump.c b/target/s390x/arch_dump.c +index f60a14920d45e6b9c61bcd06147a..a2329141e8ad89c5de90426f7863 100644 +--- a/target/s390x/arch_dump.c ++++ b/target/s390x/arch_dump.c +@@ -12,11 +12,13 @@ + */ + + #include "qemu/osdep.h" ++#include "qemu/units.h" + #include "cpu.h" + #include "s390x-internal.h" + #include "elf.h" + #include "sysemu/dump.h" +- ++#include "hw/s390x/pv.h" ++#include "kvm/kvm_s390x.h" + + struct S390xUserRegsStruct { + uint64_t psw[2]; +@@ -76,9 +78,16 @@ typedef struct noteStruct { + uint64_t todcmp; + uint32_t todpreg; + uint64_t ctrs[16]; ++ uint8_t dynamic[1]; /* ++ * Would be a flexible array member, if ++ * that was legal inside a union. Real ++ * size comes from PV info interface. ++ */ + } contents; + } QEMU_PACKED Note; + ++static bool pv_dump_initialized; ++ + static void s390x_write_elf64_prstatus(Note *note, S390CPU *cpu, int id) + { + int i; +@@ -177,28 +186,39 @@ static void s390x_write_elf64_prefix(Note *note, S390CPU *cpu, int id) + note->contents.prefix = cpu_to_be32((uint32_t)(cpu->env.psa)); + } + ++static void s390x_write_elf64_pv(Note *note, S390CPU *cpu, int id) ++{ ++ note->hdr.n_type = cpu_to_be32(NT_S390_PV_CPU_DATA); ++ if (!pv_dump_initialized) { ++ return; ++ } ++ kvm_s390_dump_cpu(cpu, ¬e->contents.dynamic); ++} + + typedef struct NoteFuncDescStruct { + int contents_size; ++ uint64_t (*note_size_func)(void); /* NULL for non-dynamic sized contents */ + void (*note_contents_func)(Note *note, S390CPU *cpu, int id); ++ bool pvonly; + } NoteFuncDesc; + + static const NoteFuncDesc note_core[] = { +- {sizeof_field(Note, contents.prstatus), s390x_write_elf64_prstatus}, +- {sizeof_field(Note, contents.fpregset), s390x_write_elf64_fpregset}, +- { 0, NULL} ++ {sizeof_field(Note, contents.prstatus), NULL, s390x_write_elf64_prstatus, false}, ++ {sizeof_field(Note, contents.fpregset), NULL, s390x_write_elf64_fpregset, false}, ++ { 0, NULL, NULL, false} + }; + + static const NoteFuncDesc note_linux[] = { +- {sizeof_field(Note, contents.prefix), s390x_write_elf64_prefix}, +- {sizeof_field(Note, contents.ctrs), s390x_write_elf64_ctrs}, +- {sizeof_field(Note, contents.timer), s390x_write_elf64_timer}, +- {sizeof_field(Note, contents.todcmp), s390x_write_elf64_todcmp}, +- {sizeof_field(Note, contents.todpreg), s390x_write_elf64_todpreg}, +- {sizeof_field(Note, contents.vregslo), s390x_write_elf64_vregslo}, +- {sizeof_field(Note, contents.vregshi), s390x_write_elf64_vregshi}, +- {sizeof_field(Note, contents.gscb), s390x_write_elf64_gscb}, +- { 0, NULL} ++ {sizeof_field(Note, contents.prefix), NULL, s390x_write_elf64_prefix, false}, ++ {sizeof_field(Note, contents.ctrs), NULL, s390x_write_elf64_ctrs, false}, ++ {sizeof_field(Note, contents.timer), NULL, s390x_write_elf64_timer, false}, ++ {sizeof_field(Note, contents.todcmp), NULL, s390x_write_elf64_todcmp, false}, ++ {sizeof_field(Note, contents.todpreg), NULL, s390x_write_elf64_todpreg, false}, ++ {sizeof_field(Note, contents.vregslo), NULL, s390x_write_elf64_vregslo, false}, ++ {sizeof_field(Note, contents.vregshi), NULL, s390x_write_elf64_vregshi, false}, ++ {sizeof_field(Note, contents.gscb), NULL, s390x_write_elf64_gscb, false}, ++ {0, kvm_s390_pv_dmp_get_size_cpu, s390x_write_elf64_pv, true}, ++ { 0, NULL, NULL, false} + }; + + static int s390x_write_elf64_notes(const char *note_name, +@@ -207,22 +227,41 @@ static int s390x_write_elf64_notes(const char *note_name, + DumpState *s, + const NoteFuncDesc *funcs) + { +- Note note; ++ Note note, *notep; + const NoteFuncDesc *nf; +- int note_size; ++ int note_size, content_size; + int ret = -1; + + assert(strlen(note_name) < sizeof(note.name)); + + for (nf = funcs; nf->note_contents_func; nf++) { +- memset(¬e, 0, sizeof(note)); +- note.hdr.n_namesz = cpu_to_be32(strlen(note_name) + 1); +- note.hdr.n_descsz = cpu_to_be32(nf->contents_size); +- g_strlcpy(note.name, note_name, sizeof(note.name)); +- (*nf->note_contents_func)(¬e, cpu, id); ++ notep = ¬e; ++ if (nf->pvonly && !s390_is_pv()) { ++ continue; ++ } ++ ++ content_size = nf->note_size_func ? nf->note_size_func() : nf->contents_size; ++ note_size = sizeof(note) - sizeof(notep->contents) + content_size; ++ ++ /* Notes with dynamic sizes need to allocate a note */ ++ if (nf->note_size_func) { ++ notep = g_malloc(note_size); ++ } ++ ++ memset(notep, 0, sizeof(note)); + +- note_size = sizeof(note) - sizeof(note.contents) + nf->contents_size; +- ret = f(¬e, note_size, s); ++ /* Setup note header data */ ++ notep->hdr.n_descsz = cpu_to_be32(content_size); ++ notep->hdr.n_namesz = cpu_to_be32(strlen(note_name) + 1); ++ g_strlcpy(notep->name, note_name, sizeof(notep->name)); ++ ++ /* Get contents and write them out */ ++ (*nf->note_contents_func)(notep, cpu, id); ++ ret = f(notep, note_size, s); ++ ++ if (nf->note_size_func) { ++ g_free(notep); ++ } + + if (ret < 0) { + return -1; +@@ -247,13 +286,179 @@ int s390_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, + return s390x_write_elf64_notes("LINUX", f, cpu, cpuid, s, note_linux); + } + ++/* PV dump section size functions */ ++static uint64_t get_mem_state_size_from_len(uint64_t len) ++{ ++ return (len / (MiB)) * kvm_s390_pv_dmp_get_size_mem_state(); ++} ++ ++static uint64_t get_size_mem_state(DumpState *s) ++{ ++ return get_mem_state_size_from_len(s->total_size); ++} ++ ++static uint64_t get_size_completion_data(DumpState *s) ++{ ++ return kvm_s390_pv_dmp_get_size_completion_data(); ++} ++ ++/* PV dump section data functions*/ ++static int get_data_completion(DumpState *s, uint8_t *buff) ++{ ++ int rc; ++ ++ if (!pv_dump_initialized) { ++ return 0; ++ } ++ rc = kvm_s390_dump_completion_data(buff); ++ if (!rc) { ++ pv_dump_initialized = false; ++ } ++ return rc; ++} ++ ++static int get_mem_state(DumpState *s, uint8_t *buff) ++{ ++ int64_t memblock_size, memblock_start; ++ GuestPhysBlock *block; ++ uint64_t off; ++ int rc; ++ ++ QTAILQ_FOREACH(block, &s->guest_phys_blocks.head, next) { ++ memblock_start = dump_filtered_memblock_start(block, s->filter_area_begin, ++ s->filter_area_length); ++ if (memblock_start == -1) { ++ continue; ++ } ++ ++ memblock_size = dump_filtered_memblock_size(block, s->filter_area_begin, ++ s->filter_area_length); ++ ++ off = get_mem_state_size_from_len(block->target_start); ++ ++ rc = kvm_s390_dump_mem_state(block->target_start, ++ get_mem_state_size_from_len(memblock_size), ++ buff + off); ++ if (rc) { ++ return rc; ++ } ++ } ++ ++ return 0; ++} ++ ++static struct sections { ++ uint64_t (*sections_size_func)(DumpState *s); ++ int (*sections_contents_func)(DumpState *s, uint8_t *buff); ++ char sctn_str[12]; ++} sections[] = { ++ { get_size_mem_state, get_mem_state, "pv_mem_meta"}, ++ { get_size_completion_data, get_data_completion, "pv_compl"}, ++ {NULL , NULL, ""} ++}; ++ ++static uint64_t arch_sections_write_hdr(DumpState *s, uint8_t *buff) ++{ ++ Elf64_Shdr *shdr = (void *)buff; ++ struct sections *sctn = sections; ++ uint64_t off = s->section_offset; ++ ++ if (!pv_dump_initialized) { ++ return 0; ++ } ++ ++ for (; sctn->sections_size_func; off += shdr->sh_size, sctn++, shdr++) { ++ memset(shdr, 0, sizeof(*shdr)); ++ shdr->sh_type = SHT_PROGBITS; ++ shdr->sh_offset = off; ++ shdr->sh_size = sctn->sections_size_func(s); ++ shdr->sh_name = s->string_table_buf->len; ++ g_array_append_vals(s->string_table_buf, sctn->sctn_str, sizeof(sctn->sctn_str)); ++ } ++ ++ return (uintptr_t)shdr - (uintptr_t)buff; ++} ++ ++ ++/* Add arch specific number of sections and their respective sizes */ ++static void arch_sections_add(DumpState *s) ++{ ++ struct sections *sctn = sections; ++ ++ /* ++ * We only do a PV dump if we are running a PV guest, KVM supports ++ * the dump API and we got valid dump length information. ++ */ ++ if (!s390_is_pv() || !kvm_s390_get_protected_dump() || ++ !kvm_s390_pv_info_basic_valid()) { ++ return; ++ } ++ ++ /* ++ * Start the UV dump process by doing the initialize dump call via ++ * KVM as the proxy. ++ */ ++ if (!kvm_s390_dump_init()) { ++ pv_dump_initialized = true; ++ } else { ++ /* ++ * Dump init failed, maybe the guest owner disabled dumping. ++ * We'll continue the non-PV dump process since this is no ++ * reason to crash qemu. ++ */ ++ return; ++ } ++ ++ for (; sctn->sections_size_func; sctn++) { ++ s->shdr_num += 1; ++ s->elf_section_data_size += sctn->sections_size_func(s); ++ } ++} ++ ++/* ++ * After the PV dump has been initialized, the CPU data has been ++ * fetched and memory has been dumped, we need to grab the tweak data ++ * and the completion data. ++ */ ++static int arch_sections_write(DumpState *s, uint8_t *buff) ++{ ++ struct sections *sctn = sections; ++ int rc; ++ ++ if (!pv_dump_initialized) { ++ return -EINVAL; ++ } ++ ++ for (; sctn->sections_size_func; sctn++) { ++ rc = sctn->sections_contents_func(s, buff); ++ buff += sctn->sections_size_func(s); ++ if (rc) { ++ return rc; ++ } ++ } ++ return 0; ++} ++ + int cpu_get_dump_info(ArchDumpInfo *info, + const struct GuestPhysBlockList *guest_phys_blocks) + { + info->d_machine = EM_S390; + info->d_endian = ELFDATA2MSB; + info->d_class = ELFCLASS64; +- ++ /* ++ * This is evaluated for each dump so we can freely switch ++ * between PV and non-PV. ++ */ ++ if (s390_is_pv() && kvm_s390_get_protected_dump() && ++ kvm_s390_pv_info_basic_valid()) { ++ info->arch_sections_add_fn = *arch_sections_add; ++ info->arch_sections_write_hdr_fn = *arch_sections_write_hdr; ++ info->arch_sections_write_fn = *arch_sections_write; ++ } else { ++ info->arch_sections_add_fn = NULL; ++ info->arch_sections_write_hdr_fn = NULL; ++ info->arch_sections_write_fn = NULL; ++ } + return 0; + } + +@@ -261,7 +466,7 @@ ssize_t cpu_get_note_size(int class, int machine, int nr_cpus) + { + int name_size = 8; /* "LINUX" or "CORE" + pad */ + size_t elf_note_size = 0; +- int note_head_size; ++ int note_head_size, content_size; + const NoteFuncDesc *nf; + + assert(class == ELFCLASS64); +@@ -270,12 +475,15 @@ ssize_t cpu_get_note_size(int class, int machine, int nr_cpus) + note_head_size = sizeof(Elf64_Nhdr); + + for (nf = note_core; nf->note_contents_func; nf++) { +- elf_note_size = elf_note_size + note_head_size + name_size + +- nf->contents_size; ++ elf_note_size = elf_note_size + note_head_size + name_size + nf->contents_size; + } + for (nf = note_linux; nf->note_contents_func; nf++) { ++ if (nf->pvonly && !s390_is_pv()) { ++ continue; ++ } ++ content_size = nf->contents_size ? nf->contents_size : nf->note_size_func(); + elf_note_size = elf_note_size + note_head_size + name_size + +- nf->contents_size; ++ content_size; + } + + return (elf_note_size) * nr_cpus; diff --git a/packages/v/vulkan-tools/.files b/packages/v/vulkan-tools/.files index 4e2308b..2431b86 100644 Binary files a/packages/v/vulkan-tools/.files and b/packages/v/vulkan-tools/.files differ diff --git a/packages/v/vulkan-tools/.rev b/packages/v/vulkan-tools/.rev index fc6c817..9298739 100644 --- a/packages/v/vulkan-tools/.rev +++ b/packages/v/vulkan-tools/.rev @@ -319,4 +319,12 @@ <comment>- Update to release SDK-1.3.239.0</comment> <requestid>1061878</requestid> </revision> + <revision rev="41" vrev="2"> + <srcmd5>3e80af2b97508ea93fab9a08a6bc732f</srcmd5> + <version>1.3.239.0</version> + <time>1676401679</time> + <user>dimstar_suse</user> + <comment>fix missing Source reported by factory bot (forwarded request 1065498 from dziobian)</comment> + <requestid>1065507</requestid> + </revision> </revisionlist> diff --git a/packages/v/vulkan-tools/baselibs.conf b/packages/v/vulkan-tools/baselibs.conf new file mode 100644 index 0000000..38aec39 --- /dev/null +++ b/packages/v/vulkan-tools/baselibs.conf @@ -0,0 +1,5 @@ +vulkan-tools + +/usr/bin/vkcube -> /usr/bin/vkcube<extension> + +/usr/bin/vkcube-wayland -> /usr/bin/vkcube-wayland<extension> + +/usr/bin/vkcubepp -> /usr/bin/vkcubepp<extension> + +/usr/bin/vulkaninfo -> /usr/bin/vulkaninfo<extension> diff --git a/packages/v/vulkan-tools/vulkan-tools.changes b/packages/v/vulkan-tools/vulkan-tools.changes index 081f086..4372dea 100644 --- a/packages/v/vulkan-tools/vulkan-tools.changes +++ b/packages/v/vulkan-tools/vulkan-tools.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Feb 10 18:03:56 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com> + +- Add baselibs.conf. This is useful as 64- and 32-bit vulkan environments + need separate drivers and need to be diagnosed separately. + +------------------------------------------------------------------- Sun Jan 29 12:41:31 UTC 2023 - Jan Engelhardt <jengelh@inai.de> - Update to release SDK-1.3.239.0 diff --git a/packages/v/vulkan-tools/vulkan-tools.spec b/packages/v/vulkan-tools/vulkan-tools.spec index 985cbd0..e92ccdc 100644 --- a/packages/v/vulkan-tools/vulkan-tools.spec +++ b/packages/v/vulkan-tools/vulkan-tools.spec @@ -23,7 +23,8 @@ Summary: Diagnostic utilities for Vulkan License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/KhronosGroup/Vulkan-Tools -Source: https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/sdk-%version.tar.gz +Source0: https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/sdk-%version.tar.gz +Source1: baselibs.conf BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 BuildRequires: glslang-devel >= 8.13.3743 diff --git a/packages/y/yast2-dns-server b/packages/y/yast2-dns-server new file mode 160000 index 0000000..210211b --- /dev/null +++ b/packages/y/yast2-dns-server @@ -0,0 +1 @@ +Subproject commit 210211b351f478c55aa101a700c503fefe4d0047 diff --git a/packages/y/yast2/.files b/packages/y/yast2/.files index fff7af1..580e0a5 100644 Binary files a/packages/y/yast2/.files and b/packages/y/yast2/.files differ diff --git a/packages/y/yast2/.rev b/packages/y/yast2/.rev index 432945d..70b58ab 100644 --- a/packages/y/yast2/.rev +++ b/packages/y/yast2/.rev @@ -4195,4 +4195,12 @@ <comment>submit new version 4.5.22</comment> <requestid>1059366</requestid> </revision> + <revision rev="548" vrev="1"> + <srcmd5>5fe99603abd4c50b743ac642389379cc</srcmd5> + <version>4.5.24</version> + <time>1676401690</time> + <user>dimstar_suse</user> + <comment>submit new version 4.5.24</comment> + <requestid>1065758</requestid> + </revision> </revisionlist> diff --git a/packages/y/yast2/yast2-4.5.22.tar.bz2 b/packages/y/yast2/yast2-4.5.22.tar.bz2 deleted file mode 120000 index 268ff8a..0000000 --- a/packages/y/yast2/yast2-4.5.22.tar.bz2 +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeihgbatsqj5vgjfqucf2e6ka5yu25egfoelpxqhgq7tsmwdxmwun2i \ No newline at end of file diff --git a/packages/y/yast2/yast2-4.5.24.tar.bz2 b/packages/y/yast2/yast2-4.5.24.tar.bz2 new file mode 120000 index 0000000..4fcd9b8 --- /dev/null +++ b/packages/y/yast2/yast2-4.5.24.tar.bz2 @@ -0,0 +1 @@ +/ipfs/bafybeicbmhre247vrs763b6ru3pidsxhydscaprmnadey4ezfpct34tz2q \ No newline at end of file diff --git a/packages/y/yast2/yast2.changes b/packages/y/yast2/yast2.changes index bce6466..61ab994 100644 --- a/packages/y/yast2/yast2.changes +++ b/packages/y/yast2/yast2.changes @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Tue Feb 14 10:28:30 UTC 2023 - Martin Vidner <mvidner@suse.com> + +- Allow dir:///foo to equal dir:/foo (bsc#1207239) +- 4.5.24 + +------------------------------------------------------------------- +Wed Feb 8 21:46:04 UTC 2023 - Josef Reidinger <jreidinger@suse.com> + +- DnsServerApi: drop module. It should never be in yast2 as it + import module from yast2-dns-server. And now dns-server is going + to be dropped (bsc#1205363) +- 4.5.23 + +------------------------------------------------------------------- Wed Jan 18 12:52:10 UTC 2023 - Ludwig Nussel <lnussel@suse.com> - Replace transitional %usrmerged macro with regular version check (boo#1206798) diff --git a/packages/y/yast2/yast2.spec b/packages/y/yast2/yast2.spec index d3ce070..db3b373 100644 --- a/packages/y/yast2/yast2.spec +++ b/packages/y/yast2/yast2.spec @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.5.22 +Version: 4.5.24 Release: 0 Summary: YaST2 Main Package