deps: update to libpathrs v0.2.5

This update includes a few breaking API changes that I needed to get in
before an actual runc release depends on it, so that we don't need to
deal with compatibility shims for them (or bumping the SOVERSION).

From a Go API perspective, there were no major changes -- though this
bump did also require a bump to github.com/cyphar/filepath-securejoin
because one of the wrapped APIs changed from int to uint64 as a flag
argument type. Again, better to get this done before we really depend on
this in a public way.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2026-06-18 10:49:48 +02:00
parent c6f4361b83
commit d47bf88349
19 changed files with 153 additions and 77 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ declare -A RUST_TARGET_TO_CC=(
# sha256 checksums for libpathrs release tarballs.
declare -A LIBPATHRS_SHA256=(
["0.2.4"]=45aca68e698b844fae0cf7c459bc441519b0e7b48397caa7d3936cfc68d73f77
["0.2.5"]=f8f4a9419eb839cd5decbd120b65f0495bf6eac07155477fe39a8c2a23da589d
)
function generate_cargo_config() {
+1 -1
View File
@@ -20,7 +20,7 @@ set -e
# Project-specific options and functions. In *theory* you shouldn't need to
# touch anything else in this script in order to use this elsewhere.
: "${LIBSECCOMP_VERSION:=2.6.0}"
: "${LIBPATHRS_VERSION:=0.2.4}"
: "${LIBPATHRS_VERSION:=0.2.5}"
project="runc"
root="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..")"
+1 -1
View File
@@ -3,7 +3,7 @@
# Supports Fedora and EL-based distributions.
set -eux -o pipefail
: "${LIBPATHRS_VERSION:=0.2.4}"
: "${LIBPATHRS_VERSION:=0.2.5}"
# BATS_VERSION is only consumed for the EL8 platform as its bats package is too old.
: "${BATS_VERSION:=v1.12.0}"