[Bug 237356] [feature request] ports-mgmt/pkg: allow 'http_proxy' in repository context
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 17 14:31:35 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237356
Emanuel Haupt <ehaupt at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |FIXED
--- Comment #1 from Emanuel Haupt <ehaupt at FreeBSD.org> ---
For the record, Bapt notified me via IRC that this is now possible with the
following syntax:
# /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD:
{
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
env: { "http_proxy": "http://someuser:secret@myproxy:3128" }
}
# /usr/local/etc/pkg/repos/someotherrepo.conf
someotherrepo:
{
url: "pkg+http://somewhereelse.internal.tld/",
env: { "http_proxy": "http://somewhereelse-proxy.internal.tld:3128" }
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list