From owner-freebsd-ports@FreeBSD.ORG Tue Nov 2 13:24:16 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BCCF16A5BB for ; Tue, 2 Nov 2004 13:24:16 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A16943D53 for ; Tue, 2 Nov 2004 13:24:15 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) iA2DO8gO096995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Nov 2004 13:24:08 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iA2DO8ec096994; Tue, 2 Nov 2004 13:24:08 GMT (envelope-from matthew) Date: Tue, 2 Nov 2004 13:24:08 +0000 From: Matthew Seaman To: Angelo Turetta Message-ID: <20041102132408.GA96721@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Angelo Turetta , freebsd-ports@freebsd.org References: <20041022153854.GA88362@happy-idiot-talk.infracaninophile.co.uk> <20041023111251.GA21742@happy-idiot-talk.infracaninophile.co.uk> <20041030225107.GA65879@happy-idiot-talk.infracaninophile.co.uk> <41877299.9090903@commit.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <41877299.9090903@commit.it> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 02 Nov 2004 13:24:08 +0000 (GMT) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-ports@freebsd.org Subject: Re: portindex -- the second coming. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 13:24:16 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 02, 2004 at 12:42:17PM +0100, Angelo Turetta wrote: > Matthew Seaman wrote: > >Slightly later than planned (real life getting in the way I'm afraid), > >here's the third (and I hope final) beta version: > > > > http://www.infracaninophile.co.uk/portindex/portindex-0.3.tar.bz2 > > > >This incorporates various bug fixes and feedback from earlier versions. >=20 > May I suggest trying to read as many settings as possible from=20 > /usr/local/etc/pkgtools.conf? >=20 > I'm thinking mainly about MAKE_ARGS (that most often change the=20 > dependency lists of specific ports) and the various system paths: >=20 > (quoting from pkgtools.conf) > # ENV['PORTSDIR'] ||=3D '/usr/ports' > # ENV['PORTS_INDEX'] ||=3D ENV['PORTSDIR'] + '/INDEX' > # ENV['PORTS_DBDIR'] ||=3D ENV['PORTSDIR'] >=20 > The latter can (and should) also be set as make.conf or environment=20 > variables, but anyway the tool should take the issue into account one=20 > way or the other. >=20 > The reason for this request is to simplify the maintenance of a single=20 > ports repository NFS-mounted from various architecures/OS versions. Interesting idea. I can't promise to implement anything like that very soon, but I'll certainly keep it in mind. Although it might be easier to re-implement what I've done in Ruby and amalgamate it into the portupgrade(1) suite. As all the Ruby I know is from reading (some of) the on-line 'Programming Ruby' book at www.ruby-lang.org I'm probably not the best person to do that. Making things like 'PORTSDIR' configurable is very high on the to-do list: at the moment, the assumption is that the ports live in /usr/ports. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBh4p4iD657aJF7eIRAhfgAJ0Tl0t+da7fijqazROo/WWSReq6/ACgruny xmQUwMMVqCtXYlLjq3BFPZQ= =iC6I -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--