From nobody Tue Feb 1 01:23:42 2022 X-Original-To: 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 39F0C19A84DB for ; Tue, 1 Feb 2022 01:23:53 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [IPv6:2a01:4f8:171:f902::5]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JnnJS10Q7z4sLM for ; Tue, 1 Feb 2022 01:23:52 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from [IPV6:2001:16b8:64f5:a500:81b9:b437:2e37:62f3] (200116b864f5a50081b9b4372e3762f3.dip.versatel-1u1.de [IPv6:2001:16b8:64f5:a500:81b9:b437:2e37:62f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id 9CD2215196 for ; Tue, 1 Feb 2022 01:23:43 +0000 (UTC) Message-ID: <57229fdd-d664-3578-701e-c3121bee26a7@rlwinm.de> Date: Tue, 1 Feb 2022 02:23:42 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: Modular fetch design proposal: Was: [HEADSUP] Deprecation of the ftp support in pkg Content-Language: en-US To: ports@freebsd.org References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> From: Jan Bramkamp In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JnnJS10Q7z4sLM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of crest@rlwinm.de designates 2a01:4f8:171:f902::5 as permitted sender) smtp.mailfrom=crest@rlwinm.de X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[rlwinm.de]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[ports]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[2001:16b8:64f5:a500:81b9:b437:2e37:62f3:received] X-ThisMailContainsUnwantedMimeParts: N On 24.01.22 16:37, Freddie Cash wrote: > Isn't that just reinventing libfetch which is already in the base install? My proposal is about empowering users to hook in their own loosely fetch helpers instead of implementing a common API to fetch from a handful of preselected URL schemas, but it would make sense to include a libfetch based helper for the protocols implemented by libfetch as part of pkg if only to make sure my design is powerful enough and not to hard to implement.