lixingcong / dnsmasq-regex-openwrt Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aa65535/openwrt-dnsmasq
dnsmasq-regex for OpenWrt/LEDE
This project forked from aa65535/openwrt-dnsmasq
dnsmasq-regex for OpenWrt/LEDE
感谢大佬的辛勤工作。
发现正则相关的补丁没有打到 15.05 17.01, 分支上面 😄
麻烦请看一下这些错误我应该如何解决?debian8.5 x64,在此环境下编译过ssr。另外请问如果要升级,我看官方最新是2.76,我是否只需要更改m文件的版本号就可以了?
/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75:dnsmasq-2.75 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -DHAVE_DNSSEC -DVERSION='"2.75"' -c dnssec.c
In file included from dnsmasq.h:85:0,
from dnssec.c:18:
/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
dnssec.c:22:24: fatal error: nettle/rsa.h: No such file or directory
compilation terminated.
/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75/Makefile:156: recipe for target 'dnssec.o' failed
make[4]: *** [dnssec.o] Error 1
make[4]: Leaving directory '/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75/src'
Makefile:82: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75'
Makefile:151: recipe for target '/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75/.built' failed
make[2]: *** [/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/dnsmasq-full/dnsmasq-2.75/.built] Error 2
make[2]: Leaving directory '/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/package/dnsmasq'
package/Makefile:196: recipe for target 'package/dnsmasq/compile' failed
make[1]: *** [package/dnsmasq/compile] Error 2
make[1]: Leaving directory '/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64'
/root/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64/include/toplevel.mk:185: recipe for target 'package/dnsmasq/compile' failed
make: *** [package/dnsmasq/compile] Error 2
root@debian:~/OpenWrt-SDK-ar71xx-nand_gcc-5.3.0_musl-1.1.15.Linux-x86_64#
server=/:.google.:/127.0.0.1#5353
ipset=/:.google.:/gfwlis
smartdns比dnsmasq更加好用和更加高效. 但是缺少了regex匹配, 增加了很多条目. 不知道hub主是否有可能给smartdns打个补丁增加regex?
你的补丁真的很实用, 条目可以少很多
Hi) I really like your project and what you've done.
I'm going to switch to the last version of OpenWrt, where is no ipset support anymore. But nftset works by default there.
Will wour version support regex for NFTSets or does it already work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.