[Bug 237356] [feature request] ports-mgmt/pkg: allow 'http_proxy' in repository context
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 18 07:07:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237356
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 at FreeBSD.org
Reporter: ehaupt at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
As the pkg.conf (5) man page states it is currently possible to specify a HTTP
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list