netavark: update to v1.6.0
authorOskari Rauta <oskari.rauta@gmail.com>
Sun, 11 Jun 2023 12:43:49 +0000 (15:43 +0300)
committerTianling Shen <cnsztl@immortalwrt.org>
Wed, 14 Jun 2023 18:17:04 +0000 (02:17 +0800)
netavark v1.6.0 was released, so instead of using
git version, use release. Does not contain very
much of changes, but list is available from netavark's
commit log.

Software now comes with additional tool named
netavark-dhcp-proxy-client which is now included
in package.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit da8c4ee3b8e89d8f093901cf187bc1814923dd2c)

net/netavark/Makefile

index cf43a655efbc66d4f7a52a6cf5329a20c3e562bd..542290c0b909cb05f3f015741a24b60a2fcbe4ea 100644 (file)
@@ -1,13 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netavark
+PKG_VERSION:=1.6.0
 PKG_RELEASE:=1
 
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/containers/netavark.git
-PKG_SOURCE_DATE:=2023-05-12
-PKG_SOURCE_VERSION:=07d63eadef1def977f2ece25b0f464f7e5d77be1
-PKG_MIRROR_HASH:=f7597d70528d039b984b2ecc6ef0e1f1c17aacfc7862907e5a79789ebe98aa89
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/containers/netavark/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=3bec9e9b0f3f8f857370900010fb2125ead462d43998ad8f43e4387a5b06f9d6
 
 PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
 PKG_LICENSE:=Apache-2.0
@@ -45,6 +44,7 @@ define Package/netavark/install
        $(INSTALL_CONF) ./files/netavark-config $(1)/etc/config/netavark
        $(INSTALL_BIN) ./files/netavark-wrapper $(1)/usr/lib/podman/netavark
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/netavark $(1)/usr/lib/podman/netavark-bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/netavark-dhcp-proxy-client $(1)/usr/lib/podman/
 endef
 
 $(eval $(call RustBinPackage,netavark))