Move adguard-dns to github (temporary personal account)

This commit is contained in:
Eugene Bujak 2018-08-29 16:18:46 +03:00
parent 5e30ec5c95
commit ed4eb605be
2 changed files with 5 additions and 7 deletions

View File

@ -12,13 +12,11 @@ GOPATH=$(shell pwd)/go_$(VERSION)
clean: clean:
rm -fv *.deb rm -fv *.deb
## replace bit.adguard.com with github and remove ln -s once we push adguard-dns to github ## replace hmage/curly-system with AdguardTeam/AdguardDNS
build: check-vars clean build: check-vars clean
mkdir -p $(GOPATH) mkdir -p $(GOPATH)
GOPATH=$(GOPATH) go get -v -d -insecure bit.adguard.com/dns/adguard-dns GOPATH=$(GOPATH) go get -v -d github.com/hmage/curly-system
GOPATH=$(GOPATH) go get -v -d github.com/coredns/coredns GOPATH=$(GOPATH) go get -v -d github.com/coredns/coredns
mkdir -p $(GOPATH)/src/github.com/AdguardTeam
ln -s $(GOPATH)/src/bit.adguard.com/dns/adguard-dns $(GOPATH)/src/github.com/AdguardTeam/AdguardDNS
cp plugin.cfg $(GOPATH)/src/github.com/coredns/coredns cp plugin.cfg $(GOPATH)/src/github.com/coredns/coredns
cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go generate cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go generate
cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go get -v -d -t . cd $(GOPATH)/src/github.com/coredns/coredns; GOPATH=$(GOPATH) go get -v -d -t .

View File

@ -25,9 +25,9 @@ pprof:pprof
prometheus:metrics prometheus:metrics
errors:errors errors:errors
log:log log:log
ratelimit:github.com/AdguardTeam/AdguardDNS/coredns_plugin/ratelimit ratelimit:github.com/hmage/curly-system/coredns_plugin/ratelimit
refuseany:github.com/AdguardTeam/AdguardDNS/coredns_plugin/refuseany refuseany:github.com/hmage/curly-system/coredns_plugin/refuseany
dnsfilter:github.com/AdguardTeam/AdguardDNS/coredns_plugin dnsfilter:github.com/hmage/curly-system/coredns_plugin
cache:cache cache:cache
file:file file:file
forward:forward forward:forward