On 02/10/2012 14:45, Greg Larkin wrote: > Hi folks, > > I'm in the midst of building a system to use Tinderbox and FreeBSD jails > to keep them up to date as new port updates are committed to the tree. > > 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 all > other required ports. > > I'm now testing the ability to run an upgrade with portmaster once a new > package set is built, and I'm using this command: > > pkgtester# env INDEXDIR=/tmp > MASTER_SITE_INDEX=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/Latest/ > PACKAGESITE=http://pkgbuilder.shn.prv/tb/packages/8.2-FreeBSD-SHN-201202101009/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=$MASTER_SITE_INDEX. The /Latest is going to get stripped off 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\* > > ===>>> Currently installed version: server-web-0.201202071358 > ===>>> 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. hth, Doug -- 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/
signature.asc
Description: OpenPGP digital signature