portmaster options

Polytropon freebsd at edvax.de
Fri Oct 12 13:51:33 UTC 2012


On Fri, 12 Oct 2012 13:42:10 +0000 (UTC), jb wrote:
> 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 :-)

But this?

# portmaster -L --index | egrep '(ew|ort) version|total install'
/tmp/d-87852-index/INDEX-9.bz2                100% of 1619 kB  125 kBps 00m00s
Terminated

This is with --index and _no_ ports collection in the default
location (example quoted from your message)...


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list