and it seems I need go to install it or build, I extracted the tar file, but I don't know how to proceed for the next steps, some tips or advices?
thanks
Typically you'd decompress the file, and put it into the packages directory, and build from there. It should all be in the developer guides. It's been a long time since I've done this specific thing, though, so if you need more specific help, hopefully other developers can chime in.
james@msi:/media/james/D/WRT_build/test_OWRT/feeds/packages$ make package/dnsproxy/download
make: *** No rule to make target 'package/dnsproxy/download'. Stop.
I thiink I need to be elsewhere in my directories to run that?
You should use the existing OpenWrt Makefile for that package, and just edit the Makefile to use the newer upstream version. Once you have built and tested it, you could author a pull request to get the updated package definition into the OpenWrt packages feed repo.
The error message will tell you the expected hash (the one currently in the Makefile) and the computed hash (the one you should put into the Makefile).
but, still the error about go version and about symlink
media/james/D/WRT_build/divest_OWRT/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/share/gocode/src does not exist, skipping symlinks
Finding targets
go: ../../go.mod requires go >= 1.21.7 (running go 1.21.5; GOTOOLCHAIN=local)
Building targets
go: ../../go.mod requires go >= 1.21.7 (running go 1.21.5; GOTOOLCHAIN=local)
mkdir -p /media/james/D/WRT_build/divest_OWRT/dl
SHELL= flock /media/james/D/WRT_build/divest_OWRT/tmp/.dnsproxy-0.65.0-1.tar.gz.flock -c ' /media/james/D/WRT_build/divest_OWRT/scripts/download.pl "/media/james/D/WRT_build/divest_OWRT/dl" "dnsproxy-0.65.0-1.tar.gz" "12720de6f1540aee7d3c08b6b32e602d05126a8c55f251bbb94d379306608241" "" "https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v0.65.0-1?" '
+ curl -f --connect-timeout 20 --retry 5 --location https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v0.65.0-1?/dnsproxy-0.65.0-1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 14 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location https://sources.cdn.openwrt.org/dnsproxy-0.65.0-1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location https://sources.openwrt.org/dnsproxy-0.65.0-1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location https://mirror2.openwrt.org/sources/dnsproxy-0.65.0-1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
No more mirrors to try - giving up.
No, as you are the first one to find tech it from upstream, the more serious is the first error of not finding it upstream.
You have something wrong in Makefile.
what I see, is like openwrt build go version 1.21.5, so it is the problem, all other problems are now ok, seems only that one the problem.
build_dir/hostpkg/go-1.21.5
Installed Go for linux/amd64 in /media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap
Installed commands in /media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap/bin
( cd "/media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap_1.17/src" ; GOROOT_BOOTSTRAP="/media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap" GOHOSTARCH="amd64" GOCACHE="/media/james/D/WRT_build/divest_OWRT/tmp/go-build" GOENV=off CC="/media/james/D/WRT_build/divest_OWRT/staging_dir/host/bin/gcc" CXX="/media/james/D/WRT_build/divest_OWRT/staging_dir/host/bin/g++" bash make.bash -v --no-banner ; )
Building Go cmd/dist using /media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap. (go1.4-bootstrap-20170531 linux/amd64)
cmd/dist
Building Go toolchain1 using /media/james/D/WRT_build/divest_OWRT/build_dir/hostpkg/go-1.21.5/.go_bootstrap.