Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-31 16:59:29 +00:00
parent 66ad735aa1
commit 26b312aec5
4 changed files with 78 additions and 19 deletions

View File

@ -1 +0,0 @@
9ddad97065dcdcaa475051ad576cd9f2e9a5a2cc SOURCES/oscap-anaconda-addon-1.2.1.tar.gz

View File

@ -1,6 +1,6 @@
diff -U3 -N -r a/po/de.po b/po/de.po diff -U3 -N -r a/po/de.po b/po/de.po
--- a/po/de.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/de.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/de.po 2023-02-08 14:33:27.481666055 +0100 +++ b/po/de.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,11 +1,12 @@ @@ -1,11 +1,12 @@
# Ludek Janda <ljanda@redhat.com>, 2019. #zanata, 2021. # Ludek Janda <ljanda@redhat.com>, 2019. #zanata, 2021.
+# Ettore Atalan <atalanttore@googlemail.com>, 2021, 2022. +# Ettore Atalan <atalanttore@googlemail.com>, 2021, 2022.
@ -49,7 +49,7 @@ diff -U3 -N -r a/po/de.po b/po/de.po
diff -U3 -N -r a/po/fi.po b/po/fi.po diff -U3 -N -r a/po/fi.po b/po/fi.po
--- a/po/fi.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/fi.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/fi.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/fi.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
@ -91,7 +91,7 @@ diff -U3 -N -r a/po/fi.po b/po/fi.po
#: ../org_fedora_oscap/rule_handling.py:554 #: ../org_fedora_oscap/rule_handling.py:554
diff -U3 -N -r a/po/fr.po b/po/fr.po diff -U3 -N -r a/po/fr.po b/po/fr.po
--- a/po/fr.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/fr.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/fr.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/fr.po 2023-07-19 13:30:03.838518879 +0200
@@ -8,45 +8,47 @@ @@ -8,45 +8,47 @@
# Ludek Janda <ljanda@redhat.com>, 2018. #zanata # Ludek Janda <ljanda@redhat.com>, 2018. #zanata
# Ludek Janda <ljanda@redhat.com>, 2019. #zanata # Ludek Janda <ljanda@redhat.com>, 2019. #zanata
@ -199,7 +199,7 @@ diff -U3 -N -r a/po/fr.po b/po/fr.po
#: ../org_fedora_oscap/gui/spokes/oscap.py:201 #: ../org_fedora_oscap/gui/spokes/oscap.py:201
diff -U3 -N -r a/po/hr.po b/po/hr.po diff -U3 -N -r a/po/hr.po b/po/hr.po
--- a/po/hr.po 1970-01-01 01:00:00.000000000 +0100 --- a/po/hr.po 1970-01-01 01:00:00.000000000 +0100
+++ b/po/hr.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/hr.po 2023-07-19 13:30:03.838518879 +0200
@@ -0,0 +1,329 @@ @@ -0,0 +1,329 @@
+# SOME DESCRIPTIVE TITLE. +# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
@ -532,12 +532,13 @@ diff -U3 -N -r a/po/hr.po b/po/hr.po
+msgstr "_Preuzmi" +msgstr "_Preuzmi"
diff -U3 -N -r a/po/hu.po b/po/hu.po diff -U3 -N -r a/po/hu.po b/po/hu.po
--- a/po/hu.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/hu.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/hu.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/hu.po 2023-07-19 13:30:03.838518879 +0200
@@ -7,21 +7,22 @@ @@ -7,21 +7,23 @@
# Teknős Ferenc <teknos.ferenc@gmail.com>, 2018. #zanata # Teknős Ferenc <teknos.ferenc@gmail.com>, 2018. #zanata
# Teknős Ferenc <teknos.ferenc@gmail.com>, 2019. #zanata # Teknős Ferenc <teknos.ferenc@gmail.com>, 2019. #zanata
# Teknős Ferenc <teknos.ferenc@gmail.com>, 2020. #zanata # Teknős Ferenc <teknos.ferenc@gmail.com>, 2020. #zanata
+# Hoppár Zoltán <hopparz@gmail.com>, 2022. +# Hoppár Zoltán <hopparz@gmail.com>, 2022.
+# Dankaházi (ifj.) István <dankahazi.istvan@gmail.com>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
@ -547,8 +548,8 @@ diff -U3 -N -r a/po/hu.po b/po/hu.po
-"Last-Translator: Teknős Ferenc <teknos.ferenc@gmail.com>\n" -"Last-Translator: Teknős Ferenc <teknos.ferenc@gmail.com>\n"
-"Language-Team: Hungarian (http://www.transifex.com/projects/p/oscap-anaconda-" -"Language-Team: Hungarian (http://www.transifex.com/projects/p/oscap-anaconda-"
-"addon/language/hu/)\n" -"addon/language/hu/)\n"
+"PO-Revision-Date: 2022-09-25 07:19+0000\n" +"PO-Revision-Date: 2023-05-12 16:20+0000\n"
+"Last-Translator: Hoppár Zoltán <hopparz@gmail.com>\n" +"Last-Translator: Dankaházi (ifj.) István <dankahazi.istvan@gmail.com>\n"
+"Language-Team: Hungarian <https://translate.fedoraproject.org/projects/" +"Language-Team: Hungarian <https://translate.fedoraproject.org/projects/"
+"oscap-anaconda-addon/rhel8-branch/hu/>\n" +"oscap-anaconda-addon/rhel8-branch/hu/>\n"
"Language: hu\n" "Language: hu\n"
@ -558,11 +559,11 @@ diff -U3 -N -r a/po/hu.po b/po/hu.po
-"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Zanata 4.6.2\n" -"X-Generator: Zanata 4.6.2\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.14.1\n" +"X-Generator: Weblate 4.15.2\n"
#: ../org_fedora_oscap/common.py:326 #: ../org_fedora_oscap/common.py:326
#, python-brace-format #, python-brace-format
@@ -129,7 +130,7 @@ @@ -129,7 +131,7 @@
"service '%s' has been added to the list of services to be added to the " "service '%s' has been added to the list of services to be added to the "
"firewall" "firewall"
msgstr "" msgstr ""
@ -571,7 +572,7 @@ diff -U3 -N -r a/po/hu.po b/po/hu.po
"listájához" "listájához"
#: ../org_fedora_oscap/rule_handling.py:1010 #: ../org_fedora_oscap/rule_handling.py:1010
@@ -137,7 +138,7 @@ @@ -137,7 +139,7 @@
#, python-format #, python-format
msgid "" msgid ""
"port '%s' has been added to the list of ports to be added to the firewall" "port '%s' has been added to the list of ports to be added to the firewall"
@ -580,7 +581,16 @@ diff -U3 -N -r a/po/hu.po b/po/hu.po
#: ../org_fedora_oscap/rule_handling.py:1017 #: ../org_fedora_oscap/rule_handling.py:1017
#: ../org_fedora_oscap/rule_handling.py:1068 #: ../org_fedora_oscap/rule_handling.py:1068
@@ -220,8 +221,7 @@ @@ -194,7 +196,7 @@
#. title of the spoke (will be displayed on the hub)
#: ../org_fedora_oscap/gui/spokes/oscap.py:201
msgid "_Security Policy"
-msgstr "_Biztonsági házirend"
+msgstr "_Biztonsági szabályzat"
#. the first status provided
#: ../org_fedora_oscap/gui/spokes/oscap.py:229
@@ -220,8 +222,7 @@
#: ../org_fedora_oscap/gui/spokes/oscap.py:790 #: ../org_fedora_oscap/gui/spokes/oscap.py:790
msgid "Invalid or unsupported content URL, please enter a different one." msgid "Invalid or unsupported content URL, please enter a different one."
@ -590,9 +600,18 @@ diff -U3 -N -r a/po/hu.po b/po/hu.po
#: ../org_fedora_oscap/gui/spokes/oscap.py:798 #: ../org_fedora_oscap/gui/spokes/oscap.py:798
msgid "Failed to fetch content. Enter a different URL, please." msgid "Failed to fetch content. Enter a different URL, please."
@@ -263,7 +264,7 @@
#. available
#: ../org_fedora_oscap/gui/spokes/oscap.py:887
msgid " or enter data stream content or archive URL below:"
-msgstr "vagy adjon meg adathalmazt, vagy archiv URL-t alább:"
+msgstr " vagy adjon meg adathalmazt, vagy archiv URL-t alább:"
#: ../org_fedora_oscap/gui/spokes/oscap.py:891 tmp/oscap.glade.h:12
msgid ""
diff -U3 -N -r a/po/ja.po b/po/ja.po diff -U3 -N -r a/po/ja.po b/po/ja.po
--- a/po/ja.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/ja.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/ja.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/ja.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
-# Ludek Janda <ljanda@redhat.com>, 2017. #zanata -# Ludek Janda <ljanda@redhat.com>, 2017. #zanata
-# Ludek Janda <ljanda@redhat.com>, 2018. #zanata -# Ludek Janda <ljanda@redhat.com>, 2018. #zanata
@ -818,7 +837,7 @@ diff -U3 -N -r a/po/ja.po b/po/ja.po
msgid "Error fetching and loading content" msgid "Error fetching and loading content"
diff -U3 -N -r a/po/ko.po b/po/ko.po diff -U3 -N -r a/po/ko.po b/po/ko.po
--- a/po/ko.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/ko.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/ko.po 2023-02-08 14:33:27.483666070 +0100 +++ b/po/ko.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,13 +1,14 @@ @@ -1,13 +1,14 @@
# Ludek Janda <ljanda@redhat.com>, 2018. #zanata # Ludek Janda <ljanda@redhat.com>, 2018. #zanata
# Ludek Janda <ljanda@redhat.com>, 2020. #zanata # Ludek Janda <ljanda@redhat.com>, 2020. #zanata
@ -867,7 +886,7 @@ diff -U3 -N -r a/po/ko.po b/po/ko.po
msgid "The integrity check of the security content failed." msgid "The integrity check of the security content failed."
diff -U3 -N -r a/po/si.po b/po/si.po diff -U3 -N -r a/po/si.po b/po/si.po
--- a/po/si.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/si.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/si.po 2023-02-08 14:33:27.484666077 +0100 +++ b/po/si.po 2023-07-19 13:30:03.838518879 +0200
@@ -7,13 +7,16 @@ @@ -7,13 +7,16 @@
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
@ -899,7 +918,7 @@ diff -U3 -N -r a/po/si.po b/po/si.po
msgid "Fetching content data" msgid "Fetching content data"
diff -U3 -N -r a/po/sv.po b/po/sv.po diff -U3 -N -r a/po/sv.po b/po/sv.po
--- a/po/sv.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/sv.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/sv.po 2023-02-08 14:33:27.484666077 +0100 +++ b/po/sv.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
-# Göran Uddeborg <goeran@uddeborg.se>, 2019. #zanata, 2020. -# Göran Uddeborg <goeran@uddeborg.se>, 2019. #zanata, 2020.
+# Göran Uddeborg <goeran@uddeborg.se>, 2019. #zanata, 2020, 2021. +# Göran Uddeborg <goeran@uddeborg.se>, 2019. #zanata, 2020, 2021.
@ -980,7 +999,7 @@ diff -U3 -N -r a/po/sv.po b/po/sv.po
msgid "Fetching content data" msgid "Fetching content data"
diff -U3 -N -r a/po/zh_CN.po b/po/zh_CN.po diff -U3 -N -r a/po/zh_CN.po b/po/zh_CN.po
--- a/po/zh_CN.po 2021-07-30 15:17:14.000000000 +0200 --- a/po/zh_CN.po 2021-07-30 15:17:14.000000000 +0200
+++ b/po/zh_CN.po 2023-02-08 14:33:27.484666077 +0100 +++ b/po/zh_CN.po 2023-07-19 13:30:03.838518879 +0200
@@ -1,41 +1,43 @@ @@ -1,41 +1,43 @@
-# Ludek Janda <ljanda@redhat.com>, 2018. #zanata -# Ludek Janda <ljanda@redhat.com>, 2018. #zanata
-# Ludek Janda <ljanda@redhat.com>, 2020. #zanata -# Ludek Janda <ljanda@redhat.com>, 2020. #zanata

View File

@ -0,0 +1,32 @@
From 6ac75d5052fff5a7d4b7e249ef198ccecd1f86a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= <matyc@redhat.com>
Date: Mon, 17 Jul 2023 17:08:54 +0200
Subject: [PATCH] Make tar extraction safer
See also https://bugzilla.redhat.com/show_bug.cgi?id=2218875
---
org_fedora_oscap/common.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org_fedora_oscap/common.py b/org_fedora_oscap/common.py
index 05829ce..b27276e 100644
--- a/org_fedora_oscap/common.py
+++ b/org_fedora_oscap/common.py
@@ -360,7 +360,7 @@ def extract_data(archive, out_dir, ensure_has_files=None):
raise ExtractionError(msg)
utils.ensure_dir_exists(out_dir)
- zfile.extractall(path=out_dir)
+ zfile.extractall(path=out_dir, filter="data")
result = [utils.join_paths(out_dir, info.filename) for info in zfile.filelist]
zfile.close()
elif archive.endswith(".tar"):
@@ -418,7 +418,7 @@ def _extract_tarball(archive, out_dir, ensure_has_files, alg):
raise ExtractionError(msg)
utils.ensure_dir_exists(out_dir)
- tfile.extractall(path=out_dir)
+ tfile.extractall(path=out_dir, filter="data")
result = [utils.join_paths(out_dir, member.path) for member in tfile.getmembers()]
tfile.close()

View File

@ -3,7 +3,7 @@
Name: oscap-anaconda-addon Name: oscap-anaconda-addon
Version: 1.2.1 Version: 1.2.1
Release: 12%{?dist} Release: 14%{?dist}
Summary: Anaconda addon integrating OpenSCAP to the installation process Summary: Anaconda addon integrating OpenSCAP to the installation process
License: GPLv2+ License: GPLv2+
@ -26,6 +26,7 @@ Patch5: oscap-anaconda-addon-1.3.0-better_archive_handling-PR_220.patch
Patch6: oscap-anaconda-addon-1.3.0-clicking_nocrash-PR_221.patch Patch6: oscap-anaconda-addon-1.3.0-clicking_nocrash-PR_221.patch
Patch7: oscap-anaconda-addon-1.3.0-fix_content_paths-PR_225.patch Patch7: oscap-anaconda-addon-1.3.0-fix_content_paths-PR_225.patch
Patch8: oscap-anaconda-addon-null-http_content_url-PR_232.patch Patch8: oscap-anaconda-addon-null-http_content_url-PR_232.patch
Patch9: oscap-anaconda-addon-1.2.2-tar-extraction-PR_249.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: make BuildRequires: make
@ -59,6 +60,7 @@ content.
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1 %patch8 -p1
%patch9 -p1
# NOTE CONCERNING TRANSLATION PATCHES # NOTE CONCERNING TRANSLATION PATCHES
# When preparing translation patches, don't consider that some languages are unsupported - # When preparing translation patches, don't consider that some languages are unsupported -
# we aim to include all applicable translation texts to the appropriate patch. # we aim to include all applicable translation texts to the appropriate patch.
@ -80,6 +82,13 @@ make install DESTDIR=%{buildroot}
%doc COPYING ChangeLog README.md %doc COPYING ChangeLog README.md
%changelog %changelog
* Wed Aug 02 2023 Jan Černý <jcerny@redhat.com> - 1.2.1-14
- Rebuild after tests update
* Wed Jul 19 2023 Jan Černý <jcerny@redhat.com> - 1.2.1-13
- Fix tar file extraction (rhbz#2219408)
- Update translations (rhbz#2189572)
* Wed Feb 08 2023 Matej Tyc <matyc@redhat.com> - 1.2.1-12 * Wed Feb 08 2023 Matej Tyc <matyc@redhat.com> - 1.2.1-12
- Update translations - Update translations
Resolves: rhbz#2139743 Resolves: rhbz#2139743