Skip to content

Commit

Permalink
smartdns: drop local config files
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit f187ad1)
  • Loading branch information
1715173329 committed Jan 8, 2025
1 parent a37f7e3 commit f4ec1d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 70 deletions.
6 changes: 3 additions & 3 deletions net/smartdns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=smartdns
PKG_VERSION:=46
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/pymumu/smartdns/tar.gz/Release$(PKG_VERSION)?
Expand Down Expand Up @@ -55,10 +55,10 @@ define Package/smartdns/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/package/openwrt/files/etc/init.d/smartdns $(1)/etc/init.d/smartdns
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/address.conf $(1)/etc/smartdns/address.conf
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/blacklist-ip.conf $(1)/etc/smartdns/blacklist-ip.conf
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/custom.conf $(1)/etc/smartdns/custom.conf
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/domain-block.list $(1)/etc/smartdns/domain-block.list
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/domain-forwarding.list $(1)/etc/smartdns/domain-forwarding.list
$(INSTALL_CONF) $(CURDIR)/conf/custom.conf $(1)/etc/smartdns/custom.conf
$(INSTALL_CONF) $(CURDIR)/conf/smartdns.conf $(1)/etc/config/smartdns
$(INSTALL_CONF) $(PKG_BUILD_DIR)/package/openwrt/files/etc/config/smartdns $(1)/etc/config/smartdns
endef

$(eval $(call BuildPackage,smartdns))
36 changes: 0 additions & 36 deletions net/smartdns/conf/custom.conf

This file was deleted.

31 changes: 0 additions & 31 deletions net/smartdns/conf/smartdns.conf

This file was deleted.

0 comments on commit f4ec1d8

Please sign in to comment.