summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgit2
Commit message (Collapse)AuthorAgeFilesLines
* libgit2: upgrade 1.9.0 -> 1.9.1Gyorgy Sarvari9 hours2-36/+2
| | | | | | | | | | | | Dropped 0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch because it's included in this release. Changelog: see https://github.com/libgit2/libgit2/releases/tag/v1.9.1 (From OE-Core rev: 92bfe7333748bf52a436f03452fecacd95b6b0bf) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: update 1.8.4 -> 1.9.0Alexander Kanavin2025-01-102-2/+40
| | | | | | | | | | Make the cmake files reproducible and rather than hardcode-installed into /usr/lib. [RP: Tweak commit message] (From OE-Core rev: 5d16b99ad74fe4acadfb1752b975e6eebacf9d1c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: update 1.8.2 -> 1.8.4Alexander Kanavin2024-12-051-2/+2
| | | | | | | | (From OE-Core rev: b67904b25834b32228a72dc8b0baad591e51f975) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.8.1 -> 1.8.2Trevor Gamblin2024-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog (https://github.com/libgit2/libgit2/releases/tag/v1.8.2): - This release reverts a const-correctness change introduced in v1.8.0 for the git_commit_create functions. We now retain the const-behavior for the commits arguments from prior to v1.8.0. This change was meant to resolve compatibility issues with bindings and downstream users. What's Changed New features - Introduce a stricter debugging allocator for testing by ethomson in #6811 Bug fixes - Fix constness issue introduced in #6716 by ethomson in #6829 Build and CI improvements - README: add experimental builds to ci table by ethomson in #6816 (From OE-Core rev: 258e6c2f12e072e94c4e546baa4b7a0ebfb37427) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: update 1.7.2 -> 1.8.1Alexander Kanavin2024-05-301-3/+3
| | | | | | | | | | License-update: additional MIT-licensed components (From OE-Core rev: 2981033469d2a4e97fbe691f97c582771841c56e) 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>
* libgit2: update 1.7.1 -> 1.7.2Simone Weiß2024-02-181-1/+1
| | | | | | | | | | | | | | | | | | | Update libgit2 to pull in securtiy fixes. Changelog summary: - A bug in git_revparse_single is fixed that could cause a Denial of Service attack. This fixes CVE-2024-24575 - A bug in git_index_add is fixed that could lead to arbitrary code execution. This fixes CVE-2024-24577 - A bug in the smart transport negotiation could have caused an out-of-bounds read. (From OE-Core rev: 7191dcae3853728dbb95c4901c2fdb73f9066a66) Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.7.0 -> 1.7.1Wang Mingyu2023-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Bug fixes ----------- proxy: Return an error for invalid proxy URLs instead of crashing. ssh: fix known_hosts leak in _git_ssh_setup_conn repository: make cleanup safe for re-use with grafts fix: Add missing include for oidarray. Revert "CMake: Search for ssh2 instead of libssh2." Compatibility improvements -------------------------- stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value (From OE-Core rev: 2f919229df9248b91c4a3be2ea4d267163044978) 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>
* libgit2: upgrade to v1.7.0Sudip Mukherjee2023-08-101-2/+2
| | | | | | | | (From OE-Core rev: 02f34e608197a9a270704dd76e460df8ee0bf6f0) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.6.3 -> 1.6.4Wang Mingyu2023-04-201-1/+1
| | | | | | | | | | | | Bug fixes ========= config: return GIT_ENOTFOUND for missing programdata (From OE-Core rev: 9edb13d7a7d79423c93f01d9e112193dd7b1be21) 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>
* libgit2: clean up CMake variablesRoss Burton2023-03-311-2/+1
| | | | | | | | | | | | LIB_INSTALL_DIR was removed in libgit2 1.0 when they moved to using GNUInstallDirs. BUILD_CLAR is now BUILD_TESTS as of libgit2 1.4. (From OE-Core rev: 9d321a4abf2ee35647293f5ec7e4c354974b45c6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade to v1.6.3Sudip Mukherjee2023-03-251-4/+4
| | | | | | | | | | | | Upgrade libgit2 to v1.6.3. The new version now has git_fs_path_basename_r() which is based on BSD-2-Clause. (From OE-Core rev: 16e837f16774893246c028f3d4a588bdc5187094) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: update license informationSudip Mukherjee2023-03-141-1/+1
| | | | | | | | | | | | | | | The LICENSE did not have complete information. Some examples of missing license: Zlib: deps/zlib/ ISC: tests/clar/clar.c LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c CC0-1.0: src/util/rand.c (From OE-Core rev: 5560a0e15bd860a59671a66cc76ad1bb7e07c9d1) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.5.0 -> 1.5.1Alexander Kanavin2023-02-091-2/+2
| | | | | | | | (From OE-Core rev: f59486310cf33c586671a16cf52862c19c3c4c31) 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>
* libgit2: update 1.4.3 -> 1.5.0Alexander Kanavin2022-07-231-4/+4
| | | | | | | | | | | License-Update: added sha256 support under bsd-3-clause: https://github.com/libgit2/libgit2/commit/b900981cf7f6499b99cf83f77f73cf5fc436653b (From OE-Core rev: b07a0dde0401edc61d3955768109ac5a17161a91) 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>
* libgit2: upgrade 1.4.2 -> 1.4.3wangmy2022-04-191-1/+1
| | | | | | | | | | | | | | Changelog: ========= Validate repository directory ownership (v1.4) midx: Fix an undefined behavior (left-shift signed overflow) fetch: support OID refspec without dst Fix crash when regenerating a patch with unquoted spaces in filename (From OE-Core rev: bef09c61ee32df214fb8cf6000e0314ff3a38156) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.4.1 -> 1.4.2wangmy2022-03-021-1/+1
| | | | | | | | | | | | This is a bugfix release with the following changes: ==================================================== remote: do store the update_tips callback error value win32: find_system_dirs does not return GIT_ENOTFOUND (From OE-Core rev: c8f1727fd3f9583e25ac4dab0194b508758d7eaa) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: Upgrade to 1.4.1Khem Raj2022-02-201-2/+2
| | | | | | | | | | this is bugfix release https://github.com/libgit2/libgit2/releases/tag/v1.4.1 (From OE-Core rev: ee862994d27d1a82642309b84e5957e4a7d341e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | 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>
* libgit2: update 1.3.0 -> 1.4.0Alexander Kanavin2022-02-181-2/+2
| | | | | | | | | License-Update: regex replaced with pcre, overall licensing doesn't change (From OE-Core rev: 1887c33733578c36d064bf91068b51b241fe88c0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-031-1/+1
| | | | | | | | | | | | | | 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>
* libgit2: update 1.2.0 -> 1.3.0Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: d8735cacb0e573ac91c3aee3e3e573d804646c63) 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>
* libgit2: update 1.1.1 -> 1.2.0Alexander Kanavin2021-10-111-4/+4
| | | | | | | | | | License-Update: includes portions of openssl headers https://github.com/libgit2/libgit2/commit/0903cac1d08817e87c556f5a3e6ec881be86c7f2 (From OE-Core rev: 81a101332e7e59848165b06b734056a385e8cc3f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.1.0 -> 1.1.1Alexander Kanavin2021-07-161-1/+1
| | | | | | | | (From OE-Core rev: cb5734550778a37c0140f63d337fc72168836bb9) 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>
* libgit2: pull in updates from meta-oeRandy MacLeod2021-02-262-25/+22
| | | | | | | | | | | | | | | | d62613046 libgit2: update to 1.1.0 ce47a064d libgit2: upgrade 1.0.0 -> 1.0.1 7d137c5b2 libgit2: Enable pcre2 regexp backend 14894a4c4 libgit2: Update to v1.0.0 7b39ea059 libgit2: Upgrade to 0.28.4 da358cf1f libgit2: Don't pass parameters with their default values to cmake bcd89f7cd libgit2: Upgrade 0.27.9 -> 0.28.3 87c9da253 libgit2: Upgrade 0.27.8 -> 0.27.9 (From OE-Core rev: 41704717860c96ba91e19853e77df1f8100ed2ea) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add libgit2, libssh2 from meta-oe for rustRandy MacLeod2021-02-261-0/+25
(From OE-Core rev: a6e49314f64b65b3a165d33ae581b6761ded0e82) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>