From nobody Mon Aug 14 12:14:34 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 4RPYHG4XX0z4qQBS for ; Mon, 14 Aug 2023 12:14:34 +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 4RPYHG0tdXz4dkk for ; Mon, 14 Aug 2023 12:14:34 +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=1692015274; 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: in-reply-to:in-reply-to:references:references; bh=jI+60XCJ7jwtD+ZoXxukWYOYqkI7LAh5ZiN+gbsFDNg=; b=cCQe7l71rTeOUnnM8UakpO1e9zyV4hA1Px2wwA3a7k12GsZW1XjojJjEqEn/I3AlhT97bC wnAgXZ4nAQNAD0ADAWVe/37axtbBHOCrs1NF2xH+Qd3k4fA7rZAfZIsLTFIQjapqMW7ctX +KNEVt7dwhAquqlv4srcN6eNejkdA7pWAV7pUmlRnYYeR0VmO6rDuV9F0KnKZFcBED0xwO McBRTIfPp9UhDEGb4KDIxvZOeE+cHTK1+FVsiy0T17cCA8WtE4GTZzVXO6auTlvsCAmSLR cLupolbvUQT8pUPWxAlSDrSMIWmcGiHe9tscHCCe/gZJHLgQMXtDYx5JwIJ+Rg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692015274; a=rsa-sha256; cv=none; b=xuMH3jqBD/dXILA31DcAnkmosOPN+5xcOfCeXGU383k0R/0dW/7Z1ZKyI7c27313IPHqai O5WsBSwwYkqGGh2n7XL0WLoMvHzQheP52x9AsHueX4woPuGq+exq2RKjdIpC8PhK3Wb+0k rlztNVHLdbT8ZC6dFM8AgArjyzkrpNbOgh8OfxltFbmjN/HyPo9XrOEUZKgmrS9SY7Ke1C 65AHbCirFJnoV+6JH9gIoDGTrs+qXn9mVpJDV1EmphV0yZdRwfyxESAzgfhuTGs0dAJJcN 5OzyVanDpmmLfyRMzG+0Wbm5rFg4/lygVn40um9xnTaRlQ3dvJekKcJA3Vwnmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RPYHF7340zCck for ; Mon, 14 Aug 2023 12:14:33 +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 37ECEXa0076979 for ; Mon, 14 Aug 2023 12:14:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37ECEX8W076978 for pkg@FreeBSD.org; Mon, 14 Aug 2023 12:14:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 273134] ports-mgmt/pkg: pkg 1.20.5 ignores NETRC env variable Date: Mon, 14 Aug 2023 12:14:34 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 273134: ports-mgmt/pkg: pkg 1.20.5 ignores NETRC env variable https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273134 --- Description --- Having repo config like: default: { enabled: yes, priority: 0, url: "https://example.com/freebsd/pkg/${ABI}/default", mirror_type: "none", signature_type: "none", fingerprints: "/usr/share/keys/pkg", env: { NETRC: "/usr/local/etc/pkg/.netrc" } } basic authentication no longer works. I've tried to see how libcurl treats .netrc files, but it seems the feature must be explicitly enabled: https://curl.se/libcurl/c/CURLOPT_NETRC.html The bug is already reported on GitHub: https://github.com/freebsd/pkg/issues/2170