pkg periodic with proxy
Michael Gmelin
freebsd at grem.de
Thu Aug 14 08:02:26 UTC 2014
> On 14 Aug 2014, at 08:58, Andrea Venturoli <ml at netfence.it> wrote:
>
> Hello.
>
> /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
>
> The reason is that this machine needs to go through a proxy; in fact it works if I launch it manually (where I have HTTP_PROXY set).
>
> 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.
>
> bye & Thanks
> av.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports
mailing list