From 17b18d825cc385fc2df0fa2f6a5e7775d778ef65 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Mon, 8 Mar 2021 16:48:47 +0100 Subject: [PATCH] ooniprobe: update to version 3.7.0 Changes: -add Configure stage to prebuild resources Signed-off-by: Jan Pavlinec --- net/ooniprobe/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/ooniprobe/Makefile b/net/ooniprobe/Makefile index 06b2f05e8..5c058253e 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))