bats: upgrade 1.8.2 -> 1.9.0
PATCH 1/1 bats: upgrade 1.8.2 -> 1.9.0
From: Wang Mingyu <[email protected]>
Added:
=======
-add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE (#659) -add --line-reference-format to switch file/line references in stack traces (#665)
comma_line (default): file.bats, line 1
colon: file.bats:1
uri: file:///path/to/file.bats:1
custom: define your own formatter in bats_format_file_line_reference_custom
-add bats:focus tag to run only focused tests (#679)
-add bats-support, bats-assert, bats-file and bats-detik to Dockerfile (#674)
Documentation:
==============
-add --help text and man page content for --filter-tags (#679) -improved clarity of section about output in free code (#671) -fixed typos (#673)
-clarify use cases of run (#366)
Fixed:
=======
-explicitly check for GNU parallel (#691)
-wait for report-formatter to finish before ending bats' execution,
to fix empty files with --report-fomatter junit under Docker (#692)
---
meta-oe/recipes-test/bats/{bats_1.8.2.bb => bats_1.9.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-test/bats/{bats_1.8.2.bb => bats_1.9.0.bb} (94%)meta-oe/recipes-test/bats/bats_1.9.0.bb renamed from meta-oe/recipes-test/bats/bats_1.8.2.bb +2 -2
@@ -10,8 +10,8 @@ SRC_URI = "\ git://github.com/bats-core/bats-core.git;branch=master;protocol=https \ " -# v1.7.0 -SRCREV = "e8c840b58f0833e23461c682655fe540aa923f85" +# v1.9.0 +SRCREV = "6636e2c2ef5ffe361535cb45fc61682c5ef46b71" S = "${WORKDIR}/git"
Signature · 1 line
2.34.1
PATCH 1/1 bubblewrap: upgrade 0.7.0 -> 0.8.0
From: Wang Mingyu <[email protected]>
---
.../bubblewrap/{bubblewrap_0.7.0.bb => bubblewrap_0.8.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-security/bubblewrap/{bubblewrap_0.7.0.bb => bubblewrap_0.8.0.bb} (91%)meta-oe/recipes-security/bubblewrap/bubblewrap_0.8.0.bb renamed from meta-oe/recipes-security/bubblewrap/bubblewrap_0.7.0.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" DEPENDS = "libcap" SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" -SRC_URI[sha256sum] = "764ab7100bd037ea53d440d362e099d7a425966bc62d1f00ab26b8fbb882a9dc" +SRC_URI[sha256sum] = "957ad1149db9033db88e988b12bcebe349a445e1efc8a9b59ad2939a113d333a" inherit autotools bash-completion github-releases manpages pkgconfig
Signature · 1 line
2.34.1
PATCH 1/1 byacc: upgrade 20230201 -> 20230219
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen
* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c
* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and deferring the typedef in that case until the end of copying the union definition
* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
---
.../byacc/{byacc_20230201.bb => byacc_20230219.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/byacc/{byacc_20230201.bb => byacc_20230219.bb} (82%)meta-oe/recipes-extended/byacc/byacc_20230219.bb renamed from meta-oe/recipes-extended/byacc/byacc_20230201.bb +1 -1
@@ -7,4 +7,4 @@ LICENSE = "PD" LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=b56b7454f5f865de2e6e35ee2185b461" require byacc.inc -SRC_URI[sha256sum] = "576cc9d9ae5e22503ed5e3582498cf2cccacef401969106420547b4d05c87d76" +SRC_URI[sha256sum] = "36b972a6d4ae97584dd186925fbbc397d26cb20632a76c2f52ac7653cd081b58"
Signature · 1 line
2.34.1
PATCH 1/1 c-ares: upgrade 1.18.1 -> 1.19.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
=========
Security:
----------
Low. Stack overflow in ares_set_sortlist() which is used during c-ares initialization and typically provided by an administrator and not an end user.
Changes:
----------
Windows: Drop support for XP and derivatives which greatly cleans up initialization code. Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a custom hosts file location. Add vcpkg installation instructions
Bug fixes:
------------
Fix cross-compilation from Windows to Linux due to CPACK logic.
Fix memory leak in reading /etc/hosts when using localhost fallback.
Fix chain building c-ares when libresolv is already included by another project
File lookup should not immediately abort as there may be other tries due to search criteria. Asterisks should be allowed in host validation as CNAMEs may reference wildcard domains AutoTools build system referenced bad STDC_HEADERS macro
Even if one address class returns a failure for ares_getaddrinfo() we should still return the results we have CMake Windows: DLLs did not include resource file to include versions
CMake: Guard target creation in exported config
Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC
Apple: fix libresolv configured query times.
Fix tools and help information
Various documentation fixes and cleanups
Add include guards to ares_data.h
c-ares could try to exceed maximum number of iovec entries supported by system
CMake package config generation allow for absolute install paths
Intel compiler fixesares_strsplit bugs
The RFC6761 6.3 states localhost subdomains must be offline too.
---
.../c-ares/{c-ares_1.18.1.bb => c-ares_1.19.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/c-ares/{c-ares_1.18.1.bb => c-ares_1.19.0.bb} (91%)meta-oe/recipes-support/c-ares/c-ares_1.19.0.bb renamed from meta-oe/recipes-support/c-ares/c-ares_1.18.1.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb997454c8d62aa6a47f07a8cd48b006" SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https" -SRCREV = "2aa086f822aad5017a6f2061ef656f237a62d0ed" +SRCREV = "fddf01938d3789e06cc1c3774e4cd0c7d2a89976" UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P<pver>\d+_(\d_?)+)"
Signature · 1 line
2.34.1
PATCH 1/1 cryptsetup: upgrade 2.6.0 -> 2.6.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
0001-Replace-off64_t-with-off_t.patch
removed since it's includedin 2.6.1.
---
.../0001-Replace-off64_t-with-off_t.patch | 101 ------------------
...ryptsetup_2.6.0.bb => cryptsetup_2.6.1.bb} | 6 +-
2 files changed, 2 insertions(+), 105 deletions(-)
delete mode 100644 meta-oe/recipes-crypto/cryptsetup/cryptsetup/0001-Replace-off64_t-with-off_t.patch
rename meta-oe/recipes-crypto/cryptsetup/{cryptsetup_2.6.0.bb => cryptsetup_2.6.1.bb} (96%)meta-oe/recipes-crypto/cryptsetup/cryptsetup/0001-Replace-off64_t-with-off_t.patch deleted +0 -101
@@ -1,101 +0,0 @@ -From 683d0c525765415be34c269edf9cc066276f9f65 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sun, 18 Dec 2022 13:53:51 -0800 -Subject: [PATCH] Replace off64_t with off_t - -AC_SYS_LARGEFILE autoconf macro is in use in configure script which will -add needed feature macros on commandline to enable 64bit off_t. - -Also replace lseek64 with lseek, since it will be same when -_FILE_OFFSET_BITS=64 is defined on relevant platforms via AC_SYS_LARGEFILE - -Upstream-Status: Submitted [https://gitlab.com/cryptsetup/cryptsetup/-/merge_requests/467] -Signed-off-by: Khem Raj <[email protected]> ---- - lib/utils.c | 4 ++-- - lib/utils_wipe.c | 4 ++-- - src/utils_reencrypt_luks1.c | 12 ++++++------ - 3 files changed, 10 insertions(+), 10 deletions(-) - -diff --git a/lib/utils.c b/lib/utils.c -index 9d79ee29..be5f5287 100644 ---- a/lib/utils.c -+++ b/lib/utils.c -@@ -102,9 +102,9 @@ static int keyfile_seek(int fd, uint64_t bytes) - char tmp[BUFSIZ]; - size_t next_read; - ssize_t bytes_r; -- off64_t r; -+ off_t r; - -- r = lseek64(fd, bytes, SEEK_CUR); -+ r = lseek(fd, bytes, SEEK_CUR); - if (r > 0) - return 0; - if (r < 0 && errno != ESPIPE) -diff --git a/lib/utils_wipe.c b/lib/utils_wipe.c -index 285a9e77..0c376f44 100644 ---- a/lib/utils_wipe.c -+++ b/lib/utils_wipe.c -@@ -150,7 +150,7 @@ static int wipe_block(struct crypt_device *cd, int devfd, crypt_wipe_pattern pat - if (blockdev && pattern == CRYPT_WIPE_ZERO && - !wipe_zeroout(cd, devfd, offset, wipe_block_size)) { - /* zeroout ioctl does not move offset */ -- if (lseek64(devfd, offset + wipe_block_size, SEEK_SET) < 0) { -+ if (lseek(devfd, offset + wipe_block_size, SEEK_SET) < 0) { - log_err(cd, _("Cannot seek to device offset.")); - return -EINVAL; - } -@@ -221,7 +221,7 @@ int crypt_wipe_device(struct crypt_device *cd, - if (r) - goto out; - -- if (lseek64(devfd, offset, SEEK_SET) < 0) { -+ if (lseek(devfd, offset, SEEK_SET) < 0) { - log_err(cd, _("Cannot seek to device offset.")); - r = -EINVAL; - goto out; -diff --git a/src/utils_reencrypt_luks1.c b/src/utils_reencrypt_luks1.c -index 96368bdb..d83a1da4 100644 ---- a/src/utils_reencrypt_luks1.c -+++ b/src/utils_reencrypt_luks1.c -@@ -729,8 +729,8 @@ static int copy_data_forward(struct reenc_ctx *rc, int fd_old, int fd_new, - - log_dbg("Reencrypting in forward direction."); - -- if (lseek64(fd_old, rc->device_offset, SEEK_SET) < 0 || -- lseek64(fd_new, rc->device_offset, SEEK_SET) < 0) { -+ if (lseek(fd_old, rc->device_offset, SEEK_SET) < 0 || -+ lseek(fd_new, rc->device_offset, SEEK_SET) < 0) { - log_err(_("Cannot seek to device offset.")); - goto out; - } -@@ -788,7 +788,7 @@ static int copy_data_backward(struct reenc_ctx *rc, int fd_old, int fd_new, - size_t block_size, void *buf, uint64_t *bytes) - { - ssize_t s1, s2, working_block; -- off64_t working_offset; -+ off_t working_offset; - int r = -EIO; - char *backing_file = NULL; - struct tools_progress_params prog_parms = { -@@ -827,8 +827,8 @@ static int copy_data_backward(struct reenc_ctx *rc, int fd_old, int fd_new, - working_block = block_size; - } - -- if (lseek64(fd_old, working_offset, SEEK_SET) < 0 || -- lseek64(fd_new, working_offset, SEEK_SET) < 0) { -+ if (lseek(fd_old, working_offset, SEEK_SET) < 0 || -+ lseek(fd_new, working_offset, SEEK_SET) < 0) { - log_err(_("Cannot seek to device offset.")); - goto out; - } -@@ -874,7 +874,7 @@ static void zero_rest_of_device(int fd, size_t block_size, void *buf, - - log_dbg("Zeroing rest of device."); - -- if (lseek64(fd, offset, SEEK_SET) < 0) { -+ if (lseek(fd, offset, SEEK_SET) < 0) { - log_dbg("Cannot seek to device offset."); - return; - }
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.6.1.bb renamed from meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.6.0.bb +2 -4
@@ -19,10 +19,8 @@ DEPENDS = " \ DEPENDS:append:libc-musl = " argp-standalone" LDFLAGS:append:libc-musl = " -largp" -SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz \ - file://0001-Replace-off64_t-with-off_t.patch \ - " -SRC_URI[sha256sum] = "44397ba76e75a9cde5b02177bc63cd7af428a785788e3a7067733e7761842735" +SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz" +SRC_URI[sha256sum] = "410ded65a1072ab9c8e41added37b9729c087fef4d2db02bb4ef529ad6da4693" inherit autotools gettext pkgconfig
Signature · 1 line
2.34.1