Date: Sun, 26 Feb 2012 13:45:12 -0500 From: Michael Scheidell <scheidell@FreeBSD.org> To: <freebsd-ports@freebsd.org> Subject: Re: portupgrade -> portmaster Rosetta Stone? Message-ID: <4F4A7DB8.4020402@FreeBSD.org> In-Reply-To: <wp1upheepu.fsf@heho.snv.jussieu.fr> References: <CA%2BE3k93doEmK7YpiZLgBCB5WUmOeCCLLLQBak_-Nx8sGqiafhQ@mail.gmail.com> <4F49354C.1050803@infracaninophile.co.uk> <wp1upheepu.fsf@heho.snv.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/26/12 11:34 AM, Arno J. Klaassen wrote: > > Hello, > > > I used to do (in bash root-shell) : > > # BATCH=yes http_proxy=http://1.2.3.4:5 > [ ... ] portupgrade -R foo > > > this doesn't seem to work in portmaster (nor does defining BATCH=yes > in /etc/make.conf ). > new user of portmaster, and I hope my answer isn't just making noise. I mostly use it on remote systems without a ports tree or source to pull in pre-compiled packages, so maybe I don't have anything intellegent to say. (made in a tinderbox, with env variables in ../tb/scripts/env/etc). I do think I like portmaster more than portupgrade. it was kinda funny watching what happens with portupgrade when you upgraded ruby :-) and, trying to keep pkgdb -Fa/-Fu, -Fuped in sync was maddening. anyway, back to your issue. 'man portmaster' shows this option (which was an option to portupgrade as well: [-m arguments for make] so, maybe portupgrade -R foo -m'BATCH=yes http_proxy=http://1.2.3.4:5' (if you have more than one env variable you might need the single quotes) I remember interesting things I needed to do with the -m in portupgrade also, don't remember if just '-m-DBATCH' or '-mBATCH=yes' was right. Also, surprised that env in make.conf didn't do it. one more experiment (I have not tried).. what about /usr/local/etc/portmaster.rc? -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4A7DB8.4020402>