From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 06:49:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C98106564A for ; Sun, 13 Jul 2008 06:49:00 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from hrimail.hri.res.in (hrimail.hri.res.in [210.212.50.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2478FC12 for ; Sun, 13 Jul 2008 06:48:59 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from ipc2.mri.ernet.in (unknown [192.168.3.2]) by hrimail.hri.res.in (Postfix) with ESMTP id 6600B97E54; Sun, 13 Jul 2008 12:26:02 +0530 (IST) Received: from ipc2 (localhost [127.0.0.1]) by ipc2 (Postfix) with SMTP id AD32214C91; Sun, 13 Jul 2008 12:18:51 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id 7E21E14C23; Sun, 13 Jul 2008 12:18:51 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.6/8.13.6) with ESMTP id m6D6gTNl066895; Sun, 13 Jul 2008 12:12:29 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.6/8.13.6/Submit) id m6D6gFw7066894; Sun, 13 Jul 2008 12:12:15 +0530 (IST) (envelope-from raghu) From: "N. Raghavendra" To: perryh@pluto.rain.com In-Reply-To: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> (perryh@pluto.rain.com's message of "Sat, 12 Jul 2008 21:59:09 -0700") References: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Date: Sun, 13 Jul 2008 12:12:15 +0530 Message-ID: <86skuee14o.fsf@riemann.mri.ernet.in> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N. Raghavendra" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 06:49:00 -0000 At 2008-07-12T21:59:09-07:00, perryh@pluto.rain.com 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 raghu@griffin.campus.hri <<< 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 | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.