From nobody Sat Oct 21 17:15:11 2023 X-Original-To: pkg@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 4SCSlV5v1pz4xHtX for ; Sat, 21 Oct 2023 17:15:50 +0000 (UTC) (envelope-from pascal.pype@skynet.be) Received: from mailsec219.isp.belgacom.be (mailsec219.isp.belgacom.be [195.238.22.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign RSA OV SSL CA 2018" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SCSlV0Ln2z4Y95 for ; Sat, 21 Oct 2023 17:15:49 +0000 (UTC) (envelope-from pascal.pype@skynet.be) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skynet.be header.s=rmail header.b=KvEL9zND; spf=pass (mx1.freebsd.org: domain of pascal.pype@skynet.be designates 195.238.22.115 as permitted sender) smtp.mailfrom=pascal.pype@skynet.be; dmarc=pass (policy=quarantine) header.from=skynet.be DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skynet.be; i=@skynet.be; q=dns/txt; s=rmail; t=1697908550; x=1729444550; h=date:from:to:subject:message-id:mime-version: content-transfer-encoding; bh=7lTETFpwt7r6zK6bhe18Qc496J7mdDA+H3ENxIL9OWU=; b=KvEL9zNDynRZacP77GkN/QA01rbUn4Ffo/Dyl01Lptl/QR8tyg9UPxMN tPNXojvYKp4pTHhZo1jph/Tc8EACzUdqq6/GXa4zWssyaytrrXVYzj4F0 UMtt8fKqL+vDRWTNfhnWQ2ePyMPjSSOPclVLqonY6BWKSgr2Dmccw4rHi o=; X-ExtLoop: 1 X-IPAS-Result: =?us-ascii?q?A2EBBAD6BTRl/2pQs1tagQkJgUaDM5gPk3MMBol6gX4PA?= =?us-ascii?q?QEBAQEBAQEBCUQEAQGMICc1CA4BAgQBAQEBAwIDAQE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1T2Mw0MBkI1GrTxo4ZJ OJl7vRcQS9xVkHFdX90vxNwS0mSNoUekFPLzOTWXWV+ACQqflO1q8iCAn3aMqU02vosJ1BOz 8UjAy8UZSGvuueuwaikH7wEasQLdKEHPaswu3RkzHfdCv0vRZzERqzL47e03h9h34YXQqeYN 5JfMGIxBPjDS0Qn1lM/EJsll+6swGHuazBws1GEo6crpWLepOB0+OS8b4qOJoLXLSlTthvDm TP69GfrPjU1OvOZ9TC/6CKxjPCayEsXX6pXTtVU7MVCmF6c7mIJBRAcTlf9puO24nNSQPoGc xJSqnJr9PdjsR3yCNDxRBn9rG+C+B8HQ5xaHuk14QqKz+ze7m51G1Q5c9KIU/R+3OdeeNDg/ gbhcw/BbdCkjFFZpb9xOFtZQfNe9BX59VM/WBI= IronPort-HdrOrdr: A9a23:4hWcyqMfN0dXHMBcTv+jsMiBIKoaSvp037BL7SFMoHluGaalfq +V7ZcmPHPP5Qr5IUtQ/+xoW5PvfZq/z/JICOAqVN+ftGOPghrQEGgI1+TfKlPbexEX+oZmpM Vdm6UXMqyWMbBx5fyKhTVRHL4bsb26zJw= X-Talos-CUID: =?us-ascii?q?9a23=3A7tKEf2j+nIPGRt0XDnU0TldP6zJuXl3Bl1HhI3W?= =?us-ascii?q?BMk12UbakZWKV4KJ+jJ87?= X-Talos-MUID: 9a23:7ywvLwSARUAeH85nRXSx3w4zCMxr8ZiKJ04il6kMgdPUKCZvbmI= X-IronPort-Anti-Spam-Filtered: true Received: from 106.80-179-91.adsl-dyn.isp.belgacom.be (HELO Gimli.localdomain) ([91.179.80.106]) by relay.proximus.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2023 19:15:33 +0200 Date: Sat, 21 Oct 2023 19:15:11 +0200 From: Pascal Pype To: pkg@FreeBSD.org Subject: The ftp scheme doesn't seem to be supported anymore whilst the manpage still mentions it. Message-ID: <20231021191511.30966b7d.pascal.pype@skynet.be> Organization: home X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.30; x86_64-slackware-linux-gnu) List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; DWL_DNSWL_LOW(-1.00)[skynet.be:dkim]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[skynet.be,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:195.238.22.0/24:c]; R_DKIM_ALLOW(-0.20)[skynet.be:s=rmail]; RCVD_IN_DNSWL_LOW(-0.10)[195.238.22.115:from]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[pkg@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:5432, ipnet:195.238.0.0/19, country:BE]; DKIM_TRACE(0.00)[skynet.be:+]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SCSlV0Ln2z4Y95 Greetings, I was trying to set up a custom repository built via poudriere. The jail is: 13_2-RELEASE-amd64 with version 13.2-RELEASE-p4. The ports collection is: local and comes from quarterly: 2023Q3. The poudriere buid was done on a FreeBSD build server with full OS information: FreeBSD fBsdSrvr 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 A FreeBSD client is used with full OS information: FreeBSD fBsdClnt 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 On that client an additional repository configuration file was created. /usr/local/etc/pkg/repos/fBsdSrvr.conf The content of that repository configuration file was: fBsdSrvr: { url: "ftp://fBsdSrvr/13_2-RELEASE-amd64-local", enabled: yes, mirror_type: NONE } FreeBSD: { enabled: no } The command 'pkg update' was invoked on fBsdClnt. This resulted in the error massages: pkg: invalid scheme ftp pkg: Cannot parse configuration file! The fBsdSrvr stanza was commented out in the configuration file. The command 'pkg config VALID_URL_SCHEME' was invoked on fBsdClnt. The response was: pkg+http pkg+https https http file ssh tcp The 'ftp' scheme doesn't appear in the list of supported schemes. Yet the man page 'pkg.conf(5)' still states: For a MIRROR_TYPE of NONE, any of the URL schemes supported by libfetch(3) can be used, including: http://, https://, ftp://, or file://. In addition a ssh:// URL scheme is also supported. Where MIRROR_TYPE is SRV, you should use a pkg+http:// or pkg+https:// (etc.) URL scheme. Using an http:// URL implies that the hostname part is a simple hostname according to RFC 2616, and is no longer accepted. As you can see, the scheme ftp:// is mentioned as being supported by the pkg program, whilst is isn't the case anymore. The configuration file on the cient (fBsdClnt) was changed to fBsdSrvr: { url: "ssh://fBsdSrvr/usr/local/poudriere/data/packages/13_2-RELEASE-amd64-local", enabled: yes, mirror_type: NONE } FreeBSD: { enabled: no } This solved the problem. When using pkg on fBsdClnt, it asks the root password of fBsdSrvr on each invocation. Is there a way to register the root password of fBsdSrvr that pkg asks in fBsdClnt ? Kind regards, Pascal Pype