Hmm, forgot to add list.

macintoshzoom <[EMAIL PROTECTED]>, 20080802:185921:
> I need an alternative to the default system fetch ftp used by pkg_add,
> something that could be socksified via dsocks, or that accepts to run
> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
> newsocksifiableftp", and that understands
> ${FETCH_CMD} -o - url (as per man pkg_add)
> 
> Any one had success here?
> 
> 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)
> 
> Can you help me?
> 
> Thanks.
> 
> Mac

machine$ grep FETCH_CMD /etc/mk.conf
FETCH_CMD="/usr/local/bin/ports-fetcher"
machine$ grep -A2 package_add .profile
package_add () {
sudo sh -c "env FETCH_CMD=/usr/local/bin/ports-fetcher 
PKG_PATH='http://YOUR_PKG_PATH/' pkg_add $*";
};
machine$ cat /usr/local/bin/ports-fetcher
#!/bin/sh
exec env http_proxy=http://127.0.0.1:8118/ https_proxy=http://127.0.0.1:8118/ 
ftp $*
machine$ grep -E '(forward-socks4a|listen-address)' /etc/privoxy/config
forward-socks4a / 127.0.0.1:9050 .
listen-address 127.0.0.1:8118
machine$


Hendrik

-- 
: There's nothing 23 can't solve.  Or any other number. :
: <[EMAIL PROTECTED]> http://www.patchworklady.de/ :
: TJiND/lVovg5Z8M/noZMwwo24FDwsj8lwk1zrAfzFms2silHvuCo :

Reply via email to