From owner-freebsd-questions@FreeBSD.ORG Sun Jul 29 09:06:59 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1B8916A417 for ; Sun, 29 Jul 2007 09:06:59 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 966C313C45B for ; Sun, 29 Jul 2007 09:06:59 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l6T96uec004729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Jul 2007 02:06:57 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l6T96ul9012377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 29 Jul 2007 02:06:56 -0700 Message-ID: <46AC58B0.6060808@u.washington.edu> Date: Sun, 29 Jul 2007 02:06:56 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Tobias Roth References: <46AC527F.4010305@fsck.ch> In-Reply-To: <46AC527F.4010305@fsck.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.29.14933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-questions@freebsd.org Subject: Re: portsnap from cron X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2007 09:06:59 -0000 Tobias Roth wrote: > Hi > > I run a daily portsnap from cron, using the following line: > > /usr/sbin/portsnap cron update > /dev/null 2>&1 ; > /usr/local/sbin/portversion -vL= > > > Until recently, I only received a mail when there were ports to upgrade. > However, now I get this every day, even when there are no new ports: > > [Updating the portsdb in /usr/ports ... - 17465 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.... > ..... done] > > > Any idea how to get rid of it? > > Thanks > That's not going to change until portversion changes. The problem is most likely that portsnap touches the file and portversion finds it necessary to update the portsdb. Processing the text from portversion will yield the info you want. Cheers, -Garrett