From: Jan Pavlinec Date: Mon, 8 Mar 2021 15:48:47 +0000 (+0100) Subject: ooniprobe: update to version 3.7.0 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a11f9a412ab554d265dd64bdd1d5aedd8b1a4900;p=feed%2Fpackages.git ooniprobe: update to version 3.7.0 Changes: -add Configure stage to prebuild resources Signed-off-by: Jan Pavlinec (cherry picked from commit 17b18d825cc385fc2df0fa2f6a5e7775d778ef65) Signed-off-by: James White --- diff --git a/net/ooniprobe/Makefile b/net/ooniprobe/Makefile index 06b2f05e8b..5c058253e3 100644 --- a/net/ooniprobe/Makefile +++ b/net/ooniprobe/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ooniprobe -PKG_VERSION:=3.5.2 +PKG_VERSION:=3.7.0 PKG_RELEASE:=1 PKG_SOURCE:=probe-cli-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ooni/probe-cli/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=56e419033715e1b2b61a82661f724148bab8fec4a28b2566a10e0a3051b3bade +PKG_HASH:=27f0eec380825f236f7ab3aff22dd29d7090ef47d1ce1ccb1e728e0b846b30ce PKG_MAINTAINER:=Jan Pavlinec PKG_LICENSE:=BSD-3-Clause @@ -43,5 +43,10 @@ define Package/ooniprobe/description Probe Command Line Interface. endef +define Build/Configure + $(call GoPackage/Build/Configure) + cd $(PKG_BUILD_DIR) && $(STAGING_DIR_HOSTPKG)/bin/go run $(PKG_BUILD_DIR)/internal/cmd/getresources/getresources.go +endef + $(eval $(call GoBinPackage,ooniprobe)) $(eval $(call BuildPackage,ooniprobe))