You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.0 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=https_dns_proxy
  3. PKG_RELEASE=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy
  6. PKG_SOURCE_DATE:=2019-10-09
  7. PKG_SOURCE_VERSION:=3d20c75c4a17aa569748e63ac169b9274178d573
  8. PKG_MIRROR_HASH:=149839f1db4ab9691db3955de526080a5b731ff8484b06f164497f4e244140da
  9. PKG_MAINTAINER:=Aaron Drew <aarond10@gmail.com>
  10. PKG_LICENSE:=MIT
  11. PKG_LICENSE_FILES:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/cmake.mk
  14. CMAKE_OPTIONS += -DCLANG_TIDY_EXE=
  15. define Package/https_dns_proxy
  16. SECTION:=net
  17. CATEGORY:=Network
  18. TITLE:=DNS over HTTPS Proxy Server
  19. DEPENDS:=+libcares +libcurl +libev +ca-bundle
  20. endef
  21. define Package/https_dns_proxy/install
  22. $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config
  23. $(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/
  24. $(INSTALL_BIN) ./files/https_dns_proxy.init $(1)/etc/init.d/https_dns_proxy
  25. $(INSTALL_CONF) ./files/https_dns_proxy.config $(1)/etc/config/https_dns_proxy
  26. endef
  27. $(eval $(call BuildPackage,https_dns_proxy))