forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
config BR2_PACKAGE_NETAVARK | ||
bool "netavark" | ||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS | ||
# depends on BR2_PACKAGE_PROTOBUF | ||
select BR2_PACKAGE_HOST_CARGO | ||
select BR2_PACKAGE_PROTOBUF | ||
help | ||
Netavark is a rust based network stack for containers. | ||
It is being designed to work with Podman but is also | ||
applicable for other OCI container management applications. |
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,2 @@ | ||
# Locally computed | ||
sha256 2315eb0c9d028b99e795d2071666eaa95d2721e6c4cc52f70f62f67caddc2f8c netavark-1.9.0.tar.gz |
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,19 @@ | ||
################################################################################ | ||
# | ||
# netavark | ||
# | ||
################################################################################ | ||
|
||
NETAVARK_VERSION = 1.9.0 | ||
NETAVARK_SITE = $(call github,containers,netavark,v$(NETAVARK_VERSION)) | ||
NETAVARK_DEPENDENCIES = host-rustc host-pkgconf protobuf | ||
|
||
NETAVARK_CARGO_ENV = PKG_CONFIG_ALLOW_CROSS=1 | ||
|
||
define NETAVARK_INSTALL_TARGET_CMDS | ||
mkdir -p $(TARGET_DIR)/usr/libexec/podman | ||
$(INSTALL) -D -m 0755 $(@D)/target/$(RUSTC_TARGET_NAME)/release/netavark \ | ||
$(TARGET_DIR)/usr/libexec/podman/netavark | ||
endef | ||
|
||
$(eval $(cargo-package)) |