Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 11:21:16 -0300
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to handle go dependencies
Message-ID:  <20190622142115.cl6zvn7lmttyfl6a@t480.local>
In-Reply-To: <d7b321e9-3258-45b1-7c65-5797908167b0@fechner.net>
References:  <d7b321e9-3258-45b1-7c65-5797908167b0@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--yzwitmgfn54n43uz
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 22, 2019 at 11:58:49AM +0200, Matthias Fechner wrote:
> Dear all,
>=20
> I just prepare the gitlab-ce upgrade to version 12.0.0.
> But I have some problem with a package that uses go to compile.
>=20
> The new version of devel/gitaly has changed the way the package is define=
d.
> They removed now all files from the vendor/ folder and add dependencies
> in a `go.mod` file.
>=20
> If I now build the port it tries to fetch the files while no network
> access is allowed.
>=20
> What is the correct way to getting these dependencies fetched and
> correctly included into the work-source in the fetch step using go?
>=20
> Thanks a lot!
>=20
> Gru=DF
> Matthias
>=20

Try this and remove the go.mod file

ports-mgmt/modules2tuple
https://github.com/dmgk/modules2tuple

Examples:
net/geoipupdate
shells/antibody

Regards.
--=20
Danilo G. Baio (dbaio)

--yzwitmgfn54n43uz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAl0OOVgACgkQmpN7LfMu
iNcplhAAriknKwzpRHUAGpb+D1JI+TiQsJfzqLxSTAtrZwpTVA3lKEp+SIdKpoH0
7lt2k790WCsuqGJ5uHzKWUyqBxvO7FipvmYBPENkZENZk3rdMt1Aebpyccx3xKqG
hA9K1kFWkEcRyx/QBfnJTxLNSurzKuY1Md293JcEeTcpUSvu7ckaXL4Js/7rmr+I
3368ym0LLDaxd06a7vlzwv4V6SNjGsERK6pe8Fn/iLrnATQm2H3EymEw7gOT+Uap
a9iDtd5RPta6MaIoXKM/PaVHmQxrlIVTBDP++KfzIvFkplrkDJsdfrTbcVR1xLt9
HiRqAPQrbtKuZdY4uGxw1HvEPU8xFUVIcnMvt36BJCd1l0+x0Q4jCwyDDXzu6NOS
LASjmJsATVL0/ISxAiKlbWwf1ncfpW0zFeKaoQrGDlkQXtwOmZdhT+s/6CJdpchy
ir7r1CakEFtMGMSAWfeLsdisNRJdU+BKFMEBx3plAkdhd3+jwDpLn6Yv7T0y3h7T
Ef84ylN1JAMFl776en/2V8/5TLeo9FGSgV5RLIHW6+vIS0sH4YDRyh0V5auzNhbQ
fy9ZX7c+aSZsrWbm+8wen1Oar5UVtX5xnQDuZEvWtGsfmVssfab++z0RNw+3P8B7
yaS4Djx3h7j61TJVyJ7iHCZ9Sx/R7FpIQBE3OAVBaoRqEY8TlaQ=
=SJcx
-----END PGP SIGNATURE-----

--yzwitmgfn54n43uz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190622142115.cl6zvn7lmttyfl6a>