From 6981009f4847b1f46ef69ae813f7154b7946e47e Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Thu, 19 Aug 2021 18:03:54 -0400 Subject: [PATCH] dnscrypt-proxy2: Upgrade to 2.1.0 Adjust build opts to force GOPATH mode by setting GO111MODULE off. Ref: https://go.dev/blog/go116-module-changes Signed-off-by: Ted Hess --- net/dnscrypt-proxy2/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/net/dnscrypt-proxy2/Makefile b/net/dnscrypt-proxy2/Makefile index 64032bc416..53744c3845 100644 --- a/net/dnscrypt-proxy2/Makefile +++ b/net/dnscrypt-proxy2/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnscrypt-proxy2 -PKG_VERSION:=2.0.45 -PKG_RELEASE:=2 +PKG_VERSION:=2.1.0 +PKG_RELEASE:=1 PKG_SOURCE:=dnscrypt-proxy-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/DNSCrypt/dnscrypt-proxy/tar.gz/$(PKG_VERSION)? -PKG_HASH:=f7aac28c6a60404683d436072b89d18ed3bb309f8d8a95c8e87ad250da190821 +PKG_HASH:=4af43a2143a1d0f9b430f5f08981417cb4475cc590daf79d11c9a0487f72fadc PKG_BUILD_DIR:=$(BUILD_DIR)/dnscrypt-proxy-$(PKG_VERSION) PKG_MAINTAINER:=Josef Schlehofer @@ -25,10 +25,14 @@ PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 GO_PKG:=github.com/DNSCrypt/dnscrypt-proxy +GO_PKG_LDFLAGS:=-s -w include $(INCLUDE_DIR)/package.mk include ../../lang/golang/golang-package.mk +GO_MOD_ARGS:= +GO_PKG_BUILD_VARS+= GO111MODULE=off + define Package/dnscrypt-proxy2 SECTION:=net CATEGORY:=Network -- 2.30.2