-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Wesley Gimenes <wehagy@proton.me>
- Loading branch information
Showing
22 changed files
with
978 additions
and
168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=aardvark-dns | ||
PKG_VERSION:=1.11.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/containers/aardvark-dns/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=3e95b363f89a945ee6e63f51051f9eb982bdc469bf8e727b5d7adca676789750 | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> | ||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_DEPENDS:=rust/host | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include ../../lang/rust/rust-package.mk | ||
|
||
define Package/aardvark-dns | ||
SECTION:=net | ||
CATEGORY:=Network | ||
DEPENDS:=$(RUST_ARCH_DEPENDS) | ||
TITLE:=authoritative dns server for container records | ||
URL:=https://github.com/containers/aardvark-dns | ||
endef | ||
|
||
define Package/aardvark-dns/description | ||
Aardvark-dns is an authoritative dns server for A/AAAA container records. | ||
It can forward other requests to configured resolvers. | ||
|
||
It is mostly intended to be used with Netavark which will | ||
launch it automatically if both are installed. | ||
endef | ||
|
||
define Package/aardvark-dns/install | ||
$(INSTALL_DIR) $(1)/usr/lib/podman | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/aardvark-dns $(1)/usr/lib/podman/ | ||
endef | ||
|
||
$(eval $(call RustBinPackage,aardvark-dns)) | ||
$(eval $(call BuildPackage,aardvark-dns)) |
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,42 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=conmon | ||
PKG_VERSION:=2.1.10 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/containers/$(PKG_NAME)/archive/v$(PKG_VERSION) | ||
PKG_HASH:=455fabcbd4a5a5dc5e05374a71b62dc0b08ee865c2ba398e9dc9acac1ea1836a | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> | ||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_DEPENDS:=libseccomp | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/nls.mk | ||
include $(INCLUDE_DIR)/meson.mk | ||
|
||
define Package/conmon | ||
SECTION:=utils | ||
CATEGORY:=Utilities | ||
TITLE:=Podman conmon | ||
URL:=https://podman.io | ||
DEPENDS:=@!arc +glib2 $(INTL_DEPENDS) $(ICONV_DEPENDS) | ||
endef | ||
|
||
define Package/conmon/description | ||
An OCI container runtime monitor. | ||
|
||
Conmon is a monitoring program and communication tool between | ||
a container manager (like Podman or CRI-O) and an OCI runtime | ||
(like runc or crun) for a single container. | ||
endef | ||
|
||
define Package/conmon/install | ||
$(INSTALL_DIR) $(1)/usr/bin | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/podman/conmon $(1)/usr/bin | ||
endef | ||
|
||
$(eval $(call BuildPackage,conmon)) |
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,11 @@ | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -90,7 +90,7 @@ executable('conmon', | ||
'src/utils.h', | ||
'src/seccomp_notify.c', | ||
'src/seccomp_notify.h'], | ||
- dependencies : [glib, libdl, sd_journal, seccomp], | ||
+ dependencies : [glib, sd_journal, seccomp], | ||
install : true, | ||
install_dir : join_paths(get_option('libexecdir'), 'podman'), | ||
) |
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,93 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=crun | ||
PKG_VERSION:=1.15 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/containers/crun/tar.gz/$(PKG_VERSION)? | ||
PKG_HASH:=357ebf4b391284d29176e1a638cff8f47569595db66c272c558241e4f807c600 | ||
|
||
PKG_BUILD_DEPENDS:=argp-standalone | ||
PKG_BUILD_PARALLEL:=1 | ||
PKG_FIXUP:=autoreconf | ||
PKG_INSTALL:=1 | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> | ||
PKG_LICENSE:=GPL-2.0-or-later | ||
PKG_LICENSE_FILES:=COPYING | ||
PKG_CPE_ID:=cpe:/a:crun_project:crun | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/crun | ||
SECTION:=utils | ||
CATEGORY:=Utilities | ||
TITLE:=crun | ||
URL:=https://github.com/containers/crun | ||
DEPENDS:=@!arc +libseccomp +libcap +libgcrypt | ||
endef | ||
|
||
define Package/crun/description | ||
A fast and low-memory footprint OCI Container Runtime fully written in C. | ||
endef | ||
|
||
LIBOCISPEC_COMMIT:=7b27d0a0bb87fdd7ee46365994e450a58405004f | ||
|
||
define Download/libocispec | ||
PROTO:=git | ||
URL:=https://github.com/containers/libocispec.git | ||
VERSION:=$(LIBOCISPEC_COMMIT) | ||
MIRROR_HASH:=45562d4650b509e97d145a90a7fda07c9855f79ee96190cfd4181ae619fcc037 | ||
FILE:=libocispec-$(LIBOCISPEC_COMMIT).tar.xz | ||
SUBDIR:=libocispec | ||
endef | ||
$(eval $(call Download,libocispec)) | ||
|
||
CONFIGURE_ARGS+= \ | ||
--disable-systemd \ | ||
--enable-embedded-yajl \ | ||
--enable-caps \ | ||
--enable-dl \ | ||
--enable-seccomp \ | ||
--enable-bpf | ||
|
||
define Build/Prepare | ||
$(call Build/Prepare/Default) | ||
$(SED) '/#include <git-version.h>/d' $(PKG_BUILD_DIR)/src/{crun.c,libcrun/container.c} | ||
xzcat $(DL_DIR)/libocispec-$(LIBOCISPEC_COMMIT).tar.xz | $(HOST_TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS) | ||
endef | ||
|
||
define Build/Configure | ||
$(call Build/Configure/Default) | ||
|
||
$(SED) '/#define PACKAGE \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define VERSION \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define GIT_VERSION \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define PACKAGE_BUGREPORT \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define PACKAGE_NAME \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define PACKAGE_STRING \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define PACKAGE_TARNAME \"/d' $(PKG_BUILD_DIR)/config.h | ||
$(SED) '/#define PACKAGE_VERSION \"/d' $(PKG_BUILD_DIR)/config.h | ||
|
||
echo "#define PACKAGE \"$(PKG_NAME)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define VERSION \"$(PKG_VERSION)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define PACKAGE_NAME \"$(PKG_NAME)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define PACKAGE_VERSION \"$(PKG_VERSION)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define PACKAGE_STRING \"$(PKG_NAME) $(PKG_VERSION)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define PACKAGE_TARNAME \"$(PKG_NAME)\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define PACKAGE_BUGREPORT \"bugs@openwrt.org\"" >> $(PKG_BUILD_DIR)/config.h | ||
echo "#define GIT_VERSION \"$(PKG_SOURCE_VERSION)\"" >> $(PKG_BUILD_DIR)/config.h | ||
endef | ||
|
||
define Package/crun/install | ||
$(INSTALL_DIR) $(1)/usr/bin/ | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/crun $(1)/usr/bin/ | ||
endef | ||
|
||
define Build/InstallDev | ||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcrun.* $(1)/usr/lib/ | ||
endef | ||
|
||
$(eval $(call BuildPackage,crun)) |
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,46 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=netavark | ||
PKG_VERSION:=1.10.3 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/containers/netavark/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=fdc3010cb221f0fcef0302f57ef6f4d9168a61f9606238a3e1ed4d2e348257b7 | ||
|
||
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> | ||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_DEPENDS:= \ | ||
rust/host \ | ||
protobuf/host | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include ../../lang/rust/rust-package.mk | ||
|
||
define Package/netavark | ||
SECTION:=net | ||
CATEGORY:=Network | ||
DEPENDS:=$(RUST_ARCH_DEPENDS) | ||
TITLE:=A container network stack | ||
URL:=https://github.com/containers/netavark | ||
endef | ||
|
||
define Package/netavark/description | ||
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. | ||
endef | ||
|
||
CARGO_PKG_VARS += \ | ||
PROTOC=$(STAGING_DIR_HOSTPKG)/bin/protoc | ||
|
||
define Package/netavark/install | ||
$(INSTALL_DIR) $(1)/etc/config $(1)/usr/lib/podman | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/netavark $(1)/usr/lib/podman | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/netavark-dhcp-proxy-client $(1)/usr/lib/podman/ | ||
endef | ||
|
||
$(eval $(call RustBinPackage,netavark)) | ||
$(eval $(call BuildPackage,netavark)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.