Skip to content

Commit

Permalink
Merge pull request #12361 from rs/nextdns-1.6.4-openwrt-19.07
Browse files Browse the repository at this point in the history
[19.07] nextdns: Update to version 1.6.4
  • Loading branch information
neheb committed Jun 5, 2020
2 parents 37f5ae6 + f0fd4c1 commit 8f935f3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 84 deletions.
21 changes: 16 additions & 5 deletions net/nextdns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=nextdns
PKG_VERSION:=1.6.3
PKG_VERSION:=1.6.4
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/nextdns/nextdns.git
PKG_MIRROR_HASH:=104ec2ffe21f1f1770bce7686e4f117019dfc64f3f6bfd8f8f06cfc1ff44da6d
PKG_MIRROR_HASH:=6248ceebe2c5df02e545e3193065e87355d8dee910b270b2019e104758e69c2f

PKG_MAINTAINER:=Olivier Poitrey <rs@nextdns.io>
PKG_LICENSE:=MIT
Expand Down Expand Up @@ -45,13 +45,24 @@ define Package/nextdns/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nextdns $(1)/usr/sbin/

$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/nextdns.init $(1)/etc/init.d/nextdns

$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/nextdns.config $(1)/etc/config/nextdns
endef

define Package/nextdns/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
nextdns install
fi
endef

define Package/nextdns/prerm
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
nextdns uninstall
fi
endef

define Package/nextdns/description
Official NextDNS DNS over HTTPS Proxy.
endef
Expand Down
5 changes: 2 additions & 3 deletions net/nextdns/files/nextdns.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ config nextdns main
#list host_config '10.0.1.2/32=abc123'
#list host_config '10.0.3.0/24=def321'

# Listen on a custom local port so a DNS front (like dnsmasq) can use us as
# a forwarder.
option listen '127.0.0.1:5342'
# Configure NextDNS cli client to serve DNS to other clients on the network.
option setup_router '1'

# Expose LAN clients information in NextDNS analytics.
option report_client_info '1'
Expand Down
76 changes: 0 additions & 76 deletions net/nextdns/files/nextdns.init

This file was deleted.

0 comments on commit 8f935f3

Please sign in to comment.