Skip to content

Commit

Permalink
bump version to 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aa65535 committed Aug 7, 2015
1 parent 4f2692e commit 21cb752
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#
# Copyright (C) 2015 OpenWrt-dist
#
# This is free software, licensed under the MIT.
# See /LICENSE for more information.
# This is free software, licensed under the GPLv3.
# See /COPYING for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=ChinaDNS
PKG_VERSION:=1.3.1
PKG_VERSION:=1.3.2
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/aa65535/openwrt-chinadns/releases/download/v$(PKG_VERSION)
PKG_MD5SUM:=a68bd997f3d69291605f69e93c1514c2
PKG_MD5SUM:=c529ac231aed4e5874251639f77e92de

PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=COPYING
Expand Down Expand Up @@ -41,14 +41,12 @@ endef

define Package/ChinaDNS/conffiles
/etc/config/chinadns
/etc/chinadns_iplist.txt
/etc/chinadns_chnroute.txt
endef

define Package/ChinaDNS/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/chinadns.init $(1)/etc/init.d/chinadns
$(INSTALL_CONF) $(PKG_BUILD_DIR)/iplist.txt $(1)/etc/chinadns_iplist.txt
$(INSTALL_CONF) $(PKG_BUILD_DIR)/chnroute.txt $(1)/etc/chinadns_chnroute.txt
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/chinadns.config $(1)/etc/config/chinadns
Expand Down
2 changes: 0 additions & 2 deletions files/chinadns.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

config chinadns
option enable '1'
option compression '1'
option bidirectional '0'
option chnroute '/etc/chinadns_chnroute.txt'
option port '5353'
option server '114.114.114.114,8.8.4.4'

5 changes: 1 addition & 4 deletions files/chinadns.init
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ start_chinadns() {
[ "$enable" = 1 ] || return 0
append_parm $1 port "-p"
append_parm $1 server "-s"
append_parm $1 iplist "-l"
append_parm $1 chnroute "-c"
append_bool $1 compression "-m"
append_parm $1 result_delay "-y"
append_bool $1 bidirectional "-d"
service_start /usr/bin/chinadns \
$parms
$parms -m
return $?
}

Expand Down

2 comments on commit 21cb752

@faninx
Copy link

@faninx faninx commented on 21cb752 Nov 2, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以在 release 加入 mvebu 版本么? 自己编译不知道怎么老是错

@aa65535
Copy link
Owner Author

@aa65535 aa65535 commented on 21cb752 Nov 2, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@faninx 加了

Please sign in to comment.