From nobody Mon Oct 23 19:14:39 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 4SDlHk5BWjz4yPHG for ; Mon, 23 Oct 2023 19:14:42 +0000 (UTC) (envelope-from bapt@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDlHk4YQ8z3KXc; Mon, 23 Oct 2023 19:14:42 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698088482; 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=LIHJsiqXI1XAhyj7NI19iK/7IWEt6EXqElNS11eJ2xw=; b=V1YW+FcOVYDScfAJpAV7VaJLw6attKgzIKj7YERZMEezXKMEMPhouR6UR4FZQFxvlmSrJ9 WgufNXAc4UFaPmDbbNXWKh6a5TkBg63/VHmUokgUNUHaduahvXqyjKxchgNoWPwgkb6PCB RSk7ybmHdeRHyxgDV24PdpNtvX56j+4sNwJxQN/xgFdpJCPsiN7ZcU8j/Uhck1a2X4Ps5o PFx54rCMw9qVtjM9RfIXApBldK6j7bsqUiH4RU24RDL+w88qStfG/6+SBtsh8rJNK8DTyC mEifEHPwlJ02pFemZGPddpaZXEP+amVhwNjk/OkGJWh1Jj/LzXs8V7anCbMxCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698088482; a=rsa-sha256; cv=none; b=gsrOaVKz90VyuKyrRW9CbdgV1USvBEUn9/m0RkPUUwP3n10f+HTbfH7lObPypOM1iTIfkS DI1qzxyAYIiJ446N7BLAc8w4Hb1W9aw0YEwO0t9qmFGZo6/KOyu9fbltkmVCa9XoR9NTQw KovHhcD/oTpkvjZuAdH0NKPSVDeCHR9Q3c3x1BE1PxNSjSgl9aX+On3HNDvaxMtz3iEc6N RkR+ruaNX58XLzii+pOfsaYcW1AHdz8pek4ARv2xJLndXz2BlxzUp7HbhzTaG0V8o2Peti 0N+4tMI+A25XFwq1fGsX9dfaZeQpth+/X+m4bq/5kx9BNhTF/Aadg4M9fSaUzw== 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=1698088482; 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=LIHJsiqXI1XAhyj7NI19iK/7IWEt6EXqElNS11eJ2xw=; b=Wft8PRVJdIGkZyMSkTccgcheNTgNKxhEGkSIICSQRpfyMI6jm+4j5O9qk4sNmY6mODhJZE 8XS7gLq9D1WBVz7SYsWy9YwtnSONTnrYxe7h35p5yFHlaovEYX26MNlRjsFDooH5+6TY8Z eZZxiCKOQa4kLmZkCQnWksZZghm4jc/QG1Typadi6nkw2eP/IJ9bzDV4kK4r0Ve93GYD4+ f27h2FFA9sml3TumqsBp3ANL7LkUYkH4EU7YKvjXr/1fpOYbTPLSxMy6JrwTBactzIOLOx YLEK/P7AFArSmUTvxxebJzlCTFTiyJFFRNUCNwIjPajF0ba0VrgtSr5aNvGIKQ== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SDlHk2wqQz13Mk; Mon, 23 Oct 2023 19:14:42 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id C9F6AA0432; Mon, 23 Oct 2023 21:14:39 +0200 (CEST) Date: Mon, 23 Oct 2023 21:14:39 +0200 From: Baptiste Daroussin To: Pascal Pype Cc: pkg@freebsd.org Subject: Re: The ftp scheme doesn't seem to be supported anymore whilst the manpage still mentions it. Message-ID: References: <20231021191511.30966b7d.pascal.pype@skynet.be> 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-Disposition: inline In-Reply-To: <20231021191511.30966b7d.pascal.pype@skynet.be> On Sat, Oct 21, 2023 at 07:15:11PM +0200, Pascal Pype wrote: > 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: This is a bug, it should be removed from the manpage, yes ftp support has been removed and annonced via multiple canals, but apparently, not loudly enough :( > > 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 ? Using an ssh key is the way to go. Best regards, Bapt From nobody Sun Oct 29 21:00:45 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 4SJTML5q5hz4yCV2 for ; Sun, 29 Oct 2023 21:00:46 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJTML0m3lz4Ztv for ; Sun, 29 Oct 2023 21:00:46 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698613246; 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=QSFC+3GmEgZbE1ZAGimsLtr3sjHtR5XKeJVLmqYOYSY=; b=ZcD4qEh0sx+2rVBC3IweRaOx47xVAbbIFLokzoi/sZnhCKOsy2D7/8Esjw9r1xzg37kq2Y tOi67H9UZyVwytpKwVF71NLf6MO6kmygG9Ieonge04cRVLbk7ejRRfGRtJaPanHblgNQNL 2nVLZh5CJdQtPu2RH77I2SJiCOZIpJKAexOYF5DuHgml/RT/hD0egQAdba3TUSGKtJ7CBZ RaWOATXqDiYi5X38V4+CmQ1cdHRqGxpJiwEUpyV36Y3OfkFp5KuHryroGVLLcR+Ra8DNRL QTqk0dJmQ8KV/FcZA512/93/l5F02V/GTUvT6HM06RnV9DlaXlWB23biwbnoOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698613246; a=rsa-sha256; cv=none; b=NiL0LrCAkaEcNnQ3LY09CwTF43i+0248xusysIZoD18W4nISQ62W2PtwskV4uoDnDAGgd8 PZJUJfnRIZFj/LN8V7WO1QkrhuB57GyyhRz45J/Yt9gXrbBVjxwLaI0etOasvKnvgPPIln seI5O8lVWnMAS1r7rRqhcCpM/AIip1Ro5MJrgYaEmzprK48at1gXUEzVk7jTL54dgdVtAK g/wo2CI/54d7tlLGzLR3rqygAmWn6HE6ay3SvjMlKdWRRknTtP3/a0wmUGMRq/6d20CNUC M4+oukwt+BezjUqeL/o3hQYbum9dRQEOlM5aITwDAebKyVcpxEd9cP/hEunj8w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SJTMK6z7jzt4j for ; Sun, 29 Oct 2023 21:00:45 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39TL0jSb098238 for ; Sun, 29 Oct 2023 21:00:45 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39TL0jcm098237 for pkg@FreeBSD.org; Sun, 29 Oct 2023 21:00:45 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202310292100.39TL0jcm098237@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 29 Oct 2023 21:00:45 +0000 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: multipart/alternative; boundary="16986132455.b58ffE3A.95754" Content-Transfer-Encoding: 7bit --16986132455.b58ffE3A.95754 Date: Sun, 29 Oct 2023 21:00:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 237369 | ports-mgmt/pkg: pkg delete removes required NLS d New | 256415 | ports-mgmt/pkg throws "Failed: extract" error in Open | 219036 | ports-mgmt/pkg: pkg confused, installs older ver Open | 264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_ 5 problems total for which you should take action. --16986132455.b58ffE3A.95754 Date: Sun, 29 Oct 2023 21:00:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    220049 | ports-mgmt/pkg installs unneeded packages
Open        |    237369 | ports-mgmt/pkg: pkg delete removes required NLS d
New         |    256415 | ports-mgmt/pkg throws "Failed: extract" error in 
Open        |    219036 | ports-mgmt/pkg:  pkg confused, installs older ver
Open        |    264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_

5 problems total for which you should take action.
--16986132455.b58ffE3A.95754--