Skip to content

Commit f2d7fe4

Browse files
committed
package/websocket: adapt to 2021.02 requirements
According to buildroot upstream 2021.02 specs: Download: Rework the tarball creation logic (E.G. when a package is fetched from a git/svn repo) to no longer require a host-tar <= 1.29. To differ between the old and the new format, the new tarballs have gained a -br1 suffix (<pkg>-<version>-br1.tar.gz). The old style of getting a package was adding a '-br1' suffix to the tarball, which would make the hash check fail for this package. Update to a simpler github get method, and the checksum works fine, buildroot does not add -br1 to the tarball. Signed-off-by: Eugen Hristev <[email protected]>
1 parent 52066de commit f2d7fe4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package/websocket/websocket.hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Locally computed:
2-
sha256 40be32dde7d16b83fd13b79d62c542dbff0c217f514713316c9ab7b17cde2ecf websocket-linux4sam-2020.04.tar.gz
2+
sha256 fb57de348d5fae80877cfc44186d7f672f9052469bf14a0497ff55990791f508 websocket-linux4sam-2020.04.tar.gz
33

44

package/websocket/websocket.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
################################################################################
66

77
WEBSOCKET_VERSION = linux4sam-2020.04
8-
WEBSOCKET_SITE = https://github.com/MicrochipTech/websocket-buildroot-external-microchip.git
9-
WEBSOCKET_SITE_METHOD = git
8+
WEBSOCKET_SITE = $(call github,MicrochipTech,websocket-buildroot-external-microchip,$(WEBSOCKET_VERSION))
109

1110
define WEBSOCKET_BUILD_CMDS
1211
$(TARGET_CC) $(TARGET_CFLAGS) -Wall -std=gnu11 -g -D_REENTRANT -static $(@D)/websocket_control.c $(@D)/websocket_protocol.c -o $(@D)/websocket

0 commit comments

Comments
 (0)