Portmaster binary package upgrade question
dougb at FreeBSD.org
Fri Feb 10 23:14:04 UTC 2012
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
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.
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120210/16de3356/signature.pgp
More information about the freebsd-ports