Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coolsnowwolf/lede
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Dec 9, 2018
2 parents f1c7674 + 368eb8c commit b180744
Show file tree
Hide file tree
Showing 7 changed files with 6,040 additions and 59 deletions.
11 changes: 4 additions & 7 deletions package/lean/dnsforwarder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=dnsforwarder
PKG_VERSION:=6.1.15
PKG_RELEASE:=5
PKG_RELEASE:=8

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/holmium/dnsforwarder.git
Expand All @@ -27,11 +27,6 @@ define Package/$(PKG_NAME)/description
Forwarding queries to customized domains (and their subdomains) to specified servers over a specified protocol (UDP or TCP). non-standard ports are supported.
endef


define Package/$(PKG_NAME)/conffiles
/etc/dnsforwarder/dnsforwarder.conf
endef

CONFIGURE_ARGS += --enable-downloader=wget

define Package/$(PKG_NAME)/install
Expand All @@ -42,7 +37,9 @@ define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) files/etc/config/dnsforwarder $(1)/etc/config/dnsforwarder
$(INSTALL_DIR) $(1)/etc/dnsforwarder
$(INSTALL_CONF) $(PKG_BUILD_DIR)/default.config $(1)/etc/dnsforwarder/dnsforwarder.conf
$(INSTALL_CONF) files/etc/dnsforwarder/gfw.txt $(1)/etc/dnsforwarder/gfw.txt
$(INSTALL_DIR) $(1)/usr/share/dnsforwarder
$(INSTALL_BIN) files/usr/share/dnsforwarder/gfwlist.sh $(1)/usr/share/dnsforwarder/gfwlist.sh
endef

$(eval $(call BuildPackage,$(PKG_NAME)))
3 changes: 2 additions & 1 deletion package/lean/dnsforwarder/files/etc/config/dnsforwarder
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ config arguments
config config
option cache 'true'
option cache_size '102400'
option cache_ignore 'false'
option cache_ignore 'false'
option gfw 'true'
list block_ip '74.125.127.102'
list block_ip '74.125.155.102'
list block_ip '74.125.39.102'
Expand Down
Loading

0 comments on commit b180744

Please sign in to comment.