Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2019 07:07:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 237356] [feature request] ports-mgmt/pkg: allow 'http_proxy' in repository context
Message-ID:  <bug-237356-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237356

            Bug ID: 237356
           Summary: [feature request] ports-mgmt/pkg: allow 'http_proxy'
                    in repository context
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: ehaupt@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

As the pkg.conf (5) man page states it is currently possible to specify a H=
TTP
proxy within the global pkg environment context like so:

pkg_env: {
  http_proxy: "http://myproxy:3128",
}

It would be very useful if it were possible to specify HTTP proxies within a
repository configuration context. For instance:

# /usr/local/etc/pkg/repos/mycorporaterepo.conf
FreeBSD: {
        url: "pkg+http://my.company.tld/${ABI}/latest",
        http_proxy: "http://someuser:secret@myproxy:3128"
}


This logic would be consistent with other repository config systems such as=
 yum
(search 'proxy'):

https://linux.die.net/man/5/yum.conf

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237356-32340>