From 01ffa71dfa4a442c4a2b13fce588748f8f25ce85 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 6 Apr 2020 21:01:32 +0000 Subject: [PATCH 1/5] - create missing (empty) template and files directories for 'ansible-galaxy init' during package build (fixes boo#1137479) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=164 --- ansible.changes | 6 ++++++ ansible.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ansible.changes b/ansible.changes index 55a25ff..0bf3734 100644 --- a/ansible.changes +++ b/ansible.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 6 20:45:04 UTC 2020 - lars@linux-schulserver.de - 2.9.6 + +- create missing (empty) template and files directories for + 'ansible-galaxy init' during package build (fixes boo#1137479) + ------------------------------------------------------------------- Thu Mar 5 08:23:57 UTC 2020 - Michael Ströder diff --git a/ansible.spec b/ansible.spec index 280e795..62c0920 100644 --- a/ansible.spec +++ b/ansible.spec @@ -367,6 +367,9 @@ for location in $DATADIR_LOCATIONS ; do done mkdir -p %{buildroot}%{_sysconfdir}/ansible/ mkdir -p %{buildroot}%{_sysconfdir}/ansible/roles/ +# fix for https://github.com/ansible/ansible/pull/24381 +# resp. https://bugzilla.opensuse.org/show_bug.cgi?id=1137479 +mkdir -p %{buildroot}%{python3_sitelib}/ansible/galaxy/data/default/role/{files,templates} cp examples/hosts %{buildroot}%{_sysconfdir}/ansible/ cp examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/ From e608167ea9142f7bc64d3e29ada3a4d8ee7887fb Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 6 Apr 2020 21:06:46 +0000 Subject: [PATCH 2/5] - require python-xml (boo#1142542) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=165 --- ansible.changes | 1 + ansible.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/ansible.changes b/ansible.changes index 0bf3734..6bbe397 100644 --- a/ansible.changes +++ b/ansible.changes @@ -3,6 +3,7 @@ Mon Apr 6 20:45:04 UTC 2020 - lars@linux-schulserver.de - 2.9.6 - create missing (empty) template and files directories for 'ansible-galaxy init' during package build (fixes boo#1137479) +- require python-xml (boo#1142542) ------------------------------------------------------------------- Thu Mar 5 08:23:57 UTC 2020 - Michael Ströder diff --git a/ansible.spec b/ansible.spec index 62c0920..465c746 100644 --- a/ansible.spec +++ b/ansible.spec @@ -135,6 +135,7 @@ Requires: %{python}-paramiko Requires: %{python}-passlib Requires: %{python}-pycrypto >= 2.6 Requires: %{python}-setuptools > 0.6 +Requires: %{python}-xml Recommends: %{python}-boto3 Recommends: %{python}-botocore Recommends: %{python}-dnspython From 02994ab8499aa4c19dc983c210b11a414240fbfc Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 6 Apr 2020 21:09:38 +0000 Subject: [PATCH 3/5] OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=166 --- ansible.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible.spec b/ansible.spec index 465c746..19a77da 100644 --- a/ansible.spec +++ b/ansible.spec @@ -135,7 +135,9 @@ Requires: %{python}-paramiko Requires: %{python}-passlib Requires: %{python}-pycrypto >= 2.6 Requires: %{python}-setuptools > 0.6 +%if ! %{with python3} Requires: %{python}-xml +%endif Recommends: %{python}-boto3 Recommends: %{python}-botocore Recommends: %{python}-dnspython From 479c09b69c64de25832f80c270c6781ef0449470 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 6 Apr 2020 21:16:59 +0000 Subject: [PATCH 4/5] - require python-xml on python 2 systems (boo#1142542) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=167 --- ansible.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.changes b/ansible.changes index 6bbe397..5b41fc1 100644 --- a/ansible.changes +++ b/ansible.changes @@ -3,7 +3,7 @@ Mon Apr 6 20:45:04 UTC 2020 - lars@linux-schulserver.de - 2.9.6 - create missing (empty) template and files directories for 'ansible-galaxy init' during package build (fixes boo#1137479) -- require python-xml (boo#1142542) +- require python-xml on python 2 systems (boo#1142542) ------------------------------------------------------------------- Thu Mar 5 08:23:57 UTC 2020 - Michael Ströder From fb51e7cd29fbe77de86eb2e35b187fc4cb1ef28a Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sat, 11 Apr 2020 04:39:37 +0000 Subject: [PATCH 5/5] Accepting request 792534 from home:rfrohl:branches:systemsmanagement add missing bugs for CVEs; found in Leap submissions OBS-URL: https://build.opensuse.org/request/show/792534 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=168 --- ansible.changes | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible.changes b/ansible.changes index 5b41fc1..aefd87f 100644 --- a/ansible.changes +++ b/ansible.changes @@ -26,8 +26,8 @@ Thu Jan 16 17:34:28 UTC 2020 - Michael Ströder - update to version 2.9.3 (maintenance release) * security fixes - - CVE-2019-14904 (solaris_zone module) - - CVE-2019-14905 (nxos_file_copy module), + - CVE-2019-14904 (solaris_zone module) (boo#1157968) + - CVE-2019-14905 (nxos_file_copy module) (boo#1157969) * various bugfixes ------------------------------------------------------------------- @@ -88,7 +88,7 @@ Fri Nov 15 12:44:55 UTC 2019 - lars@linux-schulserver.de - 2.9.1 and also available online at https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst + CVE-2019-14864: fixed Splunk and Sumologic callback plugins leak - sensitive data in logs + sensitive data in logs (boo#1154830) - replace all #!/usr/bin/env lines to use #!/usr/bin/$1 directly -------------------------------------------------------------------