Date: Fri, 10 Feb 2012 15:14:02 -0800 From: Doug Barton <dougb@FreeBSD.org> To: glarkin@FreeBSD.org Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Portmaster binary package upgrade question Message-ID: <4F35A4BA.8050305@FreeBSD.org> In-Reply-To: <4F359E19.1040509@FreeBSD.org> References: <4F359E19.1040509@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F35A4BA.8050305>