From nobody Fri Jun 28 12:39:38 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 4W9Zl26YZpz5JxPF for ; Fri, 28 Jun 2024 12:39:42 +0000 (UTC) (envelope-from mfechner@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) 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 4W9Zl25wyJz442J for ; Fri, 28 Jun 2024 12:39:42 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719578382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UTX6Yf3g1biG1PVp93KTW2R2NWStTVy7jjuLBsy2Zmo=; b=bYPAKd33oCkzqRHnntRdS8nKM4aR5Ax7uBvxhXCCZ2YY3xC6gbA7IkxhL6L27KzV3SGKgy S/WtnZOijOtdisXxWDHiI8L4ECfbxdEJvk9DryR1h4BSCE/0aWiSdLQAIqRARQpnpCcWMv h8RkBC14QIP4yVE3146WLWFuMr/rQP7+KaaxqPoF0Z+yFUMtOsYEJP9iOmmFuJqPiRCWf9 T+c5GwLEe398tTpUYZqdce8gJMxq0qjotzAEIagUCeEf1cJqAZr4hlIyGX1/ULzfJ6FEv2 qUm8Q7SsFjmOrdwCd4N3KywhnIdMYhzWjBXutBWA9GAfhDO9+yX+doFQjSvhPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719578382; a=rsa-sha256; cv=none; b=lOWSxx7f7thHS+y9uoeMLNElmfEdht+vbveNjOsWLLsR9eE2TbHO+E6TgVrzwF7Z6sAb6j k/wwGvo+V0YSydRUJuDQ0GlW+aLZPf3MhsNM8tkeRNj8xh3oX+RhXhtZyThGwA6SaGBGYU m7tpoP9uAGkjg3Tf953Miv2EL1JNvqxlTS7GeLQtOYUHWxUesyzVxupHrI2JaXz8vRqFC+ DT/LlSAAR6pOOf5WjafOgY5P7iPRvNBfQKLd2cdy+n4z0LHWFN7ZthV9JdV3mCFtQCDWBh LWOCb4y8mM0Mypx/65zn+j1hjElTNNSRUgNy0p+rDxyzF5j/caFwrlaIy2f3mw== 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=1719578382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UTX6Yf3g1biG1PVp93KTW2R2NWStTVy7jjuLBsy2Zmo=; b=nRklwKOW/ySlhz+P/9doqfUgxbDdE8djczm7jlzuDvnVZcOpx7OrTg+WMre1jSqb9Gn8c5 /wVoCqLIilrJU/ibK0rt+/UmYpJ/Pup9PsXC5FP21n1j2y/MEttaaSOUWa6+m9uzkGxIX/ YmEE+4r7N+Bo7AZIfAINjP3psmrftdj8DG5zsL0zEjJlXTPqQK+RexAHwpMZEE/9eesmcf tlTxxYVD+e+fR0xyI1dGsV1YJ0skfNexsAollRyA3sDr+iEw+X4s/Rk78brusPgfo5CIOJ GlQmvWQEG9bSlEWc1ArhId95WwUerJ1mSGEs7YRRDSVDc3vCAPukUWtAF1dK8Q== Received: from [192.168.0.151] (unknown [212.108.137.108]) (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 did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4W9Zl22s1rz16Rb for ; Fri, 28 Jun 2024 12:39:42 +0000 (UTC) (envelope-from mfechner@freebsd.org) Message-ID: <8179bcf1-d858-42bf-950f-22837372b0da@freebsd.org> Date: Fri, 28 Jun 2024 15:39:38 +0300 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 User-Agent: Mozilla Thunderbird To: freebsd-ports@freebsd.org Content-Language: en-US From: Matthias Fechner Subject: Extend go.mk to be able to download from different additional sources Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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ß 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