dnscrypt-proxy2: Upgrade to 2.1.0
authorTed Hess <thess@kitschensync.net>
Thu, 19 Aug 2021 22:03:54 +0000 (18:03 -0400)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 20 Aug 2021 17:40:27 +0000 (19:40 +0200)
Adjust build opts to force GOPATH mode by setting GO111MODULE off.
Ref: https://go.dev/blog/go116-module-changes

Signed-off-by: Ted Hess <thess@kitschensync.net>
net/dnscrypt-proxy2/Makefile

index 64032bc41645d2de43683cc53ae9d3a97b89120e..53744c3845b8fe8eb7741b14b3660e06a821ea37 100644 (file)
@@ -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 <josef.schlehofer@nic.cz>
@@ -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