The problem is to download sources for machine without Internet. First time met on gohugo and recently checked on gotty. For example there is a server without Internet and there is a laptop with Internet. For most ports links on sources can be created with
Files of gotty in distfiles:
The question: How to install gotty without Internet?
make fetch-recursive-list
. Sources can be downloaded on laptop and placed in /usr/ports/distfiles on server. But with port on Golang this doesn't work. The log's fragment of poudriere bulk www/gotty:
Code:
=======================<phase: fetch >============================
===> License MIT accepted by the user
===> Fetching all distfiles required by gotty-1.5.0_5 for building
===> Fetching github.com/sorenisanerd/gotty dependencies
# get https://proxy.golang.org/github.com/creack/pty/@v/v1.1.11.mod
# get https://proxy.golang.org/github.com/%21n%21y%21times/gziphandler/@v/v1.1.1.mod
# get https://proxy.golang.org/github.com/creack/pty/@v/v1.1.11.mod: Get "https://proxy.golang.org/github.com/creack/pty/@v/v1.1.11.mod": dial tcp: lookup proxy.golang.org on 127.0.0.1:53: server misbehaving
**********************************
*** Error code 1
Stop.
Code:
# tree /usr/ports/distfiles/go/www_gotty/
/usr/ports/distfiles/go/www_gotty/
└── sorenisanerd-gotty-v1.5.0_GH0
├── sorenisanerd-gotty-v1.5.0_GH0.tar.gz
├── v1.5.0.mod
└── v1.5.0.zip
The question: How to install gotty without Internet?