diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-04-19 16:13:45 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2024-04-23 18:59:51 -0700 |
commit | 70a44730fdff32fc902ce5b6ba279cad5011a811 (patch) | |
tree | 65209df444536b79b5959e85f45d607a8523b483 /utils | |
parent | ed50df97f70aba037018bfa54b3c678437c1d305 (diff) |
cni-plugins-nft: use local tarballs
Avoids having to override PKG_UNPACK.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/cni-plugins-nft/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/utils/cni-plugins-nft/Makefile b/utils/cni-plugins-nft/Makefile index 771f728e8..e34af737f 100644 --- a/utils/cni-plugins-nft/Makefile +++ b/utils/cni-plugins-nft/Makefile @@ -2,11 +2,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cni-plugins-nft PKG_VERSION:=1.0.12 -PKG_RELEASE:=1 +PKG_RELEASE:=2 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/greenpau/cni-plugins/archive/v$(PKG_VERSION) -PKG_HASH:=51c4b41c61f46c7dfc691d52dba301e7d8189589e1a625772f761ea3ae804fb3 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=v$(PKG_VERSION) +PKG_SOURCE_URL:=https://github.com/greenpau/cni-plugins +PKG_MIRROR_HASH:=3bb778c8f48261eaaee8b14b9219f1730967ef16158b5b540d45da54ef580e53 PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> PKG_LICENSE:=Apache-2.0 @@ -23,8 +24,6 @@ GO_PKG_BUILD_PKG:=github.com/greenpau/cni-plugins/cmd/cni-nftables-portmap \ include $(INCLUDE_DIR)/package.mk include ../../lang/golang/golang-package.mk -PKG_UNPACK:=$(HOST_TAR) -C "$(PKG_BUILD_DIR)" --strip-components=1 -xzf "$(DL_DIR)/$(PKG_SOURCE)" - define Package/cni-plugins-nft SECTION:=utils CATEGORY:=Utilities |