Date: Thu, 14 Aug 2014 09:55:05 +0200 From: Michael Gmelin <freebsd@grem.de> To: Andrea Venturoli <ml@netfence.it> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: pkg periodic with proxy Message-ID: <D02CE582-1EF6-4B89-B6E5-03A560F16D5C@grem.de> In-Reply-To: <53EC5E02.9090209@netfence.it> References: <53EC5E02.9090209@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Aug 2014, at 08:58, Andrea Venturoli <ml@netfence.it> wrote: >=20 > Hello. >=20 > /usr/local/etc/periodic/security/410.pkg-audit is failing with: > >pkg: http://www.vuxml.org/freebsd/vuln.xml.bz2: Permission denied > >pkg: cannot fetch vulnxml file >=20 > The reason is that this machine needs to go through a proxy; in fact it wo= rks if I launch it manually (where I have HTTP_PROXY set). >=20 > How to deal with this without modifying the script itself? I worked around this here by setting HTTP_PROXY in /etc/crontab. You could also set it in /usr/local/etc/pkg.conf by using PKG_ENV. I didn't,= because I run my own repo and I only want a proxy for pkg audit. >=20 > bye & Thanks > av. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D02CE582-1EF6-4B89-B6E5-03A560F16D5C>