1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=https-dns-proxy
4 PKG_VERSION
:=2021-11-22
8 PKG_SOURCE_URL
:=https
://github.com
/aarond10
/https_dns_proxy
/
9 PKG_SOURCE_DATE
:=2021-11-22
10 PKG_SOURCE_VERSION
:=9336fd6272d67e8bb6e304fa54f3139a3d26f08f
11 PKG_MIRROR_HASH
:=60b1ddabaf1db3a9ee19f3294a1df714364d580cef5e3c2161363c371a557456
12 PKG_MAINTAINER
:=Stan Grishin
<stangri@melmac.ca
>
14 PKG_LICENSE_FILES
:=LICENSE
16 include $(INCLUDE_DIR
)/package.mk
17 include $(INCLUDE_DIR
)/cmake.mk
19 CMAKE_OPTIONS
+= -DCLANG_TIDY_EXE
=
21 define Package
/https-dns-proxy
24 TITLE
:=DNS Over HTTPS Proxy
25 URL
:=https
://docs.openwrt.melmac.net
/https-dns-proxy
/
26 DEPENDS
:=+libcares
+libcurl
+libev
+ca-bundle
27 CONFLICTS
:=https_dns_proxy
30 define Package
/https-dns-proxy
/description
31 https-dns-proxy is a light-weight DNS
<-->HTTPS
, non-caching translation proxy for the RFC
8484 DoH standard.
32 It receives regular
(UDP
) DNS requests and issues them via DoH.
33 Please see https
://docs.openwrt.melmac.net
/https-dns-proxy
/ for more information.
36 define Package
/https-dns-proxy
/conffiles
37 /etc
/config
/https-dns-proxy
40 define Package
/https-dns-proxy
/install
41 $(INSTALL_DIR
) $(1)/usr
/sbin
42 $(INSTALL_DIR
) $(1)/etc
/init.d
43 $(INSTALL_DIR
) ${1}/etc
/config
44 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/https_dns_proxy
$(1)/usr
/sbin
/https-dns-proxy
46 $(INSTALL_BIN
) .
/files
/https-dns-proxy.init
$(1)/etc
/init.d
/https-dns-proxy
47 $(SED
) "s|^\(PKG_VERSION\).*|\1='$(PKG_VERSION)-$(PKG_RELEASE)'|" $(1)/etc
/init.d
/https-dns-proxy
48 $(INSTALL_CONF
) .
/files
/https-dns-proxy.config
$(1)/etc
/config
/https-dns-proxy
51 $(eval
$(call BuildPackage
,https-dns-proxy
))