summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/Makefile
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-24 21:39:06 +0000
committerStan Grishin <stangri@melmac.ca>2022-10-24 21:46:51 +0000
commit61ca2f4d16464a34e638806bd3b9d801d6446b35 (patch)
tree2e3e7574d06f202e50236aa15887f57f1a7434cd /net/https-dns-proxy/Makefile
parent8f6831b64b89243e7c1be5948f33e6737f7ddfc3 (diff)
https-dns-proxy: add version information to binary
* add patches/020-cmakelists-add-version.patch (thanks @baranyaib90) to add version information to the binary and fix https://github.com/aarond10/https_dns_proxy/issues/149 * modify Makefile to add version information for the binary * rename patches/010-fix-cmakelists.patch for better readability * revert back to service restart in WAN/WAN6 trigger * update test.sh to test both init script and binary versions Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy/Makefile')
-rw-r--r--net/https-dns-proxy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile
index 5d60de344..cbd8094e4 100644
--- a/net/https-dns-proxy/Makefile
+++ b/net/https-dns-proxy/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy
PKG_VERSION:=2022-10-15
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
@@ -16,7 +16,7 @@ PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
-CMAKE_OPTIONS += -DCLANG_TIDY_EXE=
+CMAKE_OPTIONS += -DCLANG_TIDY_EXE= -DGIT_VERSION=$(PKG_VERSION)-$(PKG_RELEASE)
define Package/https-dns-proxy
SECTION:=net