From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 23:14:04 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 4A7E0106566B; Fri, 10 Feb 2012 23:14:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 5470614F6D3; Fri, 10 Feb 2012 23:14:03 +0000 (UTC) Message-ID: <4F35A4BA.8050305@FreeBSD.org> Date: Fri, 10 Feb 2012 15:14:02 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0) Gecko/20120201 Thunderbird/10.0 MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <4F359E19.1040509@FreeBSD.org> In-Reply-To: <4F359E19.1040509@FreeBSD.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigECCAF32C59CB9E902DBE27C5" Cc: freebsd-ports Subject: Re: Portmaster binary package upgrade question 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: Fri, 10 Feb 2012 23:14:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigECCAF32C59CB9E902DBE27C5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/10/2012 14:45, Greg Larkin wrote: > Hi folks, >=20 > I'm in the midst of building a system to use Tinderbox and FreeBSD jail= s > to keep them up to date as new port updates are committed to the tree. >=20 > I created some meta-ports in /usr/ports/local/misc to record > dependencies and be able to install one top-level port that pulls in al= l > other required ports. >=20 > I'm now testing the ability to run an upgrade with portmaster once a ne= w > package set is built, and I'm using this command: >=20 > pkgtester# env INDEXDIR=3D/tmp > MASTER_SITE_INDEX=3Dhttp://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-S= HN-201202101009/Latest/ > PACKAGESITE=3Dhttp://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201= 202101009/Latest/ You probably want to put these in a portmaster rc file. Also to avoid code duplication you can set the first then use PACKAGESITE=3D$MASTER_SITE_INDEX. The /Latest is going to get stripped of= f anyway. And are you really putting your INDEX file in /Latest/ ?? > portmaster -PP -v --update-if-newer The --update-if-newer flag is only useful if you're feeding portmaster a list of ports, some of which are already up to date. > --index-only server-web\* >=20 > =3D=3D=3D>>> Currently installed version: server-web-0.201202071358 > =3D=3D=3D>>> Port directory: /usr/ports/local/misc/server-web You can't do 5 levels of port directories. Either leave out the category below local, or name the categories local-misc, local-foo, local-bar, etc= =2E hth, Doug --=20 It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ --------------enigECCAF32C59CB9E902DBE27C5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJPNaS6AAoJEFzGhvEaGryEZAYH/2cUvI7h0KYXr/PhRz8aj0zM Dmx+oXkH9GUiLLZoz/miX0bKDsqk5EttmWhY+RtlgJ7ry486g2OoNWKn0eQBKV7I bxjGxU/MIII6ENcWchZOqeA7z5hE3/gc4BkQNlfucAGjAjeCAuEofzBzd0cUKVrm rLB13hG+HhoBhciFsXmK/tbGTvOhuzgcbxa7pdVDrXMhYNFw2r+Mtwqnx4rW1Mn3 p8iEmSXhR+nhxmen3SfzsCIUfcqqzh1n2HrMx1kJZsOJX7EsisBH1AX5TgR50yl9 OxAHMgAkfxwbYICJrFG7611Za9x4xLDpvox6fg9eK9fxV1+MWKUdILk951+yl8s= =xQh7 -----END PGP SIGNATURE----- --------------enigECCAF32C59CB9E902DBE27C5--