Re: pkg_add with http?

2007-03-12 Thread Martin Schröder
2007/3/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: pkg_add does all of this for you - without the need for a separate FETCH_CMD or enclosing PKG_PATH in quotes. The quotes are from export. then you only need to do each time: pkg_add -iv pkgname it will be downloaded/installed as

Re: pkg_add with http?

2007-03-12 Thread Stuart Henderson
Aha. And why doesn't it work? Because it fetches a directory listing.

pkg_add with http?

2007-03-11 Thread Martin Schröder
Hi, how can I make pkg_add work with http? I already have PKG_PATH=http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.0/packages/i386/; FETCH_CMD=/usr/local/bin/wget but pkg_add -v doesn't work. Best Martin

Re: pkg_add with http?

2007-03-11 Thread Reyk Floeter
On Sun, Mar 11, 2007 at 05:07:06PM +0100, Martin Schr?der wrote: Hi, how can I make pkg_add work with http? I already have PKG_PATH=http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.0/packages/i386/; FETCH_CMD=/usr/local/bin/wget but pkg_add -v doesn't work. why wget? use ftp(1); it supports

Re: pkg_add with http?

2007-03-11 Thread Martin Schröder
2007/3/11, Reyk Floeter [EMAIL PROTECTED]: why wget? use ftp(1); it supports FTP, HTTP, and HTTPS. - sudo pkg_add -iv wdiff Error from http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.0/packages/i386/: ftp: Writing -: Broken pipe Can't find wdiff-0.5 /usr/sbin/pkg_add:

Re: pkg_add with http?

2007-03-11 Thread scorch
John Brooks wrote: first manually download the package to your machine via ftp. then run pkg_add against the file you just downloaded. if something doesn't work, you'll know exactly which part is failing. -- John Brooks [EMAIL PROTECTED] Hi, how can I make pkg_add work with http? I already