Package ansible: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | Name: ansible Summary: SSH-based configuration management, deployment, and task execution system Version: 2.9.27 Release: alt3.p10.2 Group: System/Configuration/Other License: GPL-3.0 Source0: %name-%version.tar Source1: hacking.tar Source2: apt_repo.py Source3: apt_rpm.py Source4: six.py Patch0: %name-alt.patch Patch2: ansible_native_concat-use-to_text-rather-than-jinja2.patch Patch3: ansible-prohibit-pkg5-usage.patch Url: http://www.ansible.com Packager: Andrey Cherepanov <cas@altlinux.org> BuildArch: noarch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-six BuildRequires: python3-module-setuptools BuildRequires: asciidoc-a2x BuildRequires: python3-module-jinja2 BuildRequires: python3-module-yaml BuildRequires: python-modules-json BuildRequires: python3-module-packaging BuildRequires: python3-module-docutils BuildRequires: python3-module-straight-plugin Requires: ca-certificates >= 2015.10.29 %py3_requires yaml %py3_requires paramiko %py3_requires resolvelib # Skip findreq on all modules: %add_findreq_skiplist %python3_sitelibdir/%name/modules/* %add_findreq_skiplist %python3_sitelibdir/%name/plugins/* %add_findreq_skiplist %python3_sitelibdir/%name/module_utils/ansible_tower.py %add_python3_req_skip __main__ %py3_provides ansible.module_utils.six.moves %py3_provides ansible.module_utils.six.moves.http_cookiejar %py3_provides ansible.module_utils.six.moves.urllib.error %py3_provides ansible.module_utils.six.moves.urllib.parse %py3_provides ansible.module_utils.six.moves.urllib.request %filter_from_requires /^eepm-yum$/d %filter_from_requires /pip$/d %description Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. %prep %setup # Restore non-exported hacking subdirectory tar xf %SOURCE1 %patch0 -p1 %patch2 -p1 %patch3 -p1 cp -f %SOURCE2 lib/ansible/modules/packaging/os/apt_repo.py cp -f %SOURCE3 lib/ansible/modules/packaging/os/apt_rpm.py cp -f %SOURCE4 lib/ansible/module_utils/six/__init__.py %build %python3_build %install %python3_install mkdir -p %buildroot%_sysconfdir/%name/ cp examples/ansible.cfg %buildroot%_sysconfdir/%name/ touch %buildroot%_sysconfdir/%name/hosts mkdir -p %buildroot/%_man1dir make PYTHON=python3 docs cp -v docs/man/man1/*.1 %buildroot/%_man1dir/ # ansible-test is a tool for ansible development only rm -rf %buildroot%python3_sitelibdir/ansible_test rm -rf %buildroot%prefix/bin/ansible-test # Fix shebangs grep -Rl '^#!.*python$' %buildroot | xargs subst 's|^#!.*python$|#!%__python3|' %files %_bindir/%{name}* %config(noreplace) %_sysconfdir/%name %_man1dir/%{name}* %python3_sitelibdir/%{name}* %doc examples/playbooks examples/scripts examples/hosts %doc README.rst changelogs/CHANGELOG-v*.rst CODING_GUIDELINES.md MODULE_GUIDELINES.md %changelog * Thu Jan 25 2024 Alexey Sheplyakov <asheplyakov@altlinux.org> 2.9.27-alt3.p10.2 - Updated vendored six.py to 1.16.0 so it's possible to manage nodes running python 3.12 (closes: #49182) * Tue Dec 12 2023 Andrey Cherepanov <cas@altlinux.org> 2.9.27-alt3.p10.1 - Update apt_repo and apt_rpm from community.general 8.1.0 (ALT #48091). * Fri Mar 03 2023 Andrey Cherepanov <cas@altlinux.org> 2.9.27-alt3 - ansible-galaxy requires python3(resolvelib). * Sun Feb 19 2023 Andrey Cherepanov <cas@altlinux.org> 2.9.27-alt2 - Updated apt_repo and apt_rpm from upstream and PR #5867). * Fri Jan 14 2022 Andrey Cherepanov <cas@altlinux.org> 2.9.27-alt1 - New version. * Tue Dec 07 2021 Slava Aseev <ptrnine@altlinux.org> 2.9.26-alt3 - Prohibit pkg5 usage (closes: #41494) * Mon Sep 20 2021 Alexey Sheplyakov <asheplyakov@altlinux.org> 2.9.26-alt2 - Don't package ansible-test tool (it's for ansible development only) - Avoid false dependencies on perl-Package (closes: #40957) * Tue Sep 14 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.26-alt1 - New version. * Tue Aug 17 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.25-alt1 - New version. - Remove pip requirement (ALT #40735). * Tue Jul 20 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.24-alt1 - New version. * Fri Jun 25 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.23-alt3 - Remove hack for broken autoreq of /usr/bin/ssh-keygen. * Tue Jun 22 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.23-alt2 - Apply upstream patch: ansible_native_concat: use to_text rather than jinja2's text_type (thanks sbolshakov@). * Tue Jun 22 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.23-alt1 - New version. * Sun May 30 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.22-alt2 - Support installing a list of packages (ALT #40121). * Tue May 25 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.22-alt1 - New version. * Wed May 05 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.21-alt1 - New version. * Fri Apr 16 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.20-alt1 - New version. * Tue Mar 16 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.19-alt1 - New version. * Mon Feb 22 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.18-alt1 - New version. * Tue Jan 19 2021 Andrey Cherepanov <cas@altlinux.org> 2.9.17-alt1 - New version. * Wed Dec 16 2020 Andrey Cherepanov <cas@altlinux.org> 2.9.16-alt1 - New version. * Tue Nov 03 2020 Andrey Cherepanov <cas@altlinux.org> 2.9.15-alt1 - New version. * Fri Oct 09 2020 Andrey Cherepanov <cas@altlinux.org> 2.9.14-alt1 - New version. * Fri Oct 02 2020 Andrey Cherepanov <cas@altlinux.org> 2.9.13-alt1 - New version. - Fixes: + CVE-2020-14332 + CVE-2020-1736 + CVE-2020-14330 + CVE-2019-14846 + CVE-2020-14365 * Wed Jul 08 2020 Andrey Cherepanov <cas@altlinux.org> 2.9.10-alt1 - 2.9.10 - Fixes: + CVE-2020-10691 + CVE-2019-14858 + CVE-2019-10156 + CVE-2019-10206 - Change maintainer and group * Sun May 31 2020 Alexey Shabalin <shaba@altlinux.org> 2.8.12-alt1 - 2.8.12 - Fixes: + CVE-2020-1733 + CVE-2020-1735 + CVE-2020-1737 + CVE-2020-1739 + CVE-2020-1740 + CVE-2020-1746 * Thu Mar 12 2020 Alexey Shabalin <shaba@altlinux.org> 2.8.10-alt1 - 2.8.10 - Fixes: + CVE-2019-14846 + CVE-2019-14856 + CVE-2019-14864 + CVE-2019-14904 + CVE-2019-14905 * Thu Sep 12 2019 Grigory Ustinov <grenka@altlinux.org> 2.8.4-alt2 - Transfer ansible on python3. * Tue Sep 3 2019 Terechkov Evgenii <evg@altlinux.org> 2.8.4-alt1 - 2.8.4 (ALT#36899) * Fri Jun 14 2019 Terechkov Evgenii <evg@altlinux.org> 2.7.11-alt1 - 2.7.11 * Tue Apr 30 2019 Terechkov Evgenii <evg@altlinux.org> 2.7.10-alt1 - 2.7.10 - Add python-module-docutils in BR: to build on e2k (patch by mike@) * Thu Feb 21 2019 Terechkov Evgenii <evg@altlinux.org> 2.7.7-alt1 - 2.7.7 * Fri Jan 11 2019 Mikhail Gordeev <obirvalger@altlinux.org> 2.7.4-alt2 - Fix cheksum calculation to work with python3 * Wed Dec 12 2018 Terechkov Evgenii <evg@altlinux.org> 2.7.4-alt1 - 2.7.4 * Tue Oct 23 2018 Terechkov Evgenii <evg@altlinux.org> 2.7.0-alt1 - 2.7.0 (ALT#35540) * Mon Oct 22 2018 Terechkov Evgenii <evg@altlinux.org> 2.6.6-alt1 - 2.6.6 * Fri Oct 12 2018 Terechkov Evgenii <evg@altlinux.org> 2.6.5-alt1 - 2.6.5 * Wed Aug 29 2018 Terechkov Evgenii <evg@altlinux.org> 2.6.3-alt1 - 2.6.3 * Thu Aug 16 2018 Terechkov Evgenii <evg@altlinux.org> 2.6.2-alt1 - 2.6.2 (ALT#35245) * Wed May 2 2018 Terechkov Evgenii <evg@altlinux.org> 2.5.2-alt1 - 2.5.2 * Thu Apr 26 2018 Terechkov Evgenii <evg@altlinux.org> 2.5.1-alt1 - 2.5.1 (ALT#34791) * Thu Feb 1 2018 Terechkov Evgenii <evg@altlinux.org> 2.4.0.0-alt2 - Fix build (lost json module) * Sun Oct 8 2017 Terechkov Evgenii <evg@altlinux.org> 2.4.0.0-alt1 - 2.4.0.0-1 (ALT#33908) * Wed Mar 29 2017 Terechkov Evgenii <evg@altlinux.org> 2.2.2.0-alt1 - 2.2.2.0-1 (ALT#32709) * Tue May 31 2016 Terechkov Evgenii <evg@altlinux.org> 2.0.2.0-alt2 - Add requires to be out-of-box usable * Wed May 11 2016 Terechkov Evgenii <evg@altlinux.org> 2.0.2.0-alt1 - 2.0.2.0-1 * Mon Feb 15 2016 Terechkov Evgenii <evg@altlinux.org> 2.0.0.1-alt2 - ca-certificates-2015.10.29 and up contains /etc/pki/tls/certs/ca-bundle.crt (symlink to /usr/share/ca-certificates/ca-bundle.crt) * Sat Feb 13 2016 Terechkov Evgenii <evg@altlinux.org> 2.0.0.1-alt1 - 2.0.0.1 * Mon Nov 16 2015 Terechkov Evgenii <evg@altlinux.org> 1.9.4-alt2 - README.ALT added with distro-specific notes * Tue Oct 20 2015 Terechkov Evgenii <evg@altlinux.org> 1.9.4-alt1 - 1.9.4 * Sat Jun 27 2015 Terechkov Evgenii <evg@altlinux.org> 1.9.2-alt1 - 1.9.2 (ALT#30995) * Sat Feb 28 2015 Terechkov Evgenii <evg@altlinux.org> 1.8.4-alt1 - 1.8.4 * Fri Jan 2 2015 Terechkov Evgenii <evg@altlinux.org> 1.8.2-alt2 - Fix modules location (ALT#30619) - Drop default hosts file (see examples/hosts, ALT#30620) * Sun Dec 7 2014 Terechkov Evgenii <evg@altlinux.org> 1.8.2-alt1 - 1.8.2 * Sat Nov 29 2014 Terechkov Evgenii <evg@altlinux.org> 1.8.1-alt1 - 1.8.1 * Tue Oct 21 2014 Terechkov Evgenii <evg@altlinux.org> 1.7.2-alt1 - 1.7.2 * Thu Aug 21 2014 Terechkov Evgenii <evg@altlinux.org> 1.7.1-alt1 - 1.7.1 * Sat Aug 9 2014 Terechkov Evgenii <evg@altlinux.org> 1.7.0-alt2 - Oops, apt-rpm module renamed to apt_rpm (update your playbooks!) * Fri Aug 8 2014 Terechkov Evgenii <evg@altlinux.org> 1.7.0-alt1 - 1.7.0 * Sat Jul 26 2014 Terechkov Evgenii <evg@altlinux.org> 1.6.8-alt1 - 1.6.8 - CVE-2014-4966 and CVE-2014-4967 fixed in v1.6.7 * Sun Jun 1 2014 Terechkov Evgenii <evg@altlinux.org> 1.6.2-alt1 - 1.6.2 * Fri May 23 2014 Terechkov Evgenii <evg@altlinux.org> 1.6.1-alt2 - Relax suds module requirement * Wed May 21 2014 Terechkov Evgenii <evg@altlinux.org> 1.6.1-alt1 - 1.6.1 * Tue Apr 22 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.5-alt1 - 1.5.5 * Tue Apr 8 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.4-alt2 - Fix for apt-rpm module (changed run_command behavior) * Wed Apr 2 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.4-alt1 - 1.5.4 * Tue Apr 1 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.3-alt1 - 1.5.3 * Fri Mar 14 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.0-alt2 - Revert wrongly patched files to tag v1.5.0 * Wed Mar 5 2014 Terechkov Evgenii <evg@altlinux.org> 1.5.0-alt1 - 1.5.0 (ALT #29865) * Sun Jan 19 2014 Terechkov Evgenii <evg@altlinux.org> 1.4.4-alt2 - apt-rpm: Properly detect rpm packages installation/upgrade. * Sun Jan 12 2014 Terechkov Evgenii <evg@altlinux.org> 1.4.4-alt1 - 1.4.4 * Mon Dec 30 2013 Terechkov Evgenii <evg@altlinux.org> 1.4.3-alt3 - Fix in apt-rpm module (upgrade installed packages as documented) * Sun Dec 29 2013 Terechkov Evgenii <evg@altlinux.org> 1.4.3-alt2 - apt-rpm module added * Sun Dec 29 2013 Terechkov Evgenii <evg@altlinux.org> 1.4.3-alt1 - 1.4.3 * Sun Dec 1 2013 Terechkov Evgenii <evg@altlinux.org> 1.4.1-alt1 - 1.4.1 * Tue Nov 26 2013 Terechkov Evgenii <evg@altlinux.org> 1.4.0-alt1 - 1.4.0 * Mon Nov 11 2013 Terechkov Evgenii <evg@altlinux.org> 1.3.4-alt1 - 1.3.4 * Tue Oct 8 2013 Terechkov Evgenii <evg@altlinux.org> 1.3.3-alt1 - 1.3.3 * Sun Sep 29 2013 Terechkov Evgenii <evg@altlinux.org> 1.3.2-alt1 - 1.3.2 |