From nobody Tue Jul 02 06:59:09 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WCv0W69Xwz5Pn19 for ; Tue, 02 Jul 2024 06:59:23 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WCv0W5MQQz49Mm; Tue, 2 Jul 2024 06:59:23 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719903563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X/srYGJR4dlROdzzT8BE3Fqe1gQiihD3Tk3qds5v9TA=; b=xzRTagrU+HmzOV9YdSYPgvZf/JwqM1N3MjsgWaveJBqYP1W+n1PWngqUsC8Fvq1w8vAnT7 81S7tFV5b2O24eJ2CLynTMlGb+1OCy2fgiXGOohWZ1aITWVpy5ZqUjMZxm/MShVWs4kNKE uwJe/8LTOsY+r7rM9wDqg1OulzrdOAP2FSUBxjPBKkrdKTJHw+x3Tw9HvZ87+AnN4qhspt B7DteUUwGZ36P7onJszluWkw823cFe/i9aqkiR9maoLMKvYwcoLFVKZ0EcDgLPVkvP7eED uCQ4qg8tF6Fkxjl0VOZ5Q/zmiRkVAruA4q+4zOTugCBx4KFIQbynp2Jm8ui0mQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719903563; a=rsa-sha256; cv=none; b=oaP0ZpI8yQCMqdBwa6Mj6JNkhxBOeBLZj7VfIhJov5aSd6Jt3kjiH8QqA4KK+WujFDPRev R/tXd8+4G4YM4rgJiKt8/Hy6MmkzIli+BH/Ni1XeKCzijGnB/PlwCmqpICNCl4s4o1Rb+c spmZRZw/4gXBKqwWhuZUkFGG98p6BFI0yFwClZ48QN1z3t37DUP7AQaR8zgCtiNAuFLj0W 2pC+ulmkzvyBmSpY838vCE8QzaaivfRSPrSh7uLzfEU56npj+fkyP0VhEjbtPX5cZdZXHw 3awaR974a3SxjmvjJ8KBcdiBshRhxou26M9XjPcLw25oE4GL/6nxmnJPnQPliA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719903563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X/srYGJR4dlROdzzT8BE3Fqe1gQiihD3Tk3qds5v9TA=; b=Xwur/bP8CPhvIZlLk8Ld2RPwiJjlKG6DGfbeETQSWoglcT+2fTtqBIkj0jtR1ocyNcHZHq Z7h8fwYyXx5MIRHgvwQ1sQdA4MtWFHAC8UQYRZA+0oABVccaLx0O1fU+pdyO+o8Th3TxB0 k8uOM4gBW+efY850OEpEEGnJdxtCo3f0ecINlrM3J/30sPnD7V7pxuDuEus7ViYeMAu1zd JBxVxMP1iYs405W8ohUrIyn0Hz14dsGnKddecvMylV6gV67kMNv56R9VGMcSa9nKswtqO1 d3IEQx9dAWb2ecN8JDeK1NmdIY5eB4rmVIVJwI7DxdSk/zg7t+sxykxn11fm0Q== Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WCv0W4mfvzyc0; Tue, 2 Jul 2024 06:59:23 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-64b3655297aso33288467b3.1; Mon, 01 Jul 2024 23:59:23 -0700 (PDT) X-Gm-Message-State: AOJu0YzS26zbZECc8VVBfWsXTqip5Yf5GmaKrP+RqVEi6HPQe57OaZ1/ ckPQNreBF/Z1JuR6XkBbT8WwXjqyuUO/XRS9t6j/l7AgnGOZgFrlF8X6wMFz47XrrIRRhDGKX3b cmsfEdmwBJPZ7MeMyv615mW48LY4= X-Google-Smtp-Source: AGHT+IFMwvcMS+Vg7L3drrO6h0y6PHAsa9sgoTiXxQtcuIv5Y8+ptFZUwVK4XDveJ2JZDAf2vWChINRz8+lkMeQW10A= X-Received: by 2002:a0d:f985:0:b0:631:3718:584a with SMTP id 00721157ae682-64c753195aemr69943437b3.50.1719903562535; Mon, 01 Jul 2024 23:59:22 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 References: <8179bcf1-d858-42bf-950f-22837372b0da@freebsd.org> In-Reply-To: <8179bcf1-d858-42bf-950f-22837372b0da@freebsd.org> From: Nuno Teixeira Date: Tue, 2 Jul 2024 07:59:09 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Extend go.mk to be able to download from different additional sources To: Matthias Fechner Cc: freebsd-ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e4a34c061c3e40de" --000000000000e4a34c061c3e40de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Matthias, For a quick look we have around 15 ports using gomod workaround including one of "mine" ports: dns/blocky. For some time I was wandering if this problem is upstream responsability to solve since most go projects have goproxy thing setup correctly. Anyway, I'm happy that your review lands. Extension looks good. Thanks! Matthias Fechner escreveu (sexta, 28/06/2024 =C3=A0(= s) 13:39): > Hi, > > I have the use-case from some ports I maintain which are related or are > based on go. > > Upstream does not provide the go.mod via goproxy but e.g. only on gitlab > or github. > Therefor the go modules approve to build the port is not possible. > > The extension enables the go.mk to more flexibly download the go.mod > from different sources. > > Would be nice if some can have a look to the review: > https://reviews.freebsd.org/D45631 > > and share your opinion. > The modification is designed to have no effect to existing ports/packages= . > > Thanks a lot! > > Gru=C3=9F > Matthias > > -- > > "Programming today is a race between software engineers striving to > build bigger and better idiot-proof programs, and the universe trying to > produce bigger and better idiots. So far, the universe is winning." -- > Rich Cook > > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000e4a34c061c3e40de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Matthias,

For a quick = look we have around 15 ports using gomod workaround including one of "= mine" ports: dns/blocky.
For some time I was wandering if th= is problem is upstream responsability to solve since most go projects have = goproxy thing setup correctly.

Anyway, I'm hap= py that your review lands. Extension looks good.

Thanks!<= br>

Matthias Fechner <mfech= ner@freebsd.org> escreveu (sexta, 28/06/2024 =C3=A0(s) 13:39):
Hi,

I have the use-case from some ports I maintain which are related or are based on go.

Upstream does not provide the go.mod via goproxy but e.g. only on gitlab or github.
Therefor the go modules approve to build the port is not possible.

The extension enables the go.mk to more flexibly download the go.mod
from different sources.

Would be nice if some can have a look to the review:
https://reviews.freebsd.org/D45631

and share your opinion.
The modification is designed to have no effect to existing ports/packages.<= br>
Thanks a lot!

Gru=C3=9F
Matthias

--

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." --=
Rich Cook




--
Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000e4a34c061c3e40de--