On Wed, Jul 30, 2008 at 12:17 PM, macintoshzoom
<[EMAIL PROTECTED]> wrote:
> I need an alternative to the default system fetch ftp used by pkg_add,
> that could be socksified via dsocks,
> e.g. FETCH_CMD="dsocks-torify.sh newsocksifiableftp"
>
> Okay only passive ftp.
>
> BUT, as pkg_add man says, this alternative must:
> <<<<<<<
> man pkg_add :
> FETCH_CMD Override use of ftp(1). Must point to a command that
> understands ${FETCH_CMD} -o - url.
>>>>>>>>>>
> I like wget, BUT it don't understands the command -o as ftp, it uses -O
> instead I think, so wget can't be used as a straight replacement to ftp
> for pkg_add ... ? (unless tweaking the perl pkg_add code?)
>
> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
> server (tor).
> (dsocks-torify.sh ftp don't work)
>
What if you wrote a script that looked for -o that then called wget
with -O and used that for FETCH_CMD?
-Nick
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies