From owner-freebsd-ports@freebsd.org Sat Jun 22 14:21:20 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EAFB15D5DE2 for ; Sat, 22 Jun 2019 14:21:20 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CDB777FA2; Sat, 22 Jun 2019 14:21:20 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from t480.local (189.58.59.249.dynamic.adsl.gvt.net.br [189.58.59.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: dbaio/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 39105116E6; Sat, 22 Jun 2019 14:21:19 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Date: Sat, 22 Jun 2019 11:21:16 -0300 From: "Danilo G. Baio" To: Matthias Fechner Cc: freebsd-ports@freebsd.org Subject: Re: How to handle go dependencies Message-ID: <20190622142115.cl6zvn7lmttyfl6a@t480.local> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yzwitmgfn54n43uz" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 1CDB777FA2 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2019 14:21:20 -0000 --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--