summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf
AgeCommit message (Collapse)Author
2024-04-16libdnf: upgrade 0.73.0 -> 0.73.1Wang Mingyu
Changelog: ========= -Fix https://issues.redhat.com/browse/RHEL-27657 -subject-py: Fix memory leak (From OE-Core rev: f16b16e1b6c60f0a1c9bc8d5492195fc66f33a19) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07libdnf: update 0.72.0 -> 0.73.0Alexander Kanavin
(From OE-Core rev: 3680faea03afce24a27106932a255a68dcf0a867) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-09libdnf: Fix arm arch mapping issues for qemuarmv5Richard Purdie
qemuarmv5 currently fails with: $ dnf --help Error: Incorrect or unknown "arch": armv5hl Fix this by removing the code in libdnf which is trying to be too clever, we don't need this mappings given the way OE configures rpm. (From OE-Core rev: 7d620c754c92da9dcc56a0a7ec9f3355c2ba733e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-05libdnf: upgrade 0.71.0 -> 0.72.0Wang Mingyu
(From OE-Core rev: 3346e3eee3ed1d830571d1a57943edc434d26f5a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-18libdnf: update 0.70.1 -> 0.71.0Alexander Kanavin
(From OE-Core rev: 45a698ec64b4f60bf99cc466f1f325f7aa49db3d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02libdnf: upgrade 0.70.0 -> 0.70.1Wang Mingyu
Changelog: ========== Add repoid to solver errors for RPMs (RhBug:2179413) Avoid using obsolete RPM API and drop redundant calls Remove DNF from list of protected packages (From OE-Core rev: 965f0b5f50c2c1453d6e7d4f32091635c0ec1e49) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11libdnf: update 0.69.0 -> 0.70.0Alexander Kanavin
Drop the patch as issue addressed upstream. (From OE-Core rev: b5a4c652448284253ab1444d05fdf6bfebfa4273) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17libdnf: upgrade 0.68.0 -> 0.69.0Richard Purdie
(From OE-Core rev: ae3b0b7a234339e04f32a44b7cc68176c40d1f16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25libdnf: upgrade 0.67.0 -> 0.68.0wangmy
Changelog: ========== New features: context: Support (NEVRA forms, provides, file provides) including globs in the dnf_context_remove func Bug fixes: dnf-context: Disconnect signal handler before dropping file monitor ref Filter out advisory pkgs with different arch during advisory upgrade, fixes possible problems in dependency resulution Gracefully handle failure to open repo primary file Fix listing a repository without cpeid (From OE-Core rev: 57893d38c2725c07b29d974e184be37b3d265d9b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05libdnf: update 0.66.0 -> 0.67.0Alexander Kanavin
(From OE-Core rev: a0490d98789efb6b82ba5a7b64f4cc028a53c24d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29libdnf: Add a dependency on util-linuxPeter Kjellerstedt
This avoids the following configuration error: -- Checking for module 'smartcols' -- No package 'smartcols' found CMake Error at .../usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message): A required package was not found which happens if glib-2.0 is configured without the libmount PACKAGECONFIG that otherwise depends on util-linux. (From OE-Core rev: e9bbbe72221e56a82892981a5ff254e559795ac6) Signed-off-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16libdnf: upgrade 0.65.0 -> 0.66.0wangmy
0001-Add-WITH_TESTS-option.patch 0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch removed since they're included in 0.66.0 0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch 0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch modified for new version Changelog: ========= Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014) Remove deprecated assertions (RhBug:2027383) Skip rich deps for autodetection of unmet dependencies (RhBug:2033130, 2048394) Increase required rpm version since we use rpmdbCookie() (From OE-Core rev: a5df953824474dfcb99ee3da305c11e2b178eeb5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21dnf: Use renamed SKIP_RECIPE varFlagSaul Wold
This is a more descriptive variable name updated in base.bbclass (From OE-Core rev: 258662ccf5ceb027ba0e507e2a581c4ee7e9cd04) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12libdnf: inherit setuptools3-base not distutilsTim Orling
[YOCTO #14610] (From OE-Core rev: d1ba5b815f16c183af143ce1586daa4b18d91c10) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29libdnf: submit patches upstreamAlexander Kanavin
(From OE-Core rev: 11a82aa6ad0c94fff018f03ba52e2c77fe3c45d8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03recipes: Update github.com urls to use httpsRichard Purdie
Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27libdnf: upgrade 0.64.0 -> 0.65.0wangmy
(From OE-Core rev: 46338fce3186e16ad7c7534485dda1b8667e8484) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14libdnf: update 0.63.1 -> 0.64.0Alexander Kanavin
Drop patch merged upstream. (From OE-Core rev: ea8562459425e54f5809ff00dba133ff7e30d2b5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11libdnf: fix the rpm sqlite-only target setupAlexander Kanavin
(From OE-Core rev: 8bbbcf9f8db1112a08c89ed8ee76c8c65f1ea179) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26libdnf: upgrade 0.63.0 -> 0.63.1Alexander Kanavin
(From OE-Core rev: 5d989a6255605c37af9813cf1463f32d6db1a46d) (From OE-Core rev: e2e1a35ce3d14baf83621fa5b0d4c8de1bcb2753) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03nativesdk-libdnf: fix installed and not shipped fileshongxu
Since commit [1] applied, PYTHON_INSTALL_DIR is not right on nativesdk build which caused [installed-vs-shipped] QA issue ... |Building for python3 |-- Python install dir is |tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-libdnf/0.63.0-r0/ recipe-sysroot-native/usr/lib/python3.9/site-packages ... Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not necessary to call FindPythonInstDir.cmake which will override Yocto setting [1] https://github.com/rpm-software-management/libdnf/commit/f1cffbfb9f338da827e233c2d8ac3a25a6a59a69 (From OE-Core rev: d6b62b5a9d6c64971b9f981a4732791658150e43) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25libdnf: update 0.62.0 -> 0.63.0Alexander Kanavin
(From OE-Core rev: 5d515290ba31c35d860d03e5313239610025f2da) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09libdnf: upgrade 0.58.0 -> 0.62.0Alexander Kanavin
(From OE-Core rev: 87f9e745998be322cf13952f8d914139185b9d8c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libdnf: replace a musl fix with a better oneAlexander Kanavin
(From OE-Core rev: 45a350bf9df8aeeaff1f9ded75307ee60f9897a1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10libdnf: update 0.55.2 -> 0.58.0Alexander Kanavin
Sdd a patch to fix musl builds. (From OE-Core rev: 559410af0496465f9fbe5e87849b42859328959e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30libdnf: update 0.55.0 -> 0.55.2Alexander Kanavin
(From OE-Core rev: 0370480359b66cd419dfcecbb6578bb2ed18afc5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17libdnf: upgrade 0.54.2 -> 0.55.0zangrc
(From OE-Core rev: 43fe8c3878c01933a32fba0ca3b59a595bfb1ad1) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08libdnf: Fix license as it contains 'or later' clauseRichard Purdie
The license headers are clear that the code is "or later", fix LICENSE to match. (From OE-Core rev: e565e0b908c71ad5106d1c6c73d269b819787e55) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03libdnf: upgrade 0.48.0 -> 0.54.2Alexander Kanavin
(From OE-Core rev: 9ba4e6300d6d461ca9878018191825ce140b07fe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25libdnf: allow reproducible binary buildsJoe Slater
Use a static TESTDATADIR if tests are disabled. Allow override of TESTDATADIR if tests are enabled since the default will be wrong for target builds. (From OE-Core rev: 43d24a3726dc1b639261429cc6537e947281143c) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28libdnf: update 0.47.0 -> 0.48.0Alexander Kanavin
(From OE-Core rev: 6f8020c5d50da705fbb077f647a5bb304f2cf710) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05libdnf: Use single-quotes around string literals used in SQL statementsPeter Kjellerstedt
If sqlite is built with -DSQLITE_DQS=0 in accordance with https://sqlite.org/quirks.html#dblquote, migration to version 1.2 of the history database would fail with: History database cannot be created: .../var/lib/dnf/history.sqlite. Error: SQLite error on ":memory:": Executing an SQL statement failed: no such column: 1.2 (From OE-Core rev: 61d34df201cf6498854fa9258c320437b97071a4) Signed-off-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02libdnf: upgrade 0.28.1 -> 0.47.0Alexander Kanavin
Add a patch that avoids hardcoded sphinx dependency. Switch off a couple of new features (zchunk, html docs for hawkey library via sphinx) that both require new dependencies. Move from modulemd 1.x to 2.x, drop upstreamed patches. (From OE-Core rev: ce54462de6642935859421f2116e25ca5b2faa8c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11libdnf: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 206580e72336229f8044eb941ecb09d3f0d60d3e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06libdnf: fix deprecation warningJoe Slater
Backport from libdnf. Fix is in version 0.35.2. (From OE-Core rev: bc9402d77a982ff71bd919837b4736f586aa04cf) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21dnf, libdnf: Ignore if PACKAGE_CLASSES does not have rpmKhem Raj
dnf depends on libsolv, and libsolv does not have and easy way to jusr enable rpmdb support, it either has full rpm or nothing, perhaps it could be improved in libsolv and we can use that but from now we have no other option dnf support only rpm backend and wont work with opkg or dpkg/apt anyway (From OE-Core rev: aa56c5dcdea152bee62bb480ccaae177f6c69b9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30libdnf: Include mising <stdexcept>Khem Raj
This header is needed for runtime_error element (From OE-Core rev: 856c26f50fe0d11a22aae9adf9bf12edc6ea9e5e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15libmodulemd-v1: introduce the recipeAlexander Kanavin
Upstream has split version 1 of the libmodulemd recipe into its own branch and removed version 1 from the master branch and 2.x releases; as libdnf requires v1 of libmodulemd, this commit introduces a v1-specific revipe. (From OE-Core rev: e0678765b1fb66df6ec37da1d32836bee2237af1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16libdnf: update to 0.28.1Alexander Kanavin
Remove upstreamed 0001-include-missing-string-and-errno.h-headers.patch Rebase the other patches. (From OE-Core rev: b0c76d9b451ba10b97e9ecee7bbfc7158cab4152) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-20libdnf: upgrade 0.24.1 -> 0.26.0Alexander Kanavin
(From OE-Core rev: 9e2e7e9a475d92cdf512f95389f1b5e89e75e998) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-02libdnf: Fix build with clang/libc++Khem Raj
(From OE-Core rev: 562d32ec1ff905aa5aa31fe8b2d86045c1eaaab6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03libdnf: upgrade 0.22.3 -> 0.24.1Alexander Kanavin
(From OE-Core rev: 3dd19e9826c9844192127e2c35c3790e08a8bb40) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-23libdnf: update to 0.22.3Alexander Kanavin
(From OE-Core rev: e5b650bdafbf6691ceed35fda251ac9ced1217c5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-22libdnf: update to 0.22.0Alexander Kanavin
(From OE-Core rev: 35c163f6ebdc41eb6b65fca05706854b1aac20b5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-02libdnf: update to 0.11.1Alexander Kanavin
(From OE-Core rev: 564ae957b81911bb69315f230a9757a303deec0a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-13libdnf: update to 0.9.3Alexander Kanavin
(From OE-Core rev: aea24b3c6934921852c7de1da15ff326da992d08) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-24rpm/dnf: fix Upstream-Status to reflect upstream submission statusAlexander Kanavin
(From OE-Core rev: 1ed4b8438087fe6d61203ffbe9737ac382e0d6eb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>