At 2008-07-12T21:59:09-07:00, [EMAIL PROTECTED] wrote:

> Can someone provide a correct example of setting PACKAGESITE so that
> pkg_add will find the 7-stable packages for i386?  I have tried
>
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/

You could use the `-r' option of pkg_add(1) to enable remote fetching.

% setenv PACKAGESITE 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/'

% pkg_add -rv expat
scheme:   [ftp]
user:     []
password: []
host:     [ftp.freebsd.org]
port:     [0]
document: [/pub/FreeBSD/ports/i386/packages-7-stable/Latest/expat.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 Welcome to freebsd.isc.org.
>>> USER anonymous
<<< 331 Please specify the password.
>>> PASS [EMAIL PROTECTED]
<<< 230 Login successful.
>>> PWD
<<< 257 "/"
>>> CWD pub/FreeBSD/ports/i386/packages-7-stable/Latest
<<< 250 Directory successfully changed.
>>> MODE S
<<< 200 Mode set to S.
>>> TYPE I
<<< 200 Switching to Binary mode.
setting passive mode
>>> PASV
<<< 227 Entering Passive Mode (204,152,184,73,88,54)
opening data connection
initiating transfer
>>> RETR expat.tbz
<<< 150 Opening BINARY mode data connection for expat.tbz (148302 bytes).
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/expat.tbz...

Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to