portmaster options

jb jb.1234abcd at gmail.com
Fri Oct 12 13:42:31 UTC 2012


RW <rwmaillists <at> googlemail.com> writes:

> 
> On Fri, 12 Oct 2012 04:35:43 +0000 (UTC)
> jb wrote:
> 
> > Hi,
> > what is the diff between
> > --index
> > and
> > --index-only
> 
> From a *very* quick look, it appears that --index-only means don't use
> the the port-directory at all, so that the index file is downloaded
> into /tmp, and some checks and optimizations are skipped or done
> less efficiently.  
> ...

# ls -al /usr/ports/
...
-rw-r--r--     1 root  wheel  26881412 Oct 12 07:47 INDEX-7
-rw-r--r--     1 root  wheel  26765446 Oct 12 07:47 INDEX-8
-rw-r--r--     1 root  wheel  26715339 Oct 12 13:28 INDEX-9
-rw-r--r--     1 root  wheel   1658547 Oct 12 12:01 INDEX-9.bz2
...
#

# find /tmp -name "*INDEX*"

# portmaster -L --index-only | egrep '(ew|ort) version|total install'
	===>>> New version available: smartmontools-5.43_1
===>>> 618 total installed ports
	===>>> 1 has a new version available

# find /tmp -name "*INDEX*"

Nope :-)
jb








More information about the freebsd-questions mailing list