Commit Graph

20 Commits

Author SHA1 Message Date
Simone Weiß
591406e756 libgit2: update 1.7.1 -> 1.7.2
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>
2024-02-18 22:02:40 +00:00
Wang Mingyu
8c88b32f3c libgit2: upgrade 1.7.0 -> 1.7.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>
2023-09-02 18:23:05 +01:00
Sudip Mukherjee
afeb3baa8a libgit2: upgrade to v1.7.0
(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>
2023-08-10 09:18:53 +01:00
Wang Mingyu
6ba9422665 libgit2: upgrade 1.6.3 -> 1.6.4
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>
2023-04-20 11:56:06 +01:00
Ross Burton
65ee49e1e7 libgit2: clean up CMake variables
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>
2023-03-31 23:30:36 +01:00
Sudip Mukherjee
dd6157fc82 libgit2: upgrade to v1.6.3
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>
2023-03-25 09:39:28 +00:00
Sudip Mukherjee
cafed97671 libgit2: update license information
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>
2023-03-14 07:21:04 +00:00
Alexander Kanavin
5ecb64f893 libgit2: upgrade 1.5.0 -> 1.5.1
(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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
275aae67fe libgit2: update 1.4.3 -> 1.5.0
License-Update: added sha256 support under bsd-3-clause:
b900981cf7

(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>
2022-07-23 13:55:25 +01:00
wangmy
f9774a7178 libgit2: upgrade 1.4.2 -> 1.4.3
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>
2022-04-19 14:14:12 +01:00
wangmy
e1dea39862 libgit2: upgrade 1.4.1 -> 1.4.2
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>
2022-03-02 18:43:24 +00:00
Khem Raj
995b971744 libgit2: Upgrade to 1.4.1
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>
2022-02-20 16:45:25 +00:00
Richard Purdie
b0130fcf91 meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX 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-02-20 16:45:25 +00:00
Alexander Kanavin
09da07b203 libgit2: update 1.3.0 -> 1.4.0
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>
2022-02-18 11:37:11 +00:00
Richard Purdie
ba2f6c64a1 recipes: Update github.com urls to use https
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-11-03 10:12:42 +00:00
Alexander Kanavin
98de468054 libgit2: update 1.2.0 -> 1.3.0
(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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
8bddba7249 libgit2: update 1.1.1 -> 1.2.0
License-Update: includes portions of openssl headers
0903cac1d0

(From OE-Core rev: 81a101332e7e59848165b06b734056a385e8cc3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
a51c307509 libgit2: upgrade 1.1.0 -> 1.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>
2021-07-16 21:23:44 +01:00
Randy MacLeod
53f26a4587 libgit2: pull in updates from meta-oe
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>
2021-02-26 15:21:20 +00:00
Randy MacLeod
53615dae3e Add libgit2, libssh2 from meta-oe for rust
(From OE-Core rev: a6e49314f64b65b3a165d33ae581b6761ded0e82)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00