ftp alternative for pkg_add?

macintoshzoom macintoshzoom at lavabit.com
Wed Jul 30 09:17:45 PDT 2008


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)


Thanks.

Mac



More information about the Openbsd-newbies mailing list