From owner-freebsd-ports@FreeBSD.ORG Thu Sep 11 01:42:14 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A9121065670 for ; Thu, 11 Sep 2008 01:42:14 +0000 (UTC) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: from mail1.riverwillow.net.au (ns1.riverwillow.net.au [203.58.93.40]) by mx1.freebsd.org (Postfix) with ESMTP id E3B328FC1C for ; Thu, 11 Sep 2008 01:42:13 +0000 (UTC) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id m8B1gCTd099353; Thu, 11 Sep 2008 11:42:12 +1000 (AEST) Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.2/8.14.2) with ESMTP id m8B1gCP8023862; Thu, 11 Sep 2008 11:42:12 +1000 (AEST) (envelope-from john@rwpc12.mby.riverwillow.net.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.2/8.14.2/Submit) id m8B1gBsb023861; Thu, 11 Sep 2008 11:42:11 +1000 (AEST) (envelope-from john) Date: Thu, 11 Sep 2008 11:42:11 +1000 From: John Marshall To: Morgan =?unknown-8bit?Q?Wesstr=F6m?= Message-ID: <20080911014211.GB23787@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: Morgan =?unknown-8bit?Q?Wesstr=F6m?= , "freebsd-ports@freebsd.org" References: <48C83139.7080303@pp.dyndns.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C83139.7080303@pp.dyndns.biz> User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://www.riverwillow.net.au/~john/pubkey.asc X-PGP-KeyID: 0xA29A84A2 Cc: "freebsd-ports@freebsd.org" Subject: Re: Trying to "make index" in a crontab job X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 01:42:14 -0000 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: -- John Marshall