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:   maintainer-feedback requested: [Bug 237356] [feature request] ports-mgmt/pkg: allow 'http_proxy' in repository context
Message-ID:  <bug-237356-32340-XlzGNDU4Ql@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237356-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237356-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg mailing li=
st
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 237356: [feature request] ports-mgmt/pkg: allow 'http_proxy' in reposit=
ory
context
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237356



--- Description ---
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



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