Trying to "make index" in a crontab job

Ion-Mihai Tetcu itetcu at FreeBSD.org
Thu Sep 11 18:09:19 UTC 2008


On Thu, 11 Sep 2008 11:42:11 +1000
John Marshall <john.marshall at riverwillow.com.au> wrote:

> On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote:
> > Is there a preferred way to update the 
> > ports source tree and create the index through crontab?
> 
> If your system is configured to use csup (or cvsup) to update your
> ports tree to the latest (ports-all tag=.), then you can fetch a
> pre-built index with "make fetchindex".
> 
> portsnap(8) updates the INDEX as well as the ports tree by default and
> might be a better solution for you.

Just that, in both cases one gets the default INDEX, as build for
default OPTIONS/KNOBS/... for all ports, hence it probably differs from
the one you'll generate locally.

As a suggestion for the OP:
ports-mgmt/p5-FreeBSD-Portindex


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080911/74a68f11/signature.pgp


More information about the freebsd-ports mailing list