-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): add (and bump) cross deps versions to .requirements
### Summary The cross deps versions placed directly to repective dep `repositories.bzl`. This commit moves the versions and SHA256 digests to `.requirerements`. It also bumps version of `libzlib` from `1.2.13` to `1.3.1`, and `libxcrypt` from `4.4.27` to `4.4.36`. Signed-off-by: Aapo Talvensaari <[email protected]>
- Loading branch information
Showing
6 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
"""A module defining the third party dependency OpenResty""" | ||
|
||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
load("@kong_bindings//:variables.bzl", "KONG_VAR") | ||
|
||
def libxcrypt_repositories(): | ||
"""Defines the libcrypt repository""" | ||
|
||
version = KONG_VAR["LIBXCRYPT"] | ||
|
||
# many distros starts replace glibc/libcrypt with libxcrypt | ||
# thus crypt.h and libcrypt.so.1 are missing from cross tool chain | ||
# ubuntu2004: 4.4.10 | ||
# ubuntu2204: 4.4.27 | ||
http_archive( | ||
name = "cross_deps_libxcrypt", | ||
url = "https://github.com/besser82/libxcrypt/releases/download/v4.4.27/libxcrypt-4.4.27.tar.xz", | ||
sha256 = "500898e80dc0d027ddaadb5637fa2bf1baffb9ccd73cd3ab51d92ef5b8a1f420", | ||
strip_prefix = "libxcrypt-4.4.27", | ||
url = "https://github.com/besser82/libxcrypt/releases/download/v" + version + "/libxcrypt-" + version + ".tar.xz", | ||
sha256 = KONG_VAR["LIBXCRYPT_SHA256"], | ||
strip_prefix = "libxcrypt-" + version, | ||
build_file = "//build/cross_deps/libxcrypt:BUILD.libxcrypt.bazel", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
message: "Bumped libxcrypt to 4.4.36" | ||
type: dependency | ||
scope: Core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
message: "Bumped zlib to 1.3.1" | ||
type: dependency | ||
scope: Core |