Skip to content

Commit 8cd94f7

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: package: Sync with upstream (coolsnowwolf#10641) tools/sed: Fix handling of symlinks of 128 chars (coolsnowwolf#10642)
2 parents 47bfd01 + b45566e commit 8cd94f7

File tree

13 files changed

+74
-27
lines changed

13 files changed

+74
-27
lines changed

package/devel/strace/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
99
include $(INCLUDE_DIR)/kernel.mk
1010

1111
PKG_NAME:=strace
12-
PKG_VERSION:=6.0
12+
PKG_VERSION:=6.1
1313
PKG_RELEASE:=1
1414

1515
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
1616
PKG_SOURCE_URL:=https://strace.io/files/$(PKG_VERSION)
17-
PKG_HASH:=92d720a666855e9f1c6a11512fd6e99674a82bbfe1442557815f2ce8e1293338
17+
PKG_HASH:=2579e9cec37dbb786f6ea0bebd15f40dd561ef2bde2a2a2ecdce5963b01859fd
1818

1919
PKG_MAINTAINER:=Felix Fietkau <[email protected]>
2020
PKG_LICENSE:=LGPL-2.1-or-later

package/devel/trace-cmd/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=trace-cmd
4-
PKG_VERSION:=v3.1.4
4+
PKG_VERSION:=v3.1.5
55
PKG_RELEASE:=1
66

77
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
88
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/
9-
PKG_HASH:=447e095dbdfb0d362ab8c2086d62d80c5a2ecf67aef09b8f6b0cc064c0e1bfb5
9+
PKG_HASH:=9af1ea00e312d03639470e126fa9c786789f03c16df93a57c0bc90eeffbc7d50
1010

1111
PKG_LICENSE:=GPL-2.0-only
1212
PKG_LICENSE_FILES:=COPYING

package/libs/libtraceevent/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=libtraceevent
4-
PKG_VERSION:=1.6.3
4+
PKG_VERSION:=1.7.0
55
PKG_RELEASE:=1
66

77
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
88
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/
9-
PKG_HASH:=031e4428586788bb835d894f7f11c54e482764063d96ead303c7f208fb59e353
9+
PKG_HASH:=3e902184f743c955b183b45f25ea163a3d41c9f287fdcfc95cd9cca748c563c8
1010

1111
PKG_MAINTAINER:=Nick Hainke <[email protected]>
1212

package/libs/libtracefs/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=libtracefs
4-
PKG_VERSION:=1.6.1
4+
PKG_VERSION:=1.6.3
55
PKG_RELEASE:=1
66

77
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
88
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/
9-
PKG_HASH:=215a5182ee7d5a813ff84d290bb8988aa4c04cc16bb837780f61b0f5bf7494ab
9+
PKG_HASH:=de307faaa54ac52cf0ce3ff19b32b51af24897e3440e643068ac82d31e197e92
1010

1111
PKG_MAINTAINER:=Nick Hainke <[email protected]>
1212

package/network/utils/ethtool/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=ethtool
11-
PKG_VERSION:=5.19
11+
PKG_VERSION:=6.0
1212
PKG_RELEASE:=1
1313

1414
PKG_MAINTAINER:=Felix Fietkau <[email protected]>
1515
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
1616
PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
17-
PKG_HASH:=3b752a3329827907ac3812f2831dfecf51c8c41c55d2d69cfb9c53ca06449fc6
17+
PKG_HASH:=d5446c93de570ce68f3b1ea69dbfa12fcfd67fc19897f655d3f18231e2b818d6
1818

1919
PKG_LICENSE:=GPL-2.0
2020
PKG_LICENSE_FILES:=COPYING
21+
PKG_CPE_ID:=cpe:/a:kernel:ethtool
2122

2223
PKG_FIXUP:=autoreconf
2324
PKG_INSTALL:=1

tools/bash/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk
88

99
PKG_NAME:=bash
1010
PKG_CPE_ID:=cpe:/a:gnu:bash
11-
PKG_VERSION:=5.2.9
11+
PKG_VERSION:=5.2.15
1212

1313
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1414
PKG_SOURCE_URL:=@GNU/bash
15-
PKG_HASH:=68d978264253bc933d692f1de195e2e5b463a3984dfb4e5504b076865f16b6dd
15+
PKG_HASH:=13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c
1616

1717
HOST_BUILD_PARALLEL := 1
1818

tools/ccache/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk
88
include $(INCLUDE_DIR)/target.mk
99

1010
PKG_NAME:=ccache
11-
PKG_VERSION:=4.7.2
11+
PKG_VERSION:=4.7.4
1212

1313
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
1414
PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
15-
PKG_HASH:=17ca75a577d49c1e4f2ac86d53126859de52b789cfe85dd532758518db114eaf
15+
PKG_HASH:=df0c64d15d3efaf0b4f6837dd6b1467e40eeaaa807db25ce79c3a08a46a84e36
1616

1717
include $(INCLUDE_DIR)/host-build.mk
1818
include $(INCLUDE_DIR)/cmake.mk

tools/ccache/patches/100-honour-copts.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/src/ccache.cpp
22
+++ b/src/ccache.cpp
3-
@@ -1762,6 +1762,7 @@ get_manifest_key(Context& ctx, Hash& hash)
3+
@@ -1779,6 +1779,7 @@ get_manifest_key(Context& ctx, Hash& has
44
"CPLUS_INCLUDE_PATH",
55
"OBJC_INCLUDE_PATH",
66
"OBJCPLUS_INCLUDE_PATH", // clang

tools/firmware-utils/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ PKG_RELEASE:=1
1111

1212
PKG_SOURCE_PROTO:=git
1313
PKG_SOURCE_URL=$(PROJECT_GIT)/project/firmware-utils.git
14-
PKG_SOURCE_DATE:=2022-09-12
15-
PKG_SOURCE_VERSION:=0c92b20ad488a4fb5fb290f6d1b893df45761275
16-
PKG_MIRROR_HASH:=2cfd36e749b51d539cffe22c77a4c3ccd3bac2eca482affe23e1cab539e8bd16
14+
PKG_SOURCE_DATE:=2022-12-15
15+
PKG_SOURCE_VERSION:=bd856eff48509fa4511169ee55f639ede8dd4ac6
16+
PKG_MIRROR_HASH:=4dc754b403b10f43dc2871f17ef7b223c85ad3b14c57899497f0b6bb304756d9
1717

1818
include $(INCLUDE_DIR)/host-build.mk
1919
include $(INCLUDE_DIR)/cmake.mk

tools/libressl/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=libressl
11-
PKG_VERSION:=3.5.3
12-
PKG_HASH:=3ab5e5eaef69ce20c6b170ee64d785b42235f48f2e62b095fca5d7b6672b8b28
11+
PKG_VERSION:=3.7.0
12+
PKG_HASH:=3fc1290f4007ec75f6e9acecbb25512630d1b9ab8c53ba79844e395868c3e006
1313
PKG_RELEASE:=1
1414

1515
PKG_CPE_ID:=cpe:/a:openbsd:libressl

tools/mpc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
include $(TOPDIR)/rules.mk
88

99
PKG_NAME:=mpc
10-
PKG_VERSION:=1.2.1
10+
PKG_VERSION:=1.3.1
1111

1212
PKG_SOURCE_URL:=@GNU/mpc/
1313
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14-
PKG_HASH:=17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
14+
PKG_HASH:=ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
1515

1616
HOST_BUILD_PARALLEL:=1
1717

tools/patchelf/Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
include $(TOPDIR)/rules.mk
88

99
PKG_NAME:=patchelf
10+
PKG_VERSION:=0.17.0
1011

11-
PKG_SOURCE_PROTO:=git
12-
PKG_SOURCE_URL:=https://github.com/NixOS/patchelf.git
13-
PKG_SOURCE_VERSION:=f34751b88bd07d7f44f5cd3200fb4122bf916c7e
14-
PKG_SOURCE_DATE:=2020-12-07
15-
PKG_MIRROR_HASH:=ac746930b919b97da40f259cfc9ab7bbd48a0c9cbf2eebd8cee5ae19a94356fd
12+
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13+
PKG_SOURCE_URL:=https://github.com/NixOS/patchelf/releases/download/$(PKG_VERSION)
14+
PKG_HASH:=45d76f4a31688a523718ec512f31650b1f35d1affec3eafeb3feeb5448d341e1
1615

1716
HOST_BUILD_PARALLEL:=1
1817
HOST_FIXUP:=autoreconf
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
From 8f600f2df293d539e9e9137f6f82faa1633b97c1 Mon Sep 17 00:00:00 2001
2+
From: Paul Eggert <[email protected]>
3+
Date: Sat, 17 Dec 2022 20:56:29 -0800
4+
Subject: [PATCH] sed: fix symlink bufsize readlink check
5+
6+
Problem reported by Hauke Mehrtens.
7+
* sed/utils.c (follow_symlink): Fix typo when checking size of
8+
second and later symlink, when that symlink is so large that it
9+
does not fit into the buffer. Although the bug is not a buffer
10+
overflow, it does cause sed to mishandle the symlink.
11+
* testsuite/follow-symlinks.sh: Test for the bug.
12+
---
13+
sed/utils.c | 2 +-
14+
testsuite/follow-symlinks.sh | 13 +++++++++++++
15+
3 files changed, 18 insertions(+), 1 deletion(-)
16+
17+
--- a/sed/utils.c
18+
+++ b/sed/utils.c
19+
@@ -345,7 +345,7 @@ follow_symlink (const char *fname)
20+
while ((linklen = (buf_used < buf_size
21+
? readlink (fn, buf + buf_used, buf_size - buf_used)
22+
: 0))
23+
- == buf_size)
24+
+ == buf_size - buf_used)
25+
{
26+
buf = xpalloc (buf, &buf_size, 1, SSIZE_IDX_MAX, 1);
27+
if (num_links)
28+
--- a/testsuite/follow-symlinks.sh
29+
+++ b/testsuite/follow-symlinks.sh
30+
@@ -73,4 +73,17 @@ compare_ exp-la-abs out-la-abs || fail=1
31+
ln -s la-loop la-loop || framework_failure_
32+
sed --follow-symlinks -i s/a/b/ la-loop && fail=1
33+
34+
+# symlink of length 128
35+
+long=d/
36+
+for i in 2 3 4 5 6 7; do
37+
+ long=$long$long
38+
+done
39+
+dir=${long%/d/}
40+
+file=$dir/xx
41+
+mkdir -p $dir &&
42+
+echo x >$file &&
43+
+ln -s $file yy &&
44+
+ln -s yy xx || framework_failure_
45+
+sed -i --follow-symlinks s/x/y/ xx || fail=1
46+
+
47+
Exit $fail

0 commit comments

Comments
 (0)