Summary: | [feature request] ports-mgmt/pkg: allow 'http_proxy' in repository context | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Emanuel Haupt <ehaupt> |
Component: | Individual Port(s) | Assignee: | freebsd-pkg (Nobody) <pkg> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(pkg) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Emanuel Haupt
2019-04-18 07:07:17 UTC
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" } } |