|
@ -5,12 +5,12 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=dnsproxy |
|
|
PKG_NAME:=dnsproxy |
|
|
PKG_VERSION:=0.38.2 |
|
|
|
|
|
|
|
|
PKG_VERSION:=0.39.0 |
|
|
PKG_RELEASE:=$(AUTORELESE) |
|
|
PKG_RELEASE:=$(AUTORELESE) |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v$(PKG_VERSION)? |
|
|
PKG_HASH:=cc240be1e6975cc782155427f45a3753beb647d0de44f2e9f734486fc19db379 |
|
|
|
|
|
|
|
|
PKG_HASH:=00cf9978670e51be14cab262638735321afa917c3b4f46c0c5a189731ee124bf |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org> |
|
|
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org> |
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
PKG_LICENSE:=Apache-2.0 |
|
@ -34,6 +34,7 @@ define Package/dnsproxy |
|
|
TITLE:=Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support |
|
|
TITLE:=Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support |
|
|
URL:=https://github.com/AdguardTeam/dnsproxy |
|
|
URL:=https://github.com/AdguardTeam/dnsproxy |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle |
|
|
|
|
|
USERID:=dnsproxy=411:dnsproxy=411 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/dnsproxy/description |
|
|
define Package/dnsproxy/description |
|
@ -42,5 +43,14 @@ define Package/dnsproxy/description |
|
|
work as a DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC server. |
|
|
work as a DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC server. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/dnsproxy/install |
|
|
|
|
|
$(call GoPackage/Package/Install/Bin,$(1)) |
|
|
|
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config/ |
|
|
|
|
|
$(INSTALL_CONF) $(CURDIR)/files/dnsproxy.config $(1)/etc/config/dnsproxy |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d/ |
|
|
|
|
|
$(INSTALL_BIN) $(CURDIR)/files/dnsproxy.init $(1)/etc/init.d/dnsproxy |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call GoBinPackage,dnsproxy)) |
|
|
$(eval $(call GoBinPackage,dnsproxy)) |
|
|
$(eval $(call BuildPackage,dnsproxy)) |
|
|
$(eval $(call BuildPackage,dnsproxy)) |