From owner-freebsd-ports@FreeBSD.ORG Tue Jul 31 06:38:00 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F4B16A419; Tue, 31 Jul 2007 06:38:00 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2561213C465; Tue, 31 Jul 2007 06:38:00 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 430791A4D7C; Mon, 30 Jul 2007 23:37:39 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id 6628FBA22; Tue, 31 Jul 2007 02:37:59 -0400 (EDT) Date: Tue, 31 Jul 2007 02:37:59 -0400 From: Kris Kennaway To: rotkap@gmx.de Message-ID: <20070731063759.GA19731@rot26.obsecurity.org> References: <200707310307.l6V378Ca028454@app.auscert.org.au> <46AEC854.3070508@otenet.gr> <9n13o4-826.ln1@news.hansenet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9n13o4-826.ln1@news.hansenet.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: make install a port, but with a package? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 06:38:00 -0000 On Tue, Jul 31, 2007 at 08:32:58AM +0200, Heino Tiedemann wrote: > Manolis Kiagias wrote: > > > Make install will always compile from source. You could however use: > > > > setenv PACKAGESITE > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ > > > > or > > > > export > > PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ > > (if you use bash) > > > > and then do pkg_add, will get you latest packages build from the -STABLE > > ports. You don't even have to worry about specific version numbers (i.e. > > pkg_add -r bash instead of pkg_add -r bash-3.2.17_1) so this is a close > > to a "port tree simulation" as possible. The package may still be > > lagging a few versions behind the port however (or in some cases may not > > even exist). > > What about the variable PKG_SITES? > > Once I found (in sime wiki or howto) this entry: > > > export > PACKAGESITE=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ > export PKG_SITES=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/ > > > what about that variable PKG_SITES? what is it for? See pkg_add(1) kris