Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2008 11:42:11 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        Morgan =?unknown-8bit?Q?Wesstr=F6m?= <freebsd-ports@pp.dyndns.biz>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Trying to "make index" in a crontab job
Message-ID:  <20080911014211.GB23787@rwpc12.mby.riverwillow.net.au>
In-Reply-To: <48C83139.7080303@pp.dyndns.biz>
References:  <48C83139.7080303@pp.dyndns.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

The Handbook article on portsnap includes details on running portsnap
from cron:
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html>;

-- 
John Marshall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080911014211.GB23787>