[Bug 294685] ports-mgmt/pkg: regession, pkg 2.7 does not honour http_proxy from pkg.conf any more

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Apr 2026 12:44:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294685

            Bug ID: 294685
           Summary: ports-mgmt/pkg: regession, pkg 2.7 does not honour
                    http_proxy from pkg.conf any more
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: rz-rpi03@h-ka.de
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Hello,

within several VMs I have to configure a http proxy in pkg.conf by
pkg_env: { http_proxy: ....}

This used to work up to pkg 2.6.2.

At the moment I have some VMs with pkg 2.7.0 and 2.7.4, all ignoring the
http_proxy configuration.

tcpdumps from 2.6.2 and 2.7.x showed that 2.7.0 tries to connect to
pkgmir.geo.freebsd.org directly, while 2.6.2 uses the configured proxy as
expected.


Kind regards

  Ralf

-- 
You are receiving this mail because:
You are the assignee for the bug.